:root {
  --petrol: #12332F;
  --petrol-2: #1C4A44;
  --bone: #ECEFEA;
  --paper: #F7F8F5;
  --brass: #D0993A;
  --red: #B3261E;
  --ink: #0E1B19;
  --muted: #4B5E5A;
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img, iframe { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--brass); color: var(--ink); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Topo */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px clamp(20px, 5vw, 64px);
  background: var(--petrol); color: var(--bone);
  border-bottom: 3px solid var(--red);
}
.brand { font-family: var(--display); font-weight: 900; font-size: 1.9rem; letter-spacing: .04em; text-decoration: none; line-height: 1; }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--brass); }
.menu-btn { display: none; background: none; border: 1px solid var(--bone); color: var(--bone); padding: 8px 14px; font: inherit; border-radius: 4px; cursor: pointer; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: clamp(24px, 6vw, 96px);
  min-height: min(86vh, 760px);
  padding: clamp(40px, 8vw, 96px) clamp(20px, 5vw, 64px);
  background: var(--petrol); color: var(--bone);
}
.hero h1 {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(4rem, 15vw, 10.5rem);
  line-height: .86; letter-spacing: .01em; text-transform: uppercase;
  margin: 12px 0 24px;
}
.lead { max-width: 34ch; font-size: clamp(1.15rem, 2.2vw, 1.4rem); margin: 0 0 32px; color: #D5DDD8; }
.status {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  font-weight: 600; font-size: .95rem;
  padding: 6px 14px; border-radius: 999px; background: var(--petrol-2);
}
.status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #8A9A96; }
.status.open::before { background: #4ADE80; }
.status.closed::before { background: var(--red); box-shadow: 0 0 0 2px #E8B4B0; }

.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font: 600 1rem var(--body); padding: 14px 26px; border-radius: 4px;
  border: 2px solid transparent; transition: background .15s, color .15s;
}
.btn-primary { background: var(--brass); color: var(--ink); }
.btn-primary:hover { background: #E2AB4C; }
.btn-ghost { border-color: var(--bone); color: var(--bone); }
.btn-ghost:hover { background: var(--bone); color: var(--petrol); }
.btn-ghost.dark { border-color: var(--petrol); color: var(--petrol); }
.btn-ghost.dark:hover { background: var(--petrol); color: var(--bone); }

/* Poste de barbeiro: o elemento marcante */
.pole {
  width: clamp(70px, 12vw, 130px); height: min(64vh, 520px);
  border-radius: 999px; padding: 6px;
  background: var(--bone);
  border: 6px solid var(--brass);
  box-shadow: inset 0 0 0 4px var(--petrol);
  overflow: hidden;
}
.pole span {
  display: block; width: 100%; height: 100%; border-radius: 999px;
  background: repeating-linear-gradient(-45deg,
    var(--red) 0 22px, var(--bone) 22px 44px, #2C5B9E 44px 66px, var(--bone) 66px 88px);
  background-size: 125px 125px;
  animation: spin 3.2s linear infinite;
}
@keyframes spin { to { background-position: 0 125px; } }

/* Seções */
.section { padding: clamp(56px, 9vw, 104px) clamp(20px, 5vw, 64px); }
.section.alt { background: var(--bone); }
.section > * { max-width: 1100px; }
h2 {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1; margin: 0 0 16px; color: var(--petrol);
}
.section-intro { max-width: 58ch; color: var(--muted); margin: 0 0 40px; }

.groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 40px 48px; }
.group h3 {
  font-family: var(--display); font-weight: 700; font-size: 1.7rem; margin: 0 0 12px;
  padding-bottom: 8px; border-bottom: 3px solid var(--red); color: var(--petrol);
}
.group ul { list-style: none; margin: 0; padding: 0; }
.group li { padding: 8px 0; border-bottom: 1px solid #D3DAD5; }

/* Horários */
.hours { border-collapse: collapse; width: 100%; max-width: 520px; margin-top: 8px; }
.hours th, .hours td { text-align: left; padding: 16px 14px; border-bottom: 1px solid #C5CEC8; font-size: 1.15rem; }
.hours td { text-align: right; font-weight: 600; }
.hours tr.today { background: var(--petrol); color: var(--bone); }
.hours tr.today th::after { content: " (hoje)"; font-weight: 400; color: var(--brass); }

/* Agendamento */
.booking { display: grid; gap: 12px; max-width: 420px; }
.booking label { font-weight: 600; }
.booking select {
  font: inherit; padding: 14px; border: 2px solid var(--petrol); border-radius: 4px; background: #fff; color: var(--ink);
}
.booking .btn { margin-top: 8px; background: var(--petrol); color: var(--bone); border: 0; }
.booking .btn:hover { background: var(--petrol-2); }

/* Local */
address { font-style: normal; font-size: 1.25rem; margin-bottom: 24px; }
.map { margin-top: 32px; border: 4px solid var(--petrol); border-radius: 6px; overflow: hidden; }
.map iframe { display: block; width: 100%; height: 360px; border: 0; }

/* Dados da empresa */
.company { margin: 8px 0 0; max-width: 720px; }
.company > div {
  display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 8px 24px;
  padding: 16px 0; border-bottom: 1px solid #C5CEC8;
}
.company dt { font-weight: 600; color: var(--muted); }
.company dd { margin: 0; font-size: 1.1rem; overflow-wrap: anywhere; }
@media (max-width: 560px) { .company > div { grid-template-columns: 1fr; } }

/* Rodapé */
.footer { background: var(--ink); color: #C9D3CE; padding: 40px clamp(20px, 5vw, 64px) 96px; font-size: .95rem; }
.footer p { margin: 4px 0; }
.footer strong { color: var(--bone); }
.footer .legal { margin-top: 16px; font-size: .85rem; color: #91A09A; }

.float-wpp {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  background: #1FAF5A; color: #fff; font-weight: 600; text-decoration: none;
  padding: 14px 22px; border-radius: 999px; box-shadow: 0 6px 18px rgba(0,0,0,.3);
}
.float-wpp:hover { background: #17924A; }

/* Mobile */
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--petrol); border-bottom: 3px solid var(--red);
  }
  .nav.open { display: flex; }
  .nav a { padding: 16px 24px; border-bottom: 1px solid var(--petrol-2); }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .pole { order: -1; width: 100%; height: 38px; border-width: 4px; padding: 4px; }
  .pole span { animation-name: spin-x; }
  @keyframes spin-x { to { background-position: 125px 0; } }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pole span { animation: none; }
}
