/* ==========================================================
   Vallen Barbearia — paleta baseada na identidade do Instagram:
   preto profundo, marfim do "V" e luz quente em bronze.
   ========================================================== */
:root {
  --black: #0B0A09;
  --black-2: #131110;
  --black-3: #1C1916;
  --line: rgba(236, 230, 220, 0.12);
  --ivory: #ECE6DC;
  --ivory-dim: rgba(236, 230, 220, 0.62);
  --bronze: #B98A55;
  --bronze-light: #D6AE7B;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 2px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; }
p { margin: 0; }
::selection { background: var(--bronze); color: var(--black); }

.container { width: min(1180px, 100% - 3rem); margin-inline: auto; }
.muted { color: var(--ivory-dim); }

.eyebrow {
  font-size: .72rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--bronze-light);
  font-weight: 500;
}
.section-number {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ivory-dim);
  font-size: 1rem;
  margin-bottom: .5rem;
}
.section-title { font-size: clamp(2.1rem, 4.6vw, 3.6rem); margin-top: 1rem; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 1rem 2rem;
  background: var(--ivory);
  color: var(--black);
  border: 1px solid var(--ivory);
  border-radius: var(--radius);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { background: var(--bronze-light); border-color: var(--bronze-light); }
.btn--ghost { background: transparent; color: var(--ivory); border-color: var(--line); }
.btn--ghost:hover { background: transparent; border-color: var(--bronze-light); color: var(--bronze-light); }
.btn--small { padding: .7rem 1.3rem; font-size: .7rem; }
.btn:focus-visible, .nav a:focus-visible, .link-arrow:focus-visible { outline: 1px solid var(--bronze-light); outline-offset: 4px; }

.link-arrow {
  display: inline-flex;
  gap: .6rem;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bronze-light);
  border-bottom: 1px solid currentColor;
  padding-bottom: .3rem;
}
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  transition: background .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(11, 10, 9, .86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: .8rem; }
.brand__mark { width: 30px; height: auto; }
.brand__name {
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1;
  display: flex;
  flex-direction: column;
}
.brand__name small {
  font-family: var(--sans);
  font-size: .55rem;
  letter-spacing: .45em;
  color: var(--ivory-dim);
  margin-top: .3rem;
}

.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav a:not(.btn) {
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  transition: color .3s;
}
.nav a:not(.btn):hover { color: var(--ivory); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
  position: relative; z-index: 60;
}
.nav-toggle span {
  position: absolute; left: 10px; right: 10px; height: 1px;
  background: var(--ivory);
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 26px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 6rem;
  overflow: hidden;
  isolation: isolate;
}
.hero__glow {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(40% 50% at 78% 30%, rgba(214, 174, 123, .22), transparent 70%),
    radial-gradient(30% 35% at 92% 80%, rgba(185, 138, 85, .14), transparent 70%),
    radial-gradient(25% 30% at 15% 90%, rgba(185, 138, 85, .08), transparent 70%),
    var(--black);
}
.hero__mark {
  position: absolute; z-index: -1;
  right: -4vw; top: 50%;
  width: min(62vw, 760px);
  transform: translateY(-48%);
  opacity: .07;
}
.hero__content { max-width: 1180px; }
.hero__title {
  font-size: clamp(3rem, 9vw, 7.4rem);
  font-weight: 400;
  letter-spacing: -.01em;
  margin: 1.6rem 0 1.8rem;
  max-width: 13ch;
}
.hero__title em { color: var(--bronze-light); font-style: italic; }
.hero__text { max-width: 46ch; font-size: 1.08rem; color: var(--ivory-dim); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.8rem; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 2rem;
  width: 1px; height: 56px;
  background: var(--line);
  overflow: hidden;
}
.hero__scroll span {
  position: absolute; left: 0; top: -50%;
  width: 1px; height: 50%;
  background: var(--bronze-light);
  animation: scroll-line 2.2s var(--ease) infinite;
}
@keyframes scroll-line { to { top: 100%; } }

/* ---------- Seções ---------- */
.section { padding: clamp(5rem, 11vw, 9rem) 0; position: relative; }
.section--alt { background: var(--black-2); border-block: 1px solid var(--line); }
.section-head { margin-bottom: clamp(3rem, 6vw, 4.5rem); }

/* Sobre */
.about { display: grid; grid-template-columns: 1fr 2.4fr; gap: 3rem; }
.about__body > p { font-size: 1.1rem; color: var(--ivory-dim); max-width: 60ch; margin-top: 2rem; }
.pillars {
  list-style: none; padding: 0; margin: 3.5rem 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.pillars li { padding: 1.8rem 1.5rem 0 0; display: flex; flex-direction: column; gap: .5rem; }
.pillars li + li { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.pillars strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
.pillars span { color: var(--ivory-dim); font-size: .92rem; }

/* Serviços */
.services { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.service {
  padding: 2.5rem 2rem 2.5rem 0;
  border-bottom: 1px solid var(--line);
  transition: background .4s var(--ease);
}
.service + .service { padding-left: 2rem; border-left: 1px solid var(--line); }
.service__index { font-family: var(--serif); font-style: italic; color: var(--bronze-light); font-size: 1.1rem; }
.service h3 { font-size: 1.9rem; margin: 2.5rem 0 1rem; }
.service p { color: var(--ivory-dim); font-size: .95rem; }
.services__cta {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 1.5rem; margin-top: 3rem;
}
.services__cta p { color: var(--ivory-dim); }

.prices { margin-top: clamp(3rem, 6vw, 4.5rem); }
.prices__title { font-size: 2rem; margin-bottom: 1.5rem; }
.prices__list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 4rem; }
.prices__list li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.prices__list a { display: flex; align-items: baseline; gap: 1rem; padding: 1rem 0; transition: color .3s; }
.prices__list a:hover { color: var(--bronze-light); }
.prices__name { flex: 1; }
.prices__name small { display: block; color: var(--ivory-dim); font-size: .8rem; }
.prices__value { font-family: var(--serif); font-size: 1.35rem; white-space: nowrap; }
@media (max-width: 760px) { .prices__list { columns: 1; } }

/* Experiência */
.experience { overflow: hidden; isolation: isolate; }
.experience__glow {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(45% 60% at 10% 40%, rgba(185, 138, 85, .12), transparent 70%);
}
.statement {
  margin: 0 0 clamp(4rem, 8vw, 6rem);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.9rem, 4.4vw, 3.4rem);
  line-height: 1.2;
  max-width: 24ch;
}
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.steps li { border-top: 1px solid var(--bronze); padding-top: 1.5rem; }
.steps span { font-size: .75rem; letter-spacing: .25em; color: var(--bronze-light); }
.steps h3 { font-size: 1.6rem; margin: .8rem 0 .6rem; }
.steps p { color: var(--ivory-dim); font-size: .93rem; }

/* Depoimentos */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.review {
  margin: 0;
  padding: 2.5rem 2rem;
  background: var(--black-3);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem;
  position: relative;
}
.review::before {
  content: "“";
  position: absolute; top: .4rem; right: 1.5rem;
  font-family: var(--serif); font-size: 5rem; line-height: 1;
  color: var(--bronze); opacity: .35;
}
.review blockquote { margin: 0; font-family: var(--serif); font-size: 1.5rem; line-height: 1.35; }
.review figcaption { font-size: .85rem; font-weight: 500; letter-spacing: .06em; display: flex; flex-direction: column; gap: .2rem; }
.review figcaption span { font-weight: 300; color: var(--ivory-dim); font-size: .78rem; }

/* CTA */
.cta {
  padding: clamp(5rem, 10vw, 8rem) 0;
  text-align: center;
  background:
    radial-gradient(50% 80% at 50% 100%, rgba(214, 174, 123, .18), transparent 70%),
    var(--black);
  border-bottom: 1px solid var(--line);
}
.cta__inner { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.cta__mark { width: 48px; opacity: .9; }
.cta h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 400; }

/* Contato */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: stretch; }
.contact__list { margin: 0; display: grid; gap: 1.8rem; }
.contact__list div { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.contact__list dt { font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: var(--bronze-light); margin-bottom: .5rem; }
.contact__list dd { margin: 0; font-size: 1.08rem; }
.contact__list dd .muted { font-size: .9rem; }
.contact__list a { border-bottom: 1px solid var(--line); transition: border-color .3s; }
.contact__list a:hover { border-color: var(--bronze-light); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }
.contact__map { min-height: 420px; border: 1px solid var(--line); background: var(--black-3); }
.contact__map iframe {
  width: 100%; height: 100%; min-height: 420px; border: 0; display: block;
  filter: grayscale(1) invert(.92) contrast(.9) brightness(.95);
}

/* Footer */
.footer { padding: 2.5rem 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer__copy { font-size: .8rem; color: var(--ivory-dim); }
.footer__social {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  transition: border-color .3s, color .3s;
}
.footer__social:hover { border-color: var(--bronze-light); color: var(--bronze-light); }

/* WhatsApp flutuante */
.whatsapp {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ivory); color: var(--black);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  transition: transform .3s var(--ease), background .3s;
}
.whatsapp:hover { transform: translateY(-3px); background: var(--bronze-light); }

/* Animação de entrada */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll span { animation: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .service:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; }
  .reviews { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center; gap: 2rem;
    background: var(--black);
    opacity: 0; visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav a:not(.btn) { font-family: var(--serif); font-size: 2rem; letter-spacing: .04em; text-transform: none; color: var(--ivory); }
  .nav .btn--small { padding: 1rem 2rem; font-size: .78rem; margin-top: 1rem; }

  .about { grid-template-columns: 1fr; gap: 0; }
  .pillars { grid-template-columns: 1fr; }
  .pillars li { padding: 1.5rem 0; }
  .pillars li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .contact { grid-template-columns: 1fr; }
  .hero__mark { width: 110vw; right: -35vw; opacity: .06; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 2rem); }
  .services, .steps { grid-template-columns: 1fr; }
  .service, .service + .service { padding: 2rem 0; border-left: 0; }
  .service h3 { margin-top: 1.2rem; }
  .hero__actions .btn { width: 100%; }
  .contact__actions .btn { flex: 1; }
  .footer__inner { flex-direction: column; text-align: center; }
}
