/* =========================================================
   FINO TRATO BARBEARIA — style.css
   Mobile-first. Breakpoints: 768px (tablet), 1024px (desktop nav), 1280px (wide)
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Fino Trato: preto do logo, latão envelhecido e marfim */
  --bg: #0B0B0B;
  --bg-alt: #151310;
  --surface: #151310;
  --line: #2B2722;
  --line-strong: #3E3831;
  --primary: #C9A45C;
  --primary-hover: #DBBA78;
  --on-primary: #0B0B0B;
  --gold: #E6DCC6;
  --text: #F3EEE4;
  --muted: #A8A094;

  --font-display: "Oswald", "Arial Narrow", Arial, sans-serif;
  --font-title: "Rye", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --header-h: 68px;
  --container: 1200px;
  --gutter: 16px;
  --radius: 4px;
  --section-y: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --section-y: 96px; --header-h: 76px; }
}
@media (min-width: 1280px) {
  :root { --section-y: 120px; }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: .02em;
  text-transform: uppercase;
}

p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--on-primary); }

/* Placeholder de conteúdo a substituir — propositalmente chamativo */
.ph {
  display: inline;
  padding: 0 .3em;
  background: rgba(201, 164, 92, .12);
  border: 1px dashed rgba(201, 164, 92, .6);
  border-radius: 2px;
  color: var(--primary);
  font-family: var(--font-body);
  font-size: .9em;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); --surface: #0B0B0B; }

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head--left { margin-inline: 0; text-align: left; }
.section-head p { color: var(--muted); margin: 0; }

.section-title {
  font-size: clamp(2rem, 6vw, 3.25rem);
  color: var(--primary);
}

/* Eyebrow com linhas finas (inspirado no separador do logo) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.section-head--left .eyebrow::before { display: none; }

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--line-strong) 20%, var(--line-strong) 80%, transparent);
}

.section-foot { margin-top: 48px; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--primary:hover { background: var(--primary-hover); color: var(--on-primary); }

.btn--ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }

.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .85rem; }
.btn--block { width: 100%; }

.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .9rem;
}
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 11, 11, .92);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.site-header.is-scrolled {
  background: rgba(11, 11, 11, .98);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
}

.brand { position: relative; z-index: 2; display: inline-flex; align-items: center; }
.brand img { height: 52px; width: auto; }
@media (min-width: 768px) { .brand img { height: 62px; } }

.header-actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-cta { min-height: 40px; padding: 8px 16px; font-size: .8rem; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--text);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Menu mobile: overlay em tela cheia */
.site-nav {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility 0s linear .3s;
  overflow-y: auto;
}
.nav-open .site-nav {
  opacity: 1;
  visibility: visible;
  transition: opacity .3s var(--ease), visibility 0s;
}

.nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.nav-list a {
  display: block;
  padding: 8px 16px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 8vw, 2.5rem);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
}
.nav-list a:hover { color: var(--primary); }
.nav-list a[aria-current="page"] { color: var(--primary); }

.nav-overlay-cta { min-width: 240px; }

@media (min-width: 1024px) {
  .nav-toggle, .nav-overlay-cta { display: none; }

  .site-nav {
    position: static;
    flex-direction: row;
    gap: 0;
    padding: 0;
    background: none;
    opacity: 1;
    visibility: visible;
    overflow: visible;
    margin-left: auto;
  }
  .nav-list { flex-direction: row; gap: 4px; }
  .nav-list a {
    position: relative;
    padding: 8px 12px;
    font-size: .9rem;
    letter-spacing: .14em;
    color: var(--muted);
  }
  .nav-list a::after {
    content: "";
    position: absolute;
    left: 12px; right: 12px; bottom: 2px;
    height: 1px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform .25s var(--ease);
  }
  .nav-list a:hover { color: var(--text); }
  .nav-list a:hover::after,
  .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-list a[aria-current="page"] { color: var(--text); }

  .header-actions { margin-left: 16px; }
  .header-cta { min-height: 44px; padding: 10px 22px; font-size: .85rem; }
}

main { display: block; }

/* ---------- Hero (início) ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  min-height: 100vh;
  padding: calc(var(--header-h) + 48px) 0 72px;
  overflow: hidden;
  isolation: isolate;
}
@supports (min-height: 100svh) { .hero { min-height: min(100svh, 900px); } }

.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,11,11,.55) 0%, rgba(11,11,11,.7) 55%, #0B0B0B 100%),
    rgba(11,11,11,.35);
}

.hero-content { max-width: 760px; }
.hero .eyebrow { flex-wrap: wrap; gap: 8px 14px; }
.hero .eyebrow::before { display: none; }
.hero-title {
  font-size: clamp(2.75rem, 12vw, 6rem);
  font-weight: 500;
  line-height: .98;
  margin-bottom: 24px;
}
.hero-title span { display: block; color: var(--primary); }
.hero-text {
  max-width: 520px;
  margin-bottom: 32px;
  font-size: 1.0625rem;
  color: #D0D0D0;
}
.hero .btn-group .btn { flex: 1 1 220px; }
@media (min-width: 768px) {
  .hero { align-items: center; padding-bottom: 96px; }
  .hero .btn-group .btn { flex: 0 0 auto; }
}

/* Cabeçalho das páginas internas */
.page-hero {
  padding: calc(var(--header-h) + 56px) 0 56px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,164,92,.07), transparent 60%),
    var(--bg);
}
.page-hero h1 {
  font-size: clamp(2.5rem, 9vw, 4.5rem);
  color: var(--primary);
  margin-bottom: 12px;
}
.page-hero p { max-width: 560px; margin: 0 auto; color: var(--muted); }
@media (min-width: 768px) { .page-hero { padding: calc(var(--header-h) + 80px) 0 80px; } }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 20px; }
@media (min-width: 768px) {
  .grid { gap: 24px; }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Cards ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s, transform .25s var(--ease);
}
.card:hover { border-color: var(--line-strong); }

.card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  color: var(--gold);
}
.card-icon svg { width: 100%; height: 100%; }
.card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.card p { color: var(--muted); }
.card-price {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary);
}
.card-price small { font-size: .8rem; color: var(--muted); letter-spacing: .1em; }

/* Diferenciais */
.feature {
  display: flex;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.feature-icon { flex: none; width: 32px; height: 32px; color: var(--gold); }
.feature-icon svg { width: 100%; height: 100%; }
.feature h3 { font-size: 1.2rem; margin-bottom: 4px; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Serviços (lista tipo menu) ---------- */
.service-list { border-top: 1px solid var(--line); }
.service {
  display: grid;
  gap: 16px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.service-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.service-name { margin: 0; font-size: clamp(1.4rem, 5vw, 1.75rem); }
.service-leader {
  flex: 1;
  min-width: 24px;
  border-bottom: 1px dotted var(--line-strong);
  transform: translateY(-6px);
}
.service-price {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 5vw, 1.6rem);
  color: var(--primary);
  white-space: nowrap;
}
.service-desc { margin: 0; color: var(--muted); }
.service-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  color: var(--muted);
}
.service-meta svg { width: 16px; height: 16px; color: var(--gold); }
.service-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
@media (min-width: 768px) {
  .service {
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 48px;
    padding: 32px 0;
  }
  .service-body { display: grid; gap: 10px; }
  .service-foot { flex-direction: column; align-items: flex-end; justify-content: center; }
}

.note {
  margin-top: 32px;
  font-size: .875rem;
  color: var(--muted);
  text-align: center;
}

/* ---------- Equipe ---------- */
.team-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.team-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #1A1A1A;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.25);
  transition: transform .6s var(--ease), filter .4s;
}
.team-card:hover .team-photo img { transform: scale(1.03); filter: none; }
.team-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  padding: 24px;
}
.team-body h3 { font-size: 1.6rem; margin: 0; }
.team-role { margin: 0; color: var(--muted); }
.team-ig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 4px 0 16px;
  font-size: .9rem;
}
.team-ig svg { width: 18px; height: 18px; }
.team-body .btn { margin-top: auto; }

/* ---------- Planos ---------- */
.plans { align-items: stretch; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 28px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.plan--featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary) inset;
}
.plan-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 6px 16px;
  background: var(--primary);
  color: var(--on-primary);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
}
.plan-name { font-size: 1.6rem; margin-bottom: 16px; }
.plan-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.plan-price strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--primary);
}
.plan-price > span { color: var(--muted); font-size: .9rem; }
.plan-features { display: grid; gap: 10px; margin-bottom: 20px; }
.plan-features li {
  position: relative;
  padding-left: 28px;
}
.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 700;
}
.plan-rules {
  margin: 0 0 24px;
  font-size: .8rem;
  line-height: 1.55;
  color: var(--muted);
}
.plan .btn { margin-top: auto; }
@media (min-width: 768px) {
  .plans.grid--3 { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}
@media (min-width: 1024px) {
  .plans.grid--3 { grid-template-columns: repeat(3, 1fr); max-width: none; }
  .plan--featured { top: -12px; }
}
.plans { row-gap: 36px; }

/* FAQ (accordion) */
.faq { max-width: 800px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--primary);
  transition: transform .25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--primary); }
.faq-answer { padding: 0 4px 22px; color: var(--muted); }
.faq-answer p:last-child { margin: 0; }

/* ---------- Galeria ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}
.filter-btn {
  min-height: 44px;
  padding: 8px 20px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: .85rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: border-color .2s, color .2s, background-color .2s;
}
.filter-btn:hover { border-color: var(--primary); color: var(--text); }
.filter-btn[aria-pressed="true"] {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
}

.masonry { column-count: 2; column-gap: 12px; }
@media (min-width: 768px) { .masonry { column-count: 3; column-gap: 16px; } }
@media (min-width: 1280px) { .masonry { column-gap: 20px; } }

.gallery-item {
  margin: 0 0 12px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}
@media (min-width: 768px) { .gallery-item { margin-bottom: 16px; } }
@media (min-width: 1280px) { .gallery-item { margin-bottom: 20px; } }
.gallery-item[hidden] { display: none; }

.gallery-btn,
.gallery-link {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #1A1A1A;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
}
.gallery-link { cursor: pointer; }
.gallery-btn img,
.gallery-link img {
  width: 100%;
  transition: transform .6s var(--ease), opacity .3s;
}
.gallery-btn::after,
.gallery-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  border-radius: inherit;
  transition: border-color .25s;
  pointer-events: none;
}
.gallery-btn:hover img,
.gallery-link:hover img { transform: scale(1.03); }
.gallery-btn:hover::after,
.gallery-link:hover::after { border-color: var(--primary); }

/* Prévia da galeria na home: grid regular */
.gallery-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.gallery-preview .gallery-link { aspect-ratio: 1; }
.gallery-preview img { height: 100%; object-fit: cover; }
@media (min-width: 768px) {
  .gallery-preview { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 64px 12px;
  background: rgba(5, 5, 5, .96);
  touch-action: pan-y;
}
.lightbox[hidden] { display: none; }
.lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 100%;
}
.lightbox-img {
  max-width: min(100%, 1100px);
  max-height: calc(100vh - 160px);
  max-height: calc(100svh - 160px);
  width: auto;
  object-fit: contain;
  border-radius: var(--radius);
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox-caption {
  font-size: .875rem;
  color: var(--muted);
  text-align: center;
}
.lightbox-counter {
  position: absolute;
  top: 18px;
  left: 20px;
  font-family: var(--font-display);
  letter-spacing: .16em;
  color: var(--muted);
}
.lightbox-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: rgba(21, 21, 21, .85);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.lightbox-btn:hover { border-color: var(--primary); color: var(--primary); }
.lightbox-btn svg { width: 20px; height: 20px; }
.lightbox-close { top: 10px; right: 12px; }
.lightbox-prev,
.lightbox-next { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 8px; }
.lightbox-next { right: 8px; }
@media (max-width: 767px) {
  .lightbox-prev, .lightbox-next { top: auto; bottom: 12px; transform: none; }
  .lightbox-prev { left: calc(50% - 60px); }
  .lightbox-next { right: calc(50% - 60px); }
}
@media (min-width: 768px) {
  .lightbox { padding: 72px 88px; }
  .lightbox-prev { left: 24px; }
  .lightbox-next { right: 24px; }
  .lightbox-close { top: 16px; right: 24px; }
}

/* ---------- Contato ---------- */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
}

.info-block + .info-block { margin-top: 36px; }
.info-block h2 {
  font-size: 1.1rem;
  letter-spacing: .2em;
  color: var(--gold);
  margin-bottom: 12px;
}
.info-block address { font-style: normal; font-size: 1.05rem; }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th,
.hours-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-weight: 400;
}
.hours-table td { text-align: right; color: var(--muted); }
.hours-table tr.is-today th,
.hours-table tr.is-today td { color: var(--primary); }
.hours-table tr.is-today th::after {
  content: " · hoje";
  font-size: .8rem;
  letter-spacing: .1em;
}

.contact-actions { display: grid; gap: 12px; margin-top: 32px; }
@media (min-width: 560px) { .contact-actions { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .contact-actions { grid-template-columns: 1fr; } }
@media (min-width: 1280px) { .contact-actions { grid-template-columns: repeat(3, 1fr); } }
.contact-actions .btn { padding-inline: 16px; }

.form-card {
  padding: 32px 24px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
@media (min-width: 768px) { .form-card { padding: 40px; } }
.form-card h2 { font-size: 1.75rem; color: var(--primary); }
.form-card > p { color: var(--muted); }

.field { display: grid; align-content: start; gap: 8px; margin-bottom: 20px; }
.field label {
  font-family: var(--font-display);
  font-size: .85rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--text);
  font: inherit;
  transition: border-color .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #8A8A8A; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.field [aria-invalid="true"] { border-color: #E07A6A; }
.field-error { min-height: 1.2em; margin: 0; font-size: .85rem; color: #F09A8C; }
.form-status { margin: 16px 0 0; font-size: .9rem; color: var(--primary); }

.map-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
}
@media (min-width: 1024px) { .map-wrap { aspect-ratio: 21 / 8; } }
.map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(.6) invert(.9) hue-rotate(180deg) contrast(.9);
}

/* ---------- CTA final ---------- */
.cta {
  position: relative;
  text-align: center;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 50% 100%, rgba(201,164,92,.08), transparent 60%),
    var(--bg);
}
.cta h2 { font-size: clamp(2.25rem, 8vw, 4rem); margin-bottom: 16px; }
.cta h2 span { color: var(--primary); }
.cta p { max-width: 520px; margin: 0 auto 32px; color: var(--muted); }
.cta .btn-group { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 64px 0 96px;
  background: #080808;
  border-top: 1px solid var(--line);
  font-size: .95rem;
}
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 48px; }
}
.footer-brand img { height: 96px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); max-width: 300px; }
.site-footer h2 {
  font-size: .95rem;
  letter-spacing: .22em;
  color: var(--gold);
  margin-bottom: 16px;
}
.site-footer address { font-style: normal; color: var(--muted); }
.footer-list { display: grid; gap: 8px; color: var(--muted); }
.footer-list a { color: var(--text); }
.footer-list a:hover { color: var(--primary); }
.social { display: flex; gap: 12px; }
.social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  transition: border-color .2s, color .2s;
}
.social a:hover { border-color: var(--primary); color: var(--primary); }
.social svg { width: 20px; height: 20px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: .85rem;
  color: var(--muted);
}
.footer-bottom p { margin: 0; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .5);
  transition: transform .2s var(--ease), background-color .2s;
}
.wa-float:hover { background: var(--primary-hover); color: var(--on-primary); transform: translateY(-2px); }
.wa-float svg { width: 28px; height: 28px; }
@media (min-width: 768px) { .wa-float { right: 24px; bottom: 24px; width: 60px; height: 60px; } }
.nav-open .wa-float { display: none; }

/* ---------- Animações de entrada ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Agendamento ---------- */
.booking-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .booking-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 64px; align-items: start; }
  .booking-aside { position: sticky; top: calc(var(--header-h) + 32px); }
}

.form-step {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  min-width: 0;
}
.form-step legend {
  display: block;
  width: 100%;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--primary);
}

.field-row { display: grid; gap: 0 20px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }

.field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 40px 12px 14px;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23C9A45C' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--text);
  font: inherit;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.field select option { background: var(--bg-alt); color: var(--text); }
.field input[type="date"],
.field input[type="time"] { color-scheme: dark; }
.field .optional {
  font-family: var(--font-body);
  font-size: .8rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

.form-status.is-error { color: #F09A8C; }

.booking-success { text-align: center; padding: 24px 0; }
.booking-success:focus { outline: none; }
.booking-success svg { width: 56px; height: 56px; margin: 0 auto 16px; color: var(--primary); }
.booking-success h2 { font-size: 2rem; color: var(--primary); }
.booking-success p { color: var(--muted); max-width: 420px; margin: 0 auto 24px; }

.steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding-left: 44px; color: var(--muted); }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: -2px;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: .9rem;
  color: var(--gold);
}
.steps strong { color: var(--text); font-weight: 500; }
.muted { color: var(--muted); }

/* Escolhas (serviço, barbeiro) */
.choice-list { display: grid; gap: 10px; }
.choice-list--compact { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.choice:hover { border-color: var(--muted); }
.choice input,
.day input,
.slot input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.choice:has(input:checked) { border-color: var(--primary); background: rgba(201, 164, 92, .08); box-shadow: 0 0 0 1px var(--primary) inset; }
.choice:has(input:focus-visible),
.day:has(input:focus-visible),
.slot:has(input:focus-visible) { outline: 2px solid var(--primary); outline-offset: 2px; }
.choice-body { display: grid; gap: 2px; flex: 1; min-width: 0; }
.choice-title { font-weight: 500; }
.choice-meta { font-size: .85rem; color: var(--muted); }
.choice-price { font-family: var(--font-display); font-size: 1.15rem; color: var(--primary); white-space: nowrap; }
.choice-loading,
.choice-hint { margin: 0; padding: 12px 0; font-size: .95rem; color: var(--muted); }

/* Faixa de dias */
.day-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.day {
  position: relative;
  flex: 0 0 72px;
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 10px 4px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  scroll-snap-align: start;
  transition: border-color .2s, background-color .2s;
}
.day:hover { border-color: var(--muted); }
.day-week { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.day-num { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; }
.day-month { font-size: .75rem; color: var(--muted); }
.day:has(input:checked) { border-color: var(--primary); background: var(--primary); }
.day:has(input:checked) span { color: var(--on-primary); }
.day.is-closed { opacity: .4; cursor: not-allowed; }
.day.is-closed:hover { border-color: var(--line-strong); }

/* Grade de horários */
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot-grid .choice-hint,
.slot-grid .choice-loading { grid-column: 1 / -1; }
.slot {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 44px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: .04em;
  cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.slot:hover { border-color: var(--primary); }
.slot:has(input:checked) { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }

/* Resumo */
.booking-summary {
  margin: 8px 0 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  border-radius: var(--radius);
  background: var(--bg);
}
.booking-summary h2 { font-size: 1rem; letter-spacing: .2em; color: var(--gold); margin-bottom: 12px; }
.booking-summary dl,
.booking-summary-list { display: grid; gap: 8px; margin: 0 0 24px; }
.booking-summary dl { margin: 0; }
.booking-summary dl > div,
.booking-summary-list > div { display: flex; justify-content: space-between; gap: 16px; }
.booking-summary dt,
.booking-summary-list dt { color: var(--muted); }
.booking-summary dd,
.booking-summary-list dd { margin: 0; text-align: right; }
.booking-summary-list > div { padding: 12px 0; border-bottom: 1px solid var(--line); }

.booking-alert {
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(201, 164, 92, .5);
  border-radius: var(--radius);
  background: rgba(201, 164, 92, .08);
  color: var(--text);
}

/* Página "Meu agendamento" */
.appointment-card { max-width: 560px; margin-inline: auto; }
.appointment-status {
  display: inline-block;
  margin-bottom: 16px;
  padding: 4px 14px;
  border: 1px solid var(--primary);
  border-radius: 999px;
  font-family: var(--font-display);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
}
.appointment-status[data-status="cancelado"],
.appointment-status[data-status="faltou"] { border-color: #F09A8C; color: #F09A8C; }

/* Serviços agrupados por categoria */
.service-group + .service-group { margin-top: 56px; }
.service-group-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
  font-size: clamp(1.5rem, 5vw, 2rem);
  color: var(--primary);
}
.service-group-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.service-price small {
  font-family: var(--font-body);
  font-size: .75rem;
  letter-spacing: .04em;
  color: var(--muted);
  text-transform: lowercase;
}
.card-price small { text-transform: lowercase; }

/* Lista de serviços mais compacta no celular: "Agendar" ao lado da duração */
@media (max-width: 767px) {
  .service {
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 12px;
    row-gap: 6px;
    padding: 18px 0;
  }
  .service-body { display: contents; }
  .service-head { grid-column: 1 / -1; }
  .service-foot { grid-column: 2; }
}

/* Lista de serviços no agendamento: rolagem própria e títulos de categoria */
#lista-servicos {
  max-height: 460px;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.choice-group {
  margin: 14px 0 2px;
  font-family: var(--font-display);
  font-size: .85rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.choice-group:first-child { margin-top: 0; }
.choice-price small { font-size: .75rem; color: var(--muted); }

/* Um único plano, centralizado */
.plans--single { display: grid; max-width: 460px; margin-inline: auto; }
.plans--single .plan--featured { top: 0; }
.plan-desc { margin: -8px 0 16px; color: var(--muted); }

/* Equipe carregada do banco */
.equipe-aviso { grid-column: 1 / -1; margin: 0; padding: 40px 0; text-align: center; color: var(--muted); }
.equipe-lista { justify-content: center; }
@media (min-width: 1024px) {
  .equipe-lista { grid-template-columns: repeat(auto-fit, minmax(280px, 360px)); }
}
.team-photo--vazia { display: grid; place-items: center; background: linear-gradient(180deg, #1A1A1A, #111); }
.team-inicial { font-family: var(--font-display); font-size: 6rem; color: var(--line-strong); }
.team-ig-vazio { display: block; height: 8px; }


/* ---------- Títulos Fino Trato (fonte vintage) ---------- */
.hero-title,
.page-hero h1,
.section-title,
.cta h2,
.service-group-title,
.plan-name {
  font-family: var(--font-title);
  font-weight: 400;
  letter-spacing: .02em;
}
.hero-title { font-size: clamp(2.2rem, 9vw, 4.75rem); line-height: 1.05; }
.page-hero h1 { font-size: clamp(2.2rem, 8vw, 3.75rem); }
.section-title { font-size: clamp(1.7rem, 5.5vw, 2.75rem); }
.cta h2 { font-size: clamp(1.9rem, 6.5vw, 3.25rem); }
.service-group-title { font-size: clamp(1.3rem, 4.5vw, 1.7rem); }
.plan-name { font-size: 1.5rem; }
.section-title,
.page-hero h1 { color: var(--primary); }

/* Fundo do início sem foto: brilho dourado e linhas finas diagonais.
   Para usar uma foto, volte a colocar <div class="hero-media"><img ...></div> dentro do .hero */
.hero {
  background:
    radial-gradient(ellipse 60% 60% at 78% 42%, rgba(201, 164, 92, .16), transparent 70%),
    radial-gradient(ellipse 45% 40% at 10% 90%, rgba(230, 220, 198, .05), transparent 70%),
    repeating-linear-gradient(135deg, rgba(230, 220, 198, .025) 0 1px, transparent 1px 14px),
    var(--bg);
}
.hero::before { background: linear-gradient(180deg, transparent 65%, var(--bg) 100%); }

/* Descrição dos serviços (avisos, promoções) */
.service-desc { font-size: .9rem; line-height: 1.5; }
@media (max-width: 767px) {
  .service-desc { grid-column: 1 / -1; margin: 2px 0 4px; }
}
