:root {
  color-scheme: dark;
  --deep: #02130b;
  --green: #062416;
  --green-soft: #0e3a25;
  --green-bright: #1e7148;
  --cream: #fbf7ed;
  --muted: #cbd4ca;
  --gold: #c7a15a;
  --gold-light: #f4ddb0;
  --line: rgba(244, 221, 176, 0.22);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.54);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--deep);
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  margin: 0;
  color: var(--cream);
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    linear-gradient(180deg, rgba(2, 19, 11, 0.96), rgba(3, 25, 15, 1)),
    url("assets/barbearia-bg.png") center / cover fixed;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 82% 12%, rgba(199, 161, 90, 0.18), transparent 25%),
    radial-gradient(circle at 10% 28%, rgba(30, 113, 72, 0.2), transparent 28%);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 18px clamp(16px, 5vw, 62px);
  background: linear-gradient(180deg, rgba(2, 19, 11, 0.88), rgba(2, 19, 11, 0.6));
  backdrop-filter: blur(14px);
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 900;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 24px;
  justify-content: center;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

nav a,
.text-link,
footer a {
  text-decoration: none;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 900;
  text-decoration: none;
}

.header-cta {
  min-height: 42px;
  color: #17110a;
  background: linear-gradient(135deg, #f4ddb0, #c7a15a 55%, #8f6b26);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  align-items: end;
  padding: 118px clamp(16px, 6vw, 76px) clamp(34px, 7vw, 72px);
  background:
    linear-gradient(90deg, rgba(2, 19, 11, 0.92) 0%, rgba(2, 19, 11, 0.68) 42%, rgba(2, 19, 11, 0.22) 72%),
    linear-gradient(0deg, rgba(2, 19, 11, 0.68), rgba(2, 19, 11, 0.08) 52%, rgba(2, 19, 11, 0.58)),
    url("assets/fachada-pablim-01.png") center / cover;
}

.hero::after {
  content: "";
  display: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  max-width: 9ch;
  margin-bottom: 18px;
  font-size: clamp(4rem, 11vw, 8.4rem);
  line-height: 0.84;
}

.lead {
  max-width: 590px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.actions,
.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary {
  background: linear-gradient(135deg, var(--green-bright), var(--green-soft));
}

.gold {
  color: #17110a;
  background: linear-gradient(135deg, #f4ddb0, #c7a15a 52%, #8f6b26);
}

.outline {
  background: rgba(251, 247, 237, 0.08);
}

.address-line {
  margin-top: 24px;
  margin-bottom: 0;
  color: var(--gold-light);
  font-weight: 900;
}

.service-strip,
.experience,
.location,
.final-cta {
  width: min(1160px, calc(100% - 28px));
  margin: 28px auto;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
  box-shadow: var(--shadow);
}

.service-strip article {
  min-height: 220px;
  padding: clamp(22px, 4vw, 36px);
  background:
    linear-gradient(135deg, rgba(199, 161, 90, 0.13), transparent 48%),
    rgba(3, 25, 15, 0.92);
}

.service-strip span {
  color: var(--gold-light);
  font-weight: 900;
}

.service-strip h2 {
  margin: 28px 0 12px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.92;
}

.service-strip p,
.experience-copy p,
.location-copy p {
  color: var(--muted);
  line-height: 1.6;
}

.experience {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: clamp(18px, 4vw, 40px);
  align-items: center;
  padding: clamp(22px, 4vw, 42px);
  border-radius: 8px;
  background: rgba(3, 25, 15, 0.86);
  box-shadow: var(--shadow);
}

.experience h2,
.location h2,
.final-cta h2 {
  margin-bottom: 16px;
  font-size: clamp(2.25rem, 5vw, 4.8rem);
  line-height: 0.92;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--gold-light);
  font-weight: 900;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 14px;
}

.photo-grid img {
  display: block;
  width: 100%;
  height: 520px;
  border-radius: 8px;
  object-fit: cover;
}

.photo-grid img:nth-child(2) {
  height: 420px;
  align-self: end;
}

.location {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) 1fr;
  gap: 18px;
  padding: clamp(22px, 4vw, 42px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(199, 161, 90, 0.12), transparent 42%),
    rgba(3, 25, 15, 0.9);
  box-shadow: var(--shadow);
}

.location iframe {
  width: 100%;
  min-height: 390px;
  border: 0;
  border-radius: 8px;
}

.final-cta {
  padding: clamp(28px, 5vw, 58px);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(3, 25, 15, 0.94), rgba(6, 36, 22, 0.84)),
    url("assets/fachada-pablim-02.png") center / cover;
  box-shadow: var(--shadow);
  text-align: center;
}

.final-cta h2 {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.final-cta .actions {
  justify-content: center;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 32px 18px 46px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

footer p {
  margin-bottom: 0;
}

footer a {
  color: var(--gold-light);
}

.roulette-pop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(2, 19, 11, 0.84);
  opacity: 0;
  overflow-y: auto;
  pointer-events: none;
  -webkit-overflow-scrolling: touch;
  transition: opacity 220ms ease;
}

.roulette-pop.show {
  display: grid;
  opacity: 1;
  pointer-events: auto;
}

.roulette-pop__dialog {
  position: relative;
  overflow: hidden;
  width: min(1180px, 100%);
  height: min(720px, 92vh);
  border-radius: 8px;
  background: var(--deep);
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.72);
}

.roulette-pop__dialog iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.roulette-pop__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #17110a;
  cursor: pointer;
  background: linear-gradient(135deg, #f4ddb0, #c7a15a);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    grid-template-columns: auto 1fr;
  }

  nav {
    justify-content: flex-end;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 760px;
    background-position: center;
  }

  .service-strip,
  .experience,
  .location {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .photo-grid img,
  .photo-grid img:nth-child(2) {
    height: 420px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px;
  }

  .brand {
    font-size: 1.22rem;
  }

  nav {
    gap: 10px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: 100svh;
    padding: 100px 14px 26px;
    background:
      linear-gradient(180deg, rgba(2, 19, 11, 0.68), rgba(2, 19, 11, 0.92) 72%),
      url("assets/fachada-pablim-01.png") center / cover;
  }

  h1 {
    font-size: clamp(3.6rem, 19vw, 5.3rem);
  }

  .actions,
  .location-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .service-strip,
  .experience,
  .location,
  .final-cta {
    width: min(100% - 20px, 1160px);
    margin: 16px auto;
  }

  .service-strip article,
  .experience,
  .location,
  .final-cta {
    padding: 18px;
  }

  .service-strip article {
    min-height: auto;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }

  .photo-grid img,
  .photo-grid img:nth-child(2) {
    height: auto;
    max-height: 520px;
  }

  .location iframe {
    min-height: 300px;
  }

  .roulette-pop {
    padding: 8px;
    place-items: start center;
  }

  .roulette-pop__dialog {
    height: 94svh;
    margin-top: 8px;
    margin-bottom: 8px;
  }
}
