:root {
  color-scheme: light;
  --ink: #201c18;
  --dark: #181612;
  --paper: #f8f3e9;
  --sand: #eee5d7;
  --bronze: #d8a76f;
  --rust: #81512e;
  --muted: #66594d;
  --line: #d5c6b4;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: clamp(62px, 7.5vw, 108px); }

.skip-link {
  position: fixed;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 8px 16px;
  background: var(--paper);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header, .site-footer { background: var(--dark); color: var(--paper); }
.site-header { border-bottom: 1px solid #4b3d30; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-inner { min-height: 86px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.brand-type { display: grid; gap: 4px; line-height: 1; }
.brand-type small { color: var(--bronze); font-size: .64rem; letter-spacing: .17em; text-transform: uppercase; }
.brand-type strong { font: 700 1.38rem/.95 var(--serif); text-transform: uppercase; letter-spacing: .025em; }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 4vw, 54px); }
.site-nav a, .site-footer a:not(.brand) { color: #e1d6c8; font-size: .88rem; text-decoration: none; }
.site-nav a:hover, .site-footer a:hover { color: var(--bronze); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid transparent;
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}
.button-outline { border-color: #806345; }
.button-outline:hover { background: #3a2c21; }
.button-fill { background: var(--bronze); color: var(--dark); }
.button-fill:hover { background: #efbd86; }
.header-booking { flex-shrink: 0; gap: 10px; }
.booking-label-short { display: none; }

.hero { position: relative; isolation: isolate; color: var(--paper); background: var(--dark); }
.hero-photo {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #15120ef5 0%, #15120ed9 24%, #15120e73 51%, #15120e00 74%),
    url('assets/barbeiro-velasque.jpg') right center / auto 100% no-repeat;
}
.hero-inner { display: flex; align-items: center; min-height: clamp(535px, 43vw, 720px); padding-block: 64px; }
.hero-copy { width: min(100%, 660px); }
.eyebrow { color: var(--rust); font-size: .73rem; line-height: 1.5; font-weight: 750; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow::before { content: ''; display: inline-block; width: 25px; height: 1px; margin: 0 11px 3px 0; background: currentColor; }
.hero .eyebrow, .house .eyebrow { color: var(--bronze); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; }
h1 { margin-block: 19px 23px; font-size: clamp(3.35rem, 6.25vw, 6.65rem); line-height: .99; letter-spacing: -.066em; }
h1 em { color: var(--bronze); font-weight: 400; }
.hero-description { max-width: 34ch; color: #ede2d5; font-size: clamp(1rem, 1.45vw, 1.2rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 33px; }
.hero-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: .88rem; text-underline-offset: 5px; }
.hero-link:hover { color: var(--bronze); }
.photo-note { position: absolute; right: 18px; bottom: 14px; padding: 3px 8px; background: #181612e8; color: #e5dacf; font-size: .7rem; }

h2 { margin-top: 11px; font-size: clamp(2.6rem, 5.3vw, 5rem); line-height: .99; letter-spacing: -.055em; }
h3 { font-size: clamp(1.36rem, 2.35vw, 2rem); line-height: 1.14; letter-spacing: -.034em; }
.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 36px 0 0;
  padding: 0;
  border-block: 1px solid var(--line);
  list-style: none;
}
.service-list li { padding: 24px 28px 24px 0; }
.service-list li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.service-list p, .section-heading > p, .comparison p, .visit-inner p:not(.eyebrow) { color: var(--muted); }
.service-list p { margin-top: 9px; max-width: 29ch; }
.draft-note { margin-top: 20px; font-size: .82rem; color: var(--muted); }

.gallery { background: var(--sand); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px 36px; }
.section-heading > p { max-width: 31ch; }
.comparison-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
.comparison { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.comparison-images { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; overflow: hidden; background: var(--paper); }
.portrait {
  position: relative;
  aspect-ratio: 1;
  background-image: url('assets/antes-depois.webp');
  background-size: 300% 200%;
  background-position: var(--col) var(--row);
  background-repeat: no-repeat;
}
.social { --col: 0%; }
.fade { --col: 50%; }
.beard { --col: 100%; }
.before { --row: 0%; }
.after { --row: 100%; }
.portrait span {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 3px 7px;
  background: var(--dark);
  color: var(--paper);
  font-size: .65rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.after span { background: var(--paper); color: var(--ink); }
.comparison h3 { margin-top: 16px; font-size: 1.47rem; }
.comparison p { margin-top: 4px; font-size: .92rem; }

.house { background: var(--dark); color: var(--paper); }
.house-inner { display: grid; grid-template-columns: 1.13fr .87fr; align-items: center; gap: clamp(35px, 6vw, 92px); }
.house-copy > p:not(.eyebrow) { max-width: 47ch; margin-top: 22px; color: #e1d6c8; }
.house-mark { display: grid; place-items: center; padding: 19px; background: radial-gradient(ellipse at center, #3b2b20, var(--dark) 73%); }
.house-mark img { width: min(100%, 360px); }
.house-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin-top: 30px; }
.house-details div { padding-top: 13px; border-top: 1px solid #614b36; }
.house-details dt { color: var(--bronze); font-weight: 700; }
.house-details dd { margin-top: 4px; color: #e1d6c8; font-size: .9rem; }
.team { margin-top: 27px; }
.team h3 { font-size: 1.43rem; }
.team p { margin-top: 5px; color: #cbbbab; font-size: .86rem; }

.visit-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 28px 60px; }
.visit-inner p:not(.eyebrow) { margin-top: 16px; }
.visit-details { border-top: 1px solid var(--line); }
.visit-details div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-block: 10px; border-bottom: 1px solid var(--line); }
.visit-details dt { font-weight: 700; }
.visit-details dd { color: var(--muted); text-align: right; }
.footer-inner { min-height: 96px; padding-block: 16px; }
.footer-inner > p { color: #cbbbab; font-size: .82rem; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.admin-access { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid #806345; }
.admin-access:hover { background: #3a2c21; }

@media (max-width: 840px) {
  .wrap { width: calc(100% - 56px); }
  .header-inner { gap: 15px; }
  .site-nav { gap: 18px; }
  .hero-inner { min-height: 480px; }
  .hero-photo { background-position: 58% center; }
  .comparison-grid { gap: 15px; }
}

@media (max-width: 660px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { display: grid; grid-template-columns: 1fr auto; min-height: auto; padding-top: 9px; gap: 5px 12px; }
  .header-inner .brand img { width: 49px; }
  .header-inner .button { min-height: 42px; padding: 8px 11px; gap: 8px; }
  .booking-label-wide { display: none; }
  .booking-label-short { display: inline; }
  .site-nav { grid-area: 2 / 1 / 3 / 3; gap: 0 16px; justify-content: space-between; border-top: 1px solid #4b3d30; }
  .site-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .8rem; }
  .hero { display: flex; flex-direction: column; }
  .hero-inner { min-height: 0; padding-block: 37px 30px; }
  .hero-photo {
    position: static;
    order: 1;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: url('assets/barbeiro-velasque.jpg') center / cover no-repeat;
  }
  h1 { margin-block: 14px 17px; font-size: clamp(2.85rem, 10.4vw, 4.4rem); }
  .hero-actions { margin-top: 21px; gap: 8px 17px; }
  .photo-note { right: 8px; bottom: 8px; }
  .service-list, .comparison-grid, .house-inner, .visit-inner { grid-template-columns: 1fr; }
  .service-list { margin-top: 26px; }
  .service-list li, .service-list li + li { padding: 15px 0; border-left: 0; }
  .service-list li + li { border-top: 1px solid var(--line); }
  .section-heading { align-items: start; flex-direction: column; }
  .comparison-grid { margin-top: 22px; gap: 23px; }
  .house-mark { padding: 0; }
  .house-mark img { width: min(75%, 300px); }
  .footer-inner { flex-wrap: wrap; gap: 10px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

@media (max-width: 360px) {
  .header-inner .brand { gap: 8px; }
  .header-inner .brand-type strong { font-size: 1.08rem; }
}
