/* Barbershop template v2 (30/11/2026) · "Sela" palette: dark ground, bone headlines, cognac accent.
   Per shop: change the :root colours and fonts only. Sections: templates/barbershop/README.md */
:root {
  /* 60 · 30 · 10 (user 30/11/2026): black ground, grey bands and panels, red only for actions and accents
     (the red of KJC's facade). Contrast: --red-hi on --ground 5.3:1; white on --red 5.2:1. */
  --ground: #0E0E10;  /* 60 black: page ground */
  --black: #000;
  --band: #222327;    /* 30 grey: bands, service cards */
  --grey: #44464C;    /* 30 grey: second buttons, chips */
  --paper: #E3E4E7;   /* 30 grey (light): booking panel */
  --red: #D7262E;     /* 10 red: main buttons */
  --red-dk: #B01E25;  /* red on the light panel, button hover */
  --red-hi: #FF5E63;  /* red as text on black: labels, accent words, stars */
  --muted: #9A9CA2;   /* small labels */
  --text: #C9CBCF;    /* body text */
  --bone: #F3F3F4;    /* headlines */
  --line: rgba(255, 255, 255, .12);
  --serif: "Bebas Neue", "Oswald", Impact, "Arial Narrow", sans-serif;  /* headings: condensed sans (font test 30/11; stand-in until the licensed rough face) */
  --display: "Archivo", "Arial Black", Arial, sans-serif;  /* labels, buttons, small caps */
  --body: "Inter", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --wrap: 1520px;
  --gutter: clamp(16px, 3.4vw, 56px);
  --r: 10px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  /* names the Taste moments read (word-highlight, picture-develops) */
  --font-display: var(--serif); --display-weight: 400; --display-tracking: .01em; --t-h2: clamp(40px, 5.6vw, 72px);
  --ink: var(--bone); --bg: var(--ground); --accent: var(--red-hi); --surface: var(--band);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--text); font: 400 17px/1.6 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--bone); font-family: var(--serif); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: .95; }
h2 { font-size: clamp(40px, 5.6vw, 72px); }
h3 { font-size: 24px; letter-spacing: .02em; }
h4 { font: 500 12px/1.4 var(--mono); font-variation-settings: normal; letter-spacing: .14em; color: var(--muted); margin-bottom: 8px; }
p { margin: 0; }
em { font-style: normal; color: var(--red-hi); }
ul { list-style: none; margin: 0; padding: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 16px; top: 8px; background: var(--bone); color: var(--ground); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
/* skip link: clipped in place until focused (an off-screen park made the page scroll sideways on small phones) */
.skip:not(:focus) { width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { display: inline-flex; align-items: center; min-height: 44px; }
:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; }

.eyebrow, .kicker { font: 500 12px/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.kicker { display: flex; align-items: center; gap: 10px; }
.lead { max-width: 520px; font-size: 18px; color: var(--text); }
.note { font: 400 13px/1.5 var(--mono); color: var(--muted); margin-top: 14px; }

/* buttons: solid only */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font: 600 15px/1 var(--display); font-stretch: 112%; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--bone { background: var(--red); color: #fff; }
.btn--bone:hover { background: var(--red-dk); }
.btn--grey { background: var(--grey); color: var(--bone); }
.btn--grey:hover { background: #56595F; }
.btn--ox { background: var(--band); color: var(--bone); }
.btn--ox:hover { background: #1A1B1E; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink { color: var(--text); text-underline-offset: 4px; text-decoration-color: var(--red); }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 20; transition: background-color .3s, box-shadow .3s; }
.nav.is-scrolled { background: rgba(10, 8, 7, .94); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(8px); }
.nav__bar { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__txt { display: grid; line-height: 1.1; }
.logo__txt b { font: 400 26px/1 var(--serif); text-transform: uppercase; color: var(--bone); letter-spacing: .06em; }
.logo__txt small { font: 400 12px/1.3 var(--mono); color: var(--muted); letter-spacing: .08em; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: 15px; color: var(--text); }
.nav__links a:hover { color: var(--bone); }
.nav__cta { min-height: 44px; padding: 0 22px; }

/* hero */
.hero { position: relative; min-height: min(100svh, 920px); display: flex; align-items: flex-end; overflow: hidden; background: var(--ground); }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; opacity: 0; transition: opacity .9s ease; }
.hero__video.is-playing { opacity: 1; }
.hero__pause { position: absolute; z-index: 2; right: 24px; bottom: 24px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(243,243,244,.35); background: rgba(10,8,7,.55); color: var(--bone); cursor: pointer; }
.hero__pause:hover { background: rgba(10,8,7,.85); }
.hero__pause:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.hero__pause[hidden] { display: none; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 0% 100%, rgba(5,4,3,.94) 0%, rgba(5,4,3,.82) 34%, rgba(5,4,3,.3) 62%, rgba(5,4,3,0) 80%),
              linear-gradient(0deg, var(--ground) 0%, rgba(10,8,7,0) 30%),
              linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 20%); }
.hero__inner { position: relative; z-index: 1; width: 100%; padding-top: 140px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(56px, 7.6vw, 116px); line-height: .9; max-width: 11ch; margin: 0 0 20px; letter-spacing: .01em; }
.hero h1 { color: #F5F5F6; text-shadow: 0 2px 3px rgba(0,0,0,.55), 0 8px 40px rgba(0,0,0,.6); }
.hero h1 em { font-size: 1em; color: var(--red-hi); padding: 0 .14em .04em; margin: 0 .04em; background: var(--black); border-radius: 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; box-shadow: inset 0 -3px 0 var(--red);
  text-shadow: 0 2px 3px rgba(0,0,0,.6); }
.hero__lead, .hero__rating { text-shadow: 0 1px 2px rgba(0,0,0,.8), 0 4px 18px rgba(0,0,0,.6); }
.hero__lead { color: #D9DADD; }
.hero__lead { max-width: 440px; font-size: 18px; margin-bottom: 28px; }
.hero .btn-row { margin-bottom: 14px; }
.hero__rating { display: inline-flex; gap: 6px; align-items: center; min-height: 44px; margin-top: 0; text-decoration: none; font-size: 15px; color: var(--text); }
.hero__rating strong { color: var(--bone); }
.stars { color: var(--red-hi); letter-spacing: 2px; }

/* ---------- v2 flow below the hero (Taste deal 18/11: visit, menu + pair, statement, wall, name close) ---------- */
.section { padding: clamp(80px, 10vw, 128px) 0; position: relative; scroll-margin-top: 70px; }
.section--band { background: var(--band); }
.t-label { font: 500 13px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--red-hi); font-variation-settings: normal; }
.head-row { display: flex; align-items: end; justify-content: space-between; gap: 16px 48px; flex-wrap: wrap; margin-bottom: 56px; }
.head-row h2 { max-width: 16ch; }
.head-row__side { display: grid; gap: 6px; justify-items: end; text-align: right; max-width: 360px; }
.head-row__side p { font-size: 16px; color: var(--text); }
.arrow-link { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; color: var(--bone); font-weight: 600; text-decoration: none;
  background: linear-gradient(var(--red-hi), var(--red-hi)) 0 calc(100% - 8px) / 0 1px no-repeat; transition: background-size .3s var(--ease); }
.arrow-link:hover { background-size: calc(100% - 22px) 1px; }
.arrow-link span { transition: transform .2s var(--ease); }
.arrow-link:hover span { transform: translateX(3px); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.split--top { align-items: start; }
.pic { display: block; overflow: hidden; background: var(--band); }
.pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pic:hover img { transform: scale(1.03); }

/* visit: screen 2, panel left, the shopfront developing on the right */
.visit { background: var(--band); padding: 48px; display: grid; gap: 28px; align-content: start; border: 1px solid var(--line); }
.visit__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.visit__cols > div { display: grid; gap: 14px; justify-items: start; align-content: start; }
.visit__addr { font: 500 20px/30px var(--body); color: var(--bone); text-decoration-color: var(--red); text-underline-offset: 5px; }
.visit__tel a { font: 500 16px/24px var(--mono); color: var(--text); display: inline-flex; min-height: 44px; align-items: center; }
.visit__hours li { font: 400 16px/26px var(--mono); color: var(--text); padding: 6px 0; border-bottom: 1px solid var(--line); }
.visit__rows { display: grid; border-top: 1px solid var(--line); }
.visit__rows li { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 16px; border-bottom: 1px solid var(--line); }
.visit__rows li::before { content: ""; width: 13px; height: 9px; border-radius: 50%; background: var(--red); transform: rotate(-14deg); flex: none; }
.develop { margin: 0; min-width: 0; min-height: 420px; }
.split > * { min-width: 0; }
.develop img { width: 100%; height: 100%; object-fit: cover; }

/* wall of work: gapless, square, linked to the Instagram */
.wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.wall .pic { aspect-ratio: 1; position: relative; }
.pic__tag { position: absolute; left: 10px; bottom: 10px; padding: 3px 8px; font: 500 12px/16px var(--mono); color: var(--bone); background: rgba(10,8,7,.72); }
.wall__note { margin-top: 16px; font: 400 14px/20px var(--mono); color: var(--muted); }

/* reviews */
.score { display: grid; gap: 16px; align-content: start; }
.score .stars { font-size: 28px; letter-spacing: 6px; }
.quote { margin: 0; }
.quote p { color: var(--bone); font-size: 18px; line-height: 1.55; }
.quote footer { margin-top: 12px; font: 400 13px/1.4 var(--mono); color: var(--muted); }
.quote--big p { font: 500 clamp(22px, 2.3vw, 30px)/1.4 var(--body); }  /* long quotes stay on the text face */
.quotes > .quote:last-child:nth-child(odd) { grid-column: 1 / -1; }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }

/* booking: the one light band */
.book-sec { background: var(--paper); color: var(--ground); }
.book-sec h2 { color: var(--ground); }
.book-sec .head-row__side p { color: #3A3C41; }
.book__photo { display: block; }
.book__photo .book__alt { margin-top: 16px; }
.book__photo img { width: 100%; aspect-ratio: 4 / 5; max-height: 620px; object-fit: cover; }
.book__alt { color: #3A3C41; font-size: 16px; }
.book__alt a { color: var(--band); font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.booking { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; background: #fff; padding: 48px; }
.booking .btn--bone { background: var(--red); color: #fff; }
.booking .btn--bone:hover { background: var(--red-dk); }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font: 600 14px/1.3 var(--body); color: var(--band); padding: 0; margin-bottom: 8px; }
.opt { font-weight: 400; color: #55585E; }
.booking input[type=text], .booking select { min-height: 50px; width: 100%; padding: 0 14px; border: 1px solid #B4B6BB; border-radius: 0; background: #fff;
  font: 400 16px var(--body); color: var(--band); }
.booking [aria-invalid=true] { border-color: #B01E25; }
.field__error { font-size: 14px; color: #B01E25; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid #B4B6BB; background: #fff;
  font-size: 15px; color: var(--band); cursor: pointer; transition: border-color .2s; }
.chip span:hover { border-color: var(--band); }
.chip input:checked + span { background: var(--band); border-color: var(--band); color: var(--bone); }
.chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
#f-dia-outro { margin-top: 10px; }
.booking__actions { grid-column: 1 / -1; display: grid; gap: 10px; justify-items: start; margin-top: 4px; }
.booking__note { font-size: 14px; color: #45474C; }
.booking__chat { font-size: 14px; color: var(--band); text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }
.booking__next { display: grid; gap: 4px; font-size: 14px; line-height: 20px; color: #45474C; }
.booking__next li { display: flex; gap: 8px; }
.booking__next li::before { content: "·"; color: var(--red); font-weight: 700; }

/* live WhatsApp preview: the message writes itself as the form is filled (wa.js) */
.wa-preview { display: grid; gap: 10px; padding: 20px; background: #D3D5D9; border-radius: 12px; }
.wa-preview[hidden] { display: none; }
.wa-preview__to { font: 500 12px/16px var(--mono); color: #45474C; letter-spacing: .02em; }
.wa-preview__to strong { color: var(--band); }
.wa-bubble { position: relative; justify-self: end; max-width: min(100%, 420px); padding: 10px 14px 22px; background: #d9fdd3; color: #111b21;
  border-radius: 10px 0 10px 10px; box-shadow: 0 1px 1px rgba(0,0,0,.12); font: 400 15px/21px var(--body); }
.wa-bubble::after { content: ""; position: absolute; top: 0; right: -8px; border-left: 8px solid #d9fdd3; border-bottom: 10px solid transparent; }
.wa-bubble p { margin: 0; overflow-wrap: anywhere; }
.wa-bubble p:first-child { margin-bottom: 4px; }
.wa-gap { color: #54656f; }
.wa-time { position: absolute; right: 10px; bottom: 4px; font-size: 12px; line-height: 16px; color: #54656f; }

.reviews__cta { margin-top: 40px; }

/* close: h2 + button, then the name set across the wrap */
.close { padding-bottom: 64px; }
.close__grid { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 24px 72px; }
.close__call { display: grid; gap: 16px; justify-items: start; padding-bottom: .5em; max-width: 560px; }
.close__call h2 { font-size: clamp(48px, 5.6vw, 88px); }
@media (max-width: 860px) { .close__grid { grid-template-columns: 1fr; } }
.close__name { font: 400 clamp(96px, 24vw, 340px)/.82 var(--serif); text-transform: uppercase; color: var(--bone); letter-spacing: .01em;
  white-space: nowrap;
  /* clip sideways only: the tight .82 line height lets the letters run past the box top and bottom */
  overflow-x: clip; overflow-y: visible; padding-block: .14em; }

/* footer + phone bar */
.footer { background: var(--black); padding: 56px 0 110px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer__logo { width: 150px; height: auto; border-radius: 12px; }
.logo .badge { border-radius: 50%; }
.footer h3 { font: 500 13px/1.4 var(--mono); letter-spacing: .16em; color: var(--muted); margin-bottom: 12px; font-variation-settings: normal; }
.footer li { margin-bottom: 4px; }
.footer li a { display: inline-flex; min-height: 44px; align-items: center; text-decoration-color: var(--line); text-underline-offset: 4px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 40px; padding-top: 20px; background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat; font: 400 13px/1.4 var(--mono); color: var(--muted); }
.bar { position: fixed; inset: auto 0 0 0; z-index: 25; display: none; grid-template-columns: 1.6fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(0,0,0,.96); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s var(--ease); }
.bar.is-on { transform: none; }
.bar .btn { min-height: 48px; padding: 0 10px; font-size: 14px; }

/* demo helpers: ?demo outlines what the owner hasn't confirmed */
.show-assumed [data-assumed] { outline: 2px dashed var(--red); outline-offset: 4px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .pic img { transition: none; } }

@media (max-width: 860px) {
  .split, .split--top { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__bar { min-height: 64px; }
  .logo .badge { width: 40px; height: 40px; }
  .logo__txt small { display: none; }
  .hero { display: block; min-height: 0; }
  .hero__media { position: relative; }
  .hero__media img { position: relative; height: 44svh; min-height: 260px; object-position: 50% 30%; }
  .hero__video { object-position: 50% 30%; }
  .hero__pause { top: 84px; bottom: auto; right: 16px; }
  .hero::after { background: linear-gradient(0deg, var(--ground) 52%, rgba(10,8,7,0) 66%), linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 18%); }
  .hero__inner { padding-top: 0; padding-bottom: 40px; margin-top: -48px; }
  .hero h1 { font-size: clamp(48px, 14vw, 64px); margin: 12px 0 14px; }
  .hero__lead { font-size: 16px; margin-bottom: 20px; }
  .hero .btn-row .btn { flex: 1 1 auto; }
  .head-row { margin-bottom: 32px; }
  .head-row__side { justify-items: start; text-align: left; }
  .visit { padding: 24px; }
  .develop { min-height: 0; aspect-ratio: 4 / 3; }
  .visit__cols { grid-template-columns: 1fr; }
  .wall { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .booking { grid-template-columns: 1fr; padding: 24px; }
  .booking__actions .btn { width: 100%; }
  .close__call .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .bar { display: grid; }
  }



/* ================= template v2 sections (30/11/2026) ================= */
.btn--ghost { background: rgba(10,8,7,.35); color: var(--bone); box-shadow: inset 0 0 0 1px rgba(243,243,244,.45); }
.btn--ghost:hover { background: rgba(10,8,7,.6); }
.btn--off { cursor: default; opacity: .7; }
.btn--off:hover { transform: none; }
.sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 16px 64px; margin-bottom: 56px; }
.sec-head__title { display: grid; gap: 14px; }
.sec-head .lead { max-width: 440px; justify-self: end; }
.book__side .sec-head { grid-template-columns: 1fr; }
.book__side .sec-head .lead { justify-self: start; }
.sec-head--c { margin-inline: auto; text-align: center; justify-items: center; }
.sec-head .lead { color: var(--text); }
.note { margin-top: 20px; }

/* nossa casa: text left, one tall photo right */
.story__grid { grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.story__text { display: grid; gap: 22px; align-content: center; }
.story__body { display: grid; gap: 14px; max-width: 520px; font-size: 18px; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 40px; margin-top: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.facts strong { display: block; font: 400 clamp(40px, 4.4vw, 60px)/1 var(--serif); color: var(--bone); letter-spacing: .01em; }
.facts span { display: block; margin-top: 6px; font: 400 13px/1.4 var(--mono); color: var(--muted); max-width: 16ch; }
.story__photo { margin: 0; aspect-ratio: 4 / 5; min-height: 0; }
.story__photo img { width: 100%; height: 100%; object-fit: cover; }

/* barba & cabelo band: words left, two tall photos right, the second set lower */
.craft__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.craft__text { display: grid; gap: 22px; }
.craft__text .btn-row { align-items: center; gap: 12px 24px; }
.craft__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.craft__pic { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.craft__pic img { width: 100%; height: 100%; object-fit: cover; }

/* serviços: Studio 13's group rows (photo beside the list, alternating), dark version */
.svc { display: grid; gap: 24px; }
.svc-col { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); background: var(--band); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.svc-col--flip .svc-col__photo { order: 2; }
/* the list sets the height (a short menu shouldn't leave a tall empty panel); the photo fills it, never under 420px */
.svc-col__photo { position: relative; min-height: 420px; overflow: hidden; }
.svc-col__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-col__body { padding: clamp(28px, 4.5vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.svc-col h3 { font-size: clamp(56px, 6.4vw, 96px); }
.svc-col__line { margin: 12px 0 28px; color: var(--muted); font-size: 17px; }
.svc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--line); text-decoration: none; min-height: 64px; }
.svc-list li:last-child .svc-row { border-bottom: 1px solid var(--line); }
.svc-row__name { grid-column: 1; font: 400 30px/1.1 var(--serif); color: var(--bone); text-transform: uppercase; letter-spacing: .03em;
  transition: transform .4s var(--ease), color .3s ease; }
.svc-row__sub { grid-column: 1; font-size: 15px; color: var(--muted); margin-top: 4px; }
.svc-row__meta { grid-column: 1; margin-top: 6px; font: 500 14px/1.4 var(--mono); color: var(--text); font-variant-numeric: tabular-nums; }
.svc-row__go { grid-column: 2; grid-row: 1 / 4; align-self: center; font: 600 14px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--red-hi);
  opacity: 0; transform: translateX(-6px); transition: opacity .2s ease, transform .2s ease; }
.svc-row:hover .svc-row__name, .svc-row:focus-visible .svc-row__name { transform: translateX(8px); color: #fff; }
.svc-row:hover .svc-row__go, .svc-row:focus-visible .svc-row__go { opacity: 1; transform: none; }
@media (hover: none) { .svc-row__go { opacity: 1; transform: none; } }
.extras { margin-top: 56px; }
.extras__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 32px; flex-wrap: wrap; margin-bottom: 20px; }
.extras__head h3 { font-size: clamp(24px, 2.6vw, 34px); }
.extras__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.extras__list a { display: grid; gap: 8px; height: 100%; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; }
.extras__list a:hover { border-color: var(--red); }
.extras__list h4 { font: 400 24px/1.1 var(--serif); color: var(--bone); letter-spacing: 0; margin: 0; }
.svc-other { margin-top: 32px; color: var(--muted); font-size: 16px; }
.svc-other a { color: var(--bone); text-underline-offset: 4px; text-decoration-color: var(--red-hi); }

/* barbeiros */
.barbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.barber img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.barber h3 { margin: 16px 0 4px; font-size: 22px; }
.barber p { color: var(--muted); font-size: 15px; }
.barber__go { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; margin-top: 6px; color: var(--red-hi); font-weight: 600; text-decoration: none; }
.barber__go--off { color: var(--muted); font-weight: 400; }

/* produtos */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; }
.product img { aspect-ratio: 1; object-fit: cover; border-radius: var(--r); }
.product h3 { margin: 14px 0 4px; font-size: 18px; }
.product p { font-size: 15px; color: var(--muted); }

/* agendamento: ways to book on the left, the form on the right */
.book__grid { display: grid; grid-template-columns: 4fr 6fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.book-sec .t-label { color: var(--red-dk); }
.book-sec .sec-head .lead { color: #3A3C41; }
.book-sec .sec-head { margin-bottom: 32px; }
.ways { display: grid; border-top: 1px solid rgba(14,14,16,.18); }
.way { display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid rgba(14,14,16,.18); }
.way h3 { color: var(--band); font-size: 20px; }
.way p { color: #3A3C41; font-size: 16px; }
.way .arrow-link { color: var(--band); justify-self: start; background-image: linear-gradient(var(--band), var(--band)); }

/* instagram hook */
.ig__head { display: flex; align-items: end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 40px; }
.ig__head > div:first-child { display: grid; gap: 14px; }
.ig__at { font: 500 18px/1.3 var(--mono); color: var(--red-hi); text-decoration: none; }
.ig__at--ph { display: inline-block; padding: 4px 10px; border: 1px dashed var(--red); color: var(--muted); justify-self: start; }
.ig__side { display: grid; gap: 16px; justify-items: end; text-align: right; max-width: 340px; }
.ig .wall { grid-template-columns: repeat(6, 1fr); }
.ig .wall .pic { aspect-ratio: 1; }

/* reviews: h2 at section size, the big score as decoration under it */
.score .t-label { margin-bottom: 4px; }
.score h2 { margin-bottom: 8px; }
.score__n { font: 400 clamp(140px, 19vw, 280px)/.8 var(--serif); color: var(--bone); text-transform: none; }
.score p { color: var(--text); }

/* contato */
.contact { align-items: stretch; }
.contact .visit h3 { font: 500 12px/1.4 var(--mono); letter-spacing: .14em; color: var(--muted); margin-bottom: 10px; font-variation-settings: normal; }
.contact .visit .btn { justify-self: start; }
.contact__media { display: grid; gap: 24px; grid-template-rows: 1fr auto; min-width: 0; }
.contact__media .develop { min-height: 280px; }
.map iframe { display: block; width: 100%; height: 260px; border: 0; }

@media (max-width: 1023px) {
  .ig .wall { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .story__grid, .craft__grid, .book__grid { grid-template-columns: 1fr; }
  .svc-col { grid-template-columns: 1fr; }
  .svc-col--flip .svc-col__photo { order: 0; }
  .svc-col__photo { aspect-ratio: 16 / 10; min-height: 0; }
  .svc-col__photo img { position: static; }
  .ig__side { justify-items: start; text-align: left; }
}
@media (max-width: 760px) {
  .sec-head { margin-bottom: 32px; }
  .facts { grid-template-columns: repeat(3, 1fr); gap: 12px 16px; }
  .craft__pics { gap: 8px; }
  .barbers { grid-template-columns: 1fr 1fr; gap: 16px; }
  .ig .wall { grid-template-columns: repeat(3, 1fr); }
  .svc-row__name { font-size: 26px; }
}

.demo-strip { position: fixed; z-index: 60; left: 50%; bottom: 14px; transform: translateX(-50%); pointer-events: none;
  padding: 7px 14px; border-radius: 999px; background: rgba(20,18,16,.82); color: #f6f2ea;
  font: 500 12px/1.3 system-ui, sans-serif; letter-spacing: .02em; white-space: nowrap; max-width: calc(100% - 32px);
  overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 860px) { .demo-strip { bottom: auto; top: calc(var(--nav, 64px) + 8px); font-size: 12px; } }

/* rough, stamped look: grain only on large display type (40px and up), never on names, labels or text */
:root { --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.5 1.65'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero h1, h2, .svc-col h3, .close__name, .score__n { -webkit-mask-image: var(--grain); mask-image: var(--grain); -webkit-mask-size: 240px; mask-size: 240px; }
.book-sec em { color: var(--red-dk); }  /* darker red on the light panel (contrast) */

/* ================= menu board (services.layout "board", 30/11/2026) =================
   Short menus: big numbered rows in the display face, a red sweep on hover/focus, the photo of the row in
   the stage beside them (svc.js). Phones: thumbnails in the rows, no stage. */
.board { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.board__rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: none; }
.board__rows li { border-bottom: 1px solid var(--line); }
.board__row { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; column-gap: 20px; align-items: center;
  padding: 26px 20px 26px 12px; text-decoration: none; isolation: isolate; overflow: hidden; }
.board__row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red);
  clip-path: inset(0 100% 0 0); transition: clip-path .45s var(--ease); }
.board__row.is-on::before, .board__row:hover::before, .board__row:focus-visible::before { clip-path: inset(0 0 0 0); }
.board__n { font: 500 15px/1 var(--mono); color: var(--red-hi); align-self: start; padding-top: 14px; transition: color .3s; }
.board__thumb { display: none; }
.board__main { display: grid; gap: 6px; justify-items: start; min-width: 0; }
.board__name { font: 400 clamp(48px, 5.4vw, 84px)/.9 var(--serif); text-transform: uppercase; letter-spacing: .01em; color: var(--bone);
  transition: transform .45s var(--ease); }
.board__tag { order: -1; padding: 4px 10px; border-radius: 999px; background: var(--red); color: #fff;
  font: 500 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; transition: background-color .3s, color .3s; }
.board__sub { font-size: 16px; color: var(--text); transition: color .3s; }
.board__meta { grid-column: 3; font: 500 15px/1.4 var(--mono); color: var(--text); }
.board__go { grid-column: 3; justify-self: end; font: 600 14px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: #fff;
  opacity: 0; transform: translateX(-8px); transition: opacity .25s, transform .25s; }
.board__row.is-on .board__n, .board__row:hover .board__n, .board__row:focus-visible .board__n,
.board__row.is-on .board__sub, .board__row:hover .board__sub, .board__row:focus-visible .board__sub { color: #fff; }
.board__row.is-on .board__name, .board__row:hover .board__name, .board__row:focus-visible .board__name { transform: translateX(10px); }
.board__row.is-on .board__tag, .board__row:hover .board__tag, .board__row:focus-visible .board__tag { background: #fff; color: var(--red-dk); }
.board__row.is-on .board__go, .board__row:hover .board__go, .board__row:focus-visible .board__go { opacity: 1; transform: none; }
.board__row:focus-visible { outline-offset: -3px; outline-color: #fff; }
.board__stage { position: sticky; top: 100px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--band); }
.board__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04);
  transition: opacity .5s ease, transform .9s var(--ease); }
.board__stage img.is-on { opacity: 1; transform: none; }
.board__count { position: absolute; left: 16px; bottom: 16px; padding: 6px 12px; background: var(--ground); color: var(--bone);
  font: 500 13px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
@media (prefers-reduced-motion: reduce) { .board__row::before, .board__name, .board__stage img { transition: none; } }
@media (hover: none) { .board__row.is-on::before { clip-path: inset(0 100% 0 0); } .board__row.is-on .board__name { transform: none; }
  .board__row.is-on .board__n { color: var(--red-hi); } .board__row.is-on .board__sub { color: var(--text); }
  .board__row.is-on .board__tag { background: var(--red); color: #fff; } .board__go { opacity: 1; transform: none; color: var(--red-hi); } }
@media (max-width: 860px) {
  .board { grid-template-columns: 1fr; }
  .board__stage { display: none; }
  .board__row { grid-template-columns: 84px minmax(0, 1fr); column-gap: 16px; padding: 16px 8px 16px 0; }
  .board__n { display: none; }
  .board__thumb { display: block; width: 84px; height: 105px; object-fit: cover; border-radius: 6px; grid-row: 1 / 3; }
  .board__name { font-size: clamp(36px, 10vw, 48px); }
  .board__meta, .board__go { grid-column: 2; justify-self: start; }
  .board__go { margin-top: 8px; font-size: 13px; }
}

@media (max-width: 860px) {
  .sec-head { grid-template-columns: 1fr; }
  .sec-head .lead { justify-self: start; }
}

/* booking side: the opening hours under the ways (fills the column beside the form, useful when picking a day) */
.book__hours { margin-top: 32px; padding: 24px; background: #fff; border-radius: var(--r); }
.book__hours h3 { font-size: 22px; color: var(--ground); margin-bottom: 10px; }
.book__hours li { display: flex; min-height: 40px; align-items: center; font: 400 16px/1.4 var(--mono); color: #3A3C41; border-top: 1px solid rgba(14,14,16,.12); }
/* close: the name larger, so name + call fill the row */
.close__name { font-size: clamp(120px, 30vw, 460px); }
.close__call { max-width: none; }
/* small phones: the nav keeps badge + button only, the contact photo stays inside the screen */
@media (max-width: 420px) {
  .logo__txt { display: none; }
  .nav__cta { padding: 0 16px; font-size: 13px; }
}
.contact__media, .contact__media .develop { min-width: 0; max-width: 100%; }
.contact__media .develop img { width: 100%; }

/* ================= alignment pass (30/11/2026, Taste gate) =================
   One split line for the whole page: every two-column block is two equal columns with the same gap, so every
   second column starts on the same x, and both columns start at the top. Text left, visual right. */
:root { --split-gap: clamp(24px, 4vw, 64px); }
.split, .split--top, .story__grid, .craft__grid, .board, .book__grid, .close__grid, .sec-head, .ig__head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--split-gap); align-items: start; }
.sec-head { row-gap: 16px; align-items: end; }
.sec-head .lead { justify-self: start; }
.ig__head { align-items: end; }
.ig__side { justify-items: start; text-align: left; max-width: none; }
.close__grid { align-items: start; }
.close__name { font-size: clamp(120px, 26vw, 400px); }
.close__call { padding-top: .2em; }
/* contact: the details as text on the ground (no box), the shopfront and map on the right */
.contact .visit { background: none; border: 0; padding: 0; }
/* footer legal line on the footer's own four columns */
.footer__legal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.footer__legal a { display: inline-flex; align-items: center; min-height: 44px; }

/* nav: never wraps; links give way before they crowd */
.nav__links a, .logo__txt b, .logo__txt small { white-space: nowrap; }
.nav__links { gap: 22px; }
@media (max-width: 1080px) { .nav__links { display: none; } .nav__cta { margin-left: auto; } }

/* focus lands in view, clear of the fixed nav */
html { scroll-padding-top: 100px; }

/* menu board: "Agendar" always visible (never hidden behind hover), brighter on the active row */
.board__go { opacity: 1; transform: none; color: var(--muted); }
.board__row.is-on .board__go, .board__row:hover .board__go, .board__row:focus-visible .board__go { color: #fff; }

@media (max-width: 860px) {
  .split, .split--top, .story__grid, .craft__grid, .board, .book__grid, .close__grid, .sec-head, .ig__head { grid-template-columns: 1fr; row-gap: 24px; }
  .footer__legal { grid-template-columns: 1fr 1fr; }
}
/* phones: the hero fills the first screen on its own */
@media (max-width: 760px) {
  .hero { min-height: 100svh; }
  .hero__media img { height: 50svh; }
  .footer__legal { grid-template-columns: 1fr; }
}

/* ===== grid pass 2 (30/11): Taste's 12-column grid, 24px gutter, 64px side margins at 1440 ===== */
:root { --gutter: clamp(16px, 4.45vw, 64px); --split-gap: 24px; }
.quotes, .visit__cols, .craft__pics, .barbers, .footer__grid, .footer__legal { column-gap: 24px; }
.ig__head { align-items: start; }
.logo__txt { display: flex; align-items: baseline; gap: 10px; }
.hero { min-height: 100svh; }

/* ===== grid pass 3: the container is a real box (width + auto margins), not padding inside a full-width box ===== */
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); max-width: none; margin-inline: auto; padding: 0; }
.hero__inner { width: min(var(--wrap), 100% - 2 * var(--gutter)); }
.footer__legal { background: linear-gradient(var(--line), var(--line)) 0 0 / 100% 1px no-repeat; }
.ig__at--ph { border: 0; padding: 0; color: var(--muted); }
.close { padding-bottom: clamp(80px, 10vw, 128px); }
.close__name { justify-self: end; line-height: .8; }
@media (max-width: 860px) { .close__name { justify-self: start; } }
/* instant scrolling: smooth scroll cut short the focus scroll, leaving keyboard focus off-screen (Taste focus-visible) */
html { scroll-behavior: auto; }
/* grid pass 4 */
.close__name { justify-self: start; }
.footer__legal > :last-child { grid-column: 4; justify-self: end; }
.board__stage { position: relative; top: auto; align-self: stretch; aspect-ratio: auto; min-height: 520px; }
@media (max-width: 860px) { .footer__legal > :last-child { grid-column: auto; justify-self: start; } }
.footer__legal > :last-child { justify-self: stretch; }
.close__name { justify-self: stretch; }

/* ===== template extensions (30/11, for Janis Bull) ===== */
/* closing name sized to its letters: --n from the build, --glyph = average letter width of the display face */
:root { --glyph: .5; }
.close__name { font-size: clamp(64px, calc(44vw / (var(--n) * var(--glyph))), 400px); }
/* several units: ruled list under the contact block */
.shops { margin-top: 72px; }
.shops__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--split-gap); align-items: end; margin-bottom: 24px; }
.shops__head h3 { font-size: clamp(28px, 3vw, 44px); }
.shops__head p { color: var(--muted); }
.shops__list { border-top: 1px solid var(--line); }
.shop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--split-gap); align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.shop h3 { font-size: 28px; }
.shop p { grid-column: 2; grid-row: 1; }
.shop .arrow-link { grid-column: 2; grid-row: 2; justify-self: start; }
.footer__logo { width: 120px; height: auto; border-radius: 50%; }
@media (max-width: 860px) {
  .shops__head, .shop { grid-template-columns: 1fr; }
  .shop p, .shop .arrow-link { grid-column: 1; grid-row: auto; }
}
/* hero: a firm dark band on the left so the headline always sits on calm space, whatever the photo (30/11) */
.hero::after { background:
  linear-gradient(90deg, rgba(5,4,3,.92) 0%, rgba(5,4,3,.82) 30%, rgba(5,4,3,.35) 55%, rgba(5,4,3,0) 72%),
  linear-gradient(0deg, var(--ground) 0%, rgba(10,8,7,0) 30%),
  linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 20%); }
@media (max-width: 760px) { .hero::after { background: linear-gradient(0deg, var(--ground) 52%, rgba(10,8,7,0) 66%), linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 18%); } }
