/* Jayrson Pereira Hair Style — Design System
   Tokens confirmados: creme denso, dourado, esmeralda intenso, preto, bronze */

:root {
  --ink: #171310;
  --ink-surface: #221D15;
  --ink-surface-2: #2B241A;
  --cream: #E9DDC1;
  --cream-surface: #F8F3E6;
  --cream-surface-2: #DECBA0;
  --gold: #C9A227;
  --gold-on-ink: #C79A2E;
  --emerald: #077A50;
  --emerald-on-ink: #049A68;
  --bronze: #6B4423;
  --cream-text: #F5EFDD;
  --ink-text: #241a10;
  --border-cream: #C9B588;
  --border-ink: rgba(245, 239, 221, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink-text);
  font-family: -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.serif { font-family: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif; }
img { max-width: 100%; display: block; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ---------- BUTTONS ---------- */
a.pill, button.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
a.pill:hover, button.pill:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(0,0,0,0.35); }
a.pill:focus-visible, button.pill:focus-visible, .nav-btn:focus-visible {
  outline: 3px solid var(--emerald); outline-offset: 2px;
}
.pill-gold { background: var(--gold); color: #1c1400; }
.pill-ghost-ink { background: transparent; color: var(--cream-text); border: 1.5px solid rgba(245,239,221,0.35); }
.pill-ghost-cream { background: transparent; color: var(--bronze); border: 1.5px solid var(--border-cream); }
.pill-emerald { background: var(--emerald); color: var(--cream-text); }
.pill-lg { font-size: 1.05rem; padding: 1rem 2rem; font-weight: 800; }

/* ---------- NAV ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 5vw, 4rem);
  background: var(--ink);
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav .logo { color: var(--cream-text); font-size: 1.2rem; letter-spacing: 0.04em; text-decoration: none; }
.nav .logo strong { color: inherit; font-weight: 700; }
.nav .links { display: flex; gap: 1.8rem; }
.nav .links a { color: rgba(245,239,221,0.75); text-decoration: none; font-size: 0.86rem; }
.nav .links a:hover, .nav .links a[aria-current="page"] { color: var(--gold-on-ink); }
@media (max-width: 780px) { .nav .links { display: none; } }

/* ---------- PAGE TITLE BAND (inner pages) ---------- */
.title-band {
  background: var(--ink);
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 5vw, 4rem);
}
.title-band .eyebrow {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.72rem;
  color: var(--emerald-on-ink); font-weight: 700; margin-bottom: 0.9rem;
}
.title-band h1 {
  font-size: clamp(2rem, 4.4vw, 2.9rem); color: var(--cream-text);
  margin: 0 0 0.8rem; text-wrap: balance; font-weight: 500; line-height: 1.18;
}
.title-band p {
  color: rgba(245,239,221,0.75); font-size: 1.02rem; max-width: 56ch; margin: 0;
}

/* ---------- HERO (home only) ---------- */
.hero {
  background: var(--ink);
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4rem) clamp(4rem, 8vw, 6rem);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
@media (max-width: 880px) { .hero { grid-template-columns: 1fr; } }
.hero-copy .eyebrow {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.72rem;
  color: var(--emerald-on-ink); font-weight: 700; margin-bottom: 1rem;
}
.hero-copy h1 {
  font-size: clamp(2.3rem, 5vw, 3.4rem); color: var(--cream-text);
  margin: 0 0 1.1rem; text-wrap: balance; font-weight: 500; line-height: 1.15;
}
.hero-copy h1 .accent { color: var(--gold-on-ink); }
.hero-copy p { color: rgba(245,239,221,0.75); font-size: 1.05rem; max-width: 46ch; margin: 0 0 1.9rem; }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.blob {
  width: min(420px, 90%); aspect-ratio: 4 / 4.6;
  border-radius: 62% 38% 55% 45% / 48% 45% 55% 52%;
  background: radial-gradient(circle at 30% 25%, rgba(201,162,39,0.35), transparent 55%), linear-gradient(160deg, #3a2f1c, #17140d 70%);
  border: 1px solid rgba(201,162,39,0.25);
  position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.blob span.ph-label { font-size: 0.72rem; font-style: italic; color: rgba(245,239,221,0.55); text-align: center; padding: 0 2rem; }
.blob video, .blob img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-visual .blob img { object-position: 50% 14%; transform: scale(1.12); transform-origin: 50% 14%; }
.float-chip {
  position: absolute; display: flex; align-items: center; justify-content: center;
  border-radius: 22px; backdrop-filter: blur(6px);
  background: rgba(245,239,221,0.1); border: 1px solid rgba(245,239,221,0.25);
  font-size: 1.4rem; box-shadow: 0 12px 30px -10px rgba(0,0,0,0.6);
}
.chip-1 { width: 64px; height: 64px; top: 6%; left: -6%; color: var(--gold-on-ink); }
.chip-2 { width: 56px; height: 56px; bottom: 14%; right: -4%; color: var(--emerald-on-ink); }
.chip-3 { width: 48px; height: 48px; bottom: -3%; left: 18%; color: var(--gold-on-ink); }

/* ---------- MEDIA SPLIT (texto + vídeo/foto lado a lado) ---------- */
.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (max-width: 880px) { .media-split { grid-template-columns: 1fr; } }
.media-split.reverse .media-copy { order: 2; }
@media (max-width: 880px) { .media-split.reverse .media-copy { order: 0; } }
.media-copy p { max-width: 46ch; }

/* ---------- SECTION SHELLS ---------- */
.section { padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 5vw, 4rem); }
.section.on-cream { background: var(--cream); }
.section.on-ink { background: var(--ink); }
.section.on-cream-2 { background: var(--cream-surface-2); }
.section-head { max-width: 620px; margin: 0 0 2.4rem; }
.section-head .eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.7rem; font-weight: 700; }
.on-cream .section-head .eyebrow, .on-cream-2 .section-head .eyebrow { color: var(--bronze); }
.on-ink .section-head .eyebrow { color: var(--emerald-on-ink); }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 0.5rem 0 0; text-wrap: balance; font-weight: 500; }
.on-ink .section-head h2 { color: var(--cream-text); }

/* ---------- BLOCKS (content cards, used on Sobre/Visagismo/Serviços) ---------- */
.block {
  background: var(--cream-surface);
  border: 1px solid var(--border-cream);
  border-radius: 14px;
  padding: 1.6rem 1.8rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 1px 2px rgba(60,40,10,0.08), 0 8px 24px -14px rgba(60,40,10,0.25);
}
.block:last-child { margin-bottom: 0; }
.block-label {
  text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.68rem;
  color: var(--bronze); font-weight: 700; margin-bottom: 0.75rem;
}
.block p { margin: 0.6rem 0; max-width: 68ch; }
.block p:first-of-type { margin-top: 0; }
.block p:last-of-type { margin-bottom: 0; }

/* ---------- INTRO / STATS ---------- */
.intro-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 780px) { .intro-grid { grid-template-columns: 1fr; } }
.intro-grid p { font-size: 1.05rem; color: var(--ink-text); max-width: 52ch; }
.stat-row { display: flex; gap: 2.2rem; flex-wrap: wrap; }
.stat-row div strong { display: block; font-size: 1.9rem; font-family: Georgia, serif; color: var(--bronze); }
.stat-row div span { font-size: 0.78rem; color: var(--ink-text); opacity: 0.75; }

/* ---------- PHOTO PLACEHOLDERS ---------- */
.photo-ph {
  border-radius: 12px; aspect-ratio: 4/3; overflow: hidden;
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 0.75rem;
  position: relative;
}
.photo-ph img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; transition: transform 0.5s ease; }
.photo-ph:hover img { transform: scale(1.07); }
@media (prefers-reduced-motion: reduce) { .photo-ph img { transition: none; } .photo-ph:hover img { transform: none; } }
.on-cream .photo-ph, .on-cream-2 .photo-ph {
  background: repeating-linear-gradient(135deg, var(--cream-surface-2), var(--cream-surface-2) 10px, #D3BD8E 10px, #D3BD8E 20px);
  border: 1px solid var(--border-cream);
}
.on-cream .photo-ph span, .on-cream-2 .photo-ph span {
  font-size: 0.7rem; color: var(--bronze); font-style: italic;
  background: var(--cream-surface); padding: 0.25rem 0.5rem; border-radius: 4px; border: 1px solid var(--border-cream);
}
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.7rem; }
.photo-grid.masonry { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.photo-grid.masonry .photo-ph { flex: 1 1 220px; }

/* ---------- ORGANIC SHAPES (mesmo ar da Home em qualquer foto) ---------- */
.photo-grid .photo-ph:nth-child(3n+1),
.photo-grid.masonry .photo-ph:nth-child(3n+1) { border-radius: 62% 38% 55% 45% / 48% 45% 55% 52%; }
.photo-grid .photo-ph:nth-child(3n+2),
.photo-grid.masonry .photo-ph:nth-child(3n+2) { border-radius: 38% 62% 48% 52% / 55% 42% 58% 45%; }
.photo-grid .photo-ph:nth-child(3n+3),
.photo-grid.masonry .photo-ph:nth-child(3n+3) { border-radius: 55% 45% 40% 60% / 42% 58% 50% 50%; }
.media-visual .photo-ph { border-radius: 62% 38% 55% 45% / 48% 45% 55% 52%; }
.media-split.reverse .media-visual .photo-ph { border-radius: 38% 62% 48% 52% / 55% 42% 58% 45%; }
.ad-photo:nth-child(odd) { border-radius: 62% 38% 55% 45% / 48% 45% 55% 52%; }
.ad-photo:nth-child(even) { border-radius: 38% 62% 48% 52% / 55% 42% 58% 45%; }

/* ---------- CAROUSEL ---------- */
.carousel-wrap { position: relative; }
.carousel-track {
  display: flex; gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem; scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; flex: 0 0 auto; }

.ad-card { width: min(560px, 84vw); display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.ad-photo {
  aspect-ratio: 3/4; border-radius: 26px; overflow: hidden; position: relative;
  background: repeating-linear-gradient(135deg, var(--ink-surface), var(--ink-surface) 10px, var(--ink-surface-2) 10px, var(--ink-surface-2) 20px);
  border: 1px solid var(--border-ink);
  display: flex; align-items: flex-end; padding: 0.8rem;
}
.ad-photo span { font-size: 0.68rem; font-style: italic; color: rgba(245,239,221,0.55); position: relative; z-index: 1; }
.ad-photo img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }

.testi-card {
  width: min(420px, 82vw); background: var(--ink-surface); border: 1px solid var(--border-ink);
  border-radius: 20px; padding: 1.7rem; border-left: 4px solid var(--emerald-on-ink);
}
.testi-card .who { color: var(--cream-text); font-weight: 700; margin-bottom: 0.5rem; }
.testi-card .quote { color: rgba(245,239,221,0.75); font-style: italic; font-size: 0.98rem; }

.carousel-nav { display: flex; align-items: center; gap: 0.9rem; margin-top: 1.4rem; }
.nav-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(245,239,221,0.3);
  background: transparent; color: var(--cream-text); cursor: pointer; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center; transition: background 0.15s ease;
}
.nav-btn:hover { background: rgba(245,239,221,0.1); }
.dots { display: flex; gap: 0.4rem; }
.dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(245,239,221,0.25); transition: background 0.2s ease, width 0.2s ease; }
.dots span.active { background: var(--gold-on-ink); width: 20px; border-radius: 4px; }

/* ---------- STEPS ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; position: relative; }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }
.steps::before { content: ""; position: absolute; top: 22px; left: 12%; right: 12%; height: 1px; background: var(--cream-surface-2); }
@media (max-width: 780px) { .steps::before { display: none; } }
.step { position: relative; }
.step .num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: #1c1400;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.05rem;
  position: relative; z-index: 1; margin-bottom: 1rem;
}
.step h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.step p { margin: 0; font-size: 0.92rem; color: var(--ink-text); opacity: 0.85; max-width: 30ch; }

/* ---------- SERVICES LIST ---------- */
.services-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.services-list li { display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.6rem; align-items: baseline; }
.services-list .dot { color: var(--emerald); font-size: 1.1rem; line-height: 1; }
.services-list strong { font-weight: 700; }
.services-list .sub { color: var(--bronze); font-size: 0.86rem; }
.services-list li.highlight strong { color: var(--gold); }
.services-list li.highlight .dot { color: var(--gold); }

/* ---------- CREDENCIAIS CHIPS ---------- */
.credenciais { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.7rem; }
.credenciais span { font-size: 0.78rem; background: var(--cream-surface-2); border-radius: 6px; padding: 0.3rem 0.6rem; color: var(--ink-text); }

/* ---------- CONTACT / HOURS ---------- */
.contact-grid { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1rem; font-size: 0.94rem; }
.contact-grid dt { color: var(--bronze); font-weight: 600; }
.contact-grid dd { margin: 0; }
.table-wrap { overflow-x: auto; }
table.hours { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
table.hours th, table.hours td { text-align: left; padding: 0.5rem 0.7rem; border-bottom: 1px solid var(--border-cream); font-variant-numeric: tabular-nums; }
table.hours th { color: var(--bronze); font-weight: 600; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.05em; }
table.hours td.closed { color: var(--bronze); font-style: italic; }
.attr-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.attr-chips span { font-size: 0.78rem; color: var(--bronze); border: 1px solid var(--border-cream); border-radius: 999px; padding: 0.35rem 0.75rem; }

/* ---------- CLOSING CTA ---------- */
.closing { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.closing h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); margin: 0; text-wrap: balance; max-width: 34ch; }
.closing .details { font-size: 0.88rem; color: var(--ink-text); opacity: 0.8; }

/* ---------- FOOTER ---------- */
footer.foot {
  background: var(--ink); color: rgba(245,239,221,0.55);
  padding: 2.4rem clamp(1.25rem, 5vw, 4rem) 1.6rem;
  font-size: 0.82rem;
}
footer.foot .foot-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 1.4rem; }
footer.foot .foot-grid a { color: rgba(245,239,221,0.75); text-decoration: none; display: block; margin-bottom: 0.4rem; font-size: 0.86rem; }
footer.foot .foot-grid a:hover { color: var(--gold-on-ink); }
footer.foot .foot-bottom { border-top: 1px solid var(--border-ink); padding-top: 1.2rem; text-align: center; }
