/* Meduzza Barbearia
   The logo is two flat fills plus a black keyline: bright teal everywhere except
   the two blades, which are dark teal and sit back. Display type borrows that
   same figure/shadow relationship, so the headlines read like their signage. */

@font-face {
  font-family: "Big Shoulders";
  src: url("fonts/BigShoulders-var-latin.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/SpaceGrotesk-var-latin.woff2") format("woff2-variations");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --ink: #04120E;        /* page ground — a green black, from the awning in shadow */
  --forest: #0B3126;     /* the storefront paint, best real sample from the facade */
  --keyline: #016352;    /* logo shadow tone; every offset and hairline */
  --teal: #00C7A6;       /* logo teal — the only bright note */
  --bone: #FEFEFE;
  --dim: rgba(254, 254, 254, .64);
  --dimmer: rgba(254, 254, 254, .52);  /* 5.6:1 on --ink; .40 was 3.8:1 and failed AA */

  --ease: cubic-bezier(.16, .84, .34, 1);
  --wrap: 1180px;
  --gut: clamp(20px, 5vw, 56px);

  --display: "Big Shoulders", "Space Grotesk", system-ui, sans-serif;
  --body: "Space Grotesk", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  font-weight: 400;
  font-size: clamp(16px, 1.05vw, 17px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

::selection { background: var(--teal); color: #04120E; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--teal); color: #04120E; padding: 12px 18px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { left: 8px; top: 8px; }

.mark-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- the mark ---------- */

/* mark.svg is genuinely two-tone: teal fill, dark-teal blades, black keyline, all
   baked onto the paths. Instances are plain <use> — no recolouring, no layering.

   The keyline is dropped, because this page is dark. On the white it was drawn for
   it reads as depth; on #04120E it is invisible but still subtractive — it eats into
   the teal from both sides, and BARBEARIA's thin strokes and flourish rules are thin
   enough that it breaks them into slivers at share-card size. */
#emblem, #wordmark { stroke: none; }
.hdr__mark use { fill: var(--teal); }   /* the wordmark group alone carries no fill */

/* ---------- type ---------- */

.display {
  font-family: var(--display);
  font-weight: 800;
  /* loose enough that a highlight box never crowds the line above it */
  line-height: .96;
  letter-spacing: -.005em;
  text-transform: uppercase;
  margin: 0 0 .35em;
  text-wrap: balance;
  /* the logo's own construction: a dark copy sitting behind and below */
  text-shadow: .055em .06em 0 var(--keyline);
}
.display--xl { font-size: clamp(44px, 8.2vw, 108px); }
.display--l  { font-size: clamp(34px, 5.4vw, 70px); }
.display--m  { font-size: clamp(26px, 3.2vw, 40px); }

/* their green highlight box on a display word */
.box {
  font-style: normal;
  background: var(--teal);
  color: #04120E;
  padding: 0 .12em .02em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  text-shadow: none;
}

.eyebrow {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 1.4em;
}

.lede {
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--dim);
  max-width: 46ch;
  margin: 0 0 2em;
}
.lede--wide { max-width: 62ch; }

.note { font-size: 15px; color: var(--dim); margin: 2.5em 0 0; }

.lnk {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.lnk:hover { color: var(--bone); }
.lnk--big {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 48px);
  text-decoration: none;
  letter-spacing: -.01em;
}

/* ---------- layout ---------- */

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

.section { padding-block: clamp(72px, 11vw, 150px); border-top: 1px solid rgba(1, 99, 82, .55); }

/* the header is sticky, so anchored sections must stop clear of it */
section[id] { scroll-margin-top: 76px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--body); font-weight: 600; font-size: 15px;
  text-decoration: none; padding: 12px 20px;
  border: 1px solid transparent;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn--lg { font-size: 16px; padding: 16px 26px; }
.btn--wa { background: var(--teal); color: #04120E; }
.btn--wa:hover { background: var(--bone); }
.btn--ghost { border-color: var(--keyline); color: var(--bone); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn--wa::before {
  content: ""; width: 1.05em; height: 1.05em; flex: none;
  background: currentColor;
  -webkit-mask: var(--wa) center/contain no-repeat;
  mask: var(--wa) center/contain no-repeat;
}
:root {
  --wa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.75.46 3.45 1.32 4.95L2 22l5.25-1.38a9.9 9.9 0 0 0 4.79 1.22h.01c5.46 0 9.91-4.45 9.91-9.91 0-2.65-1.03-5.14-2.9-7.01A9.82 9.82 0 0 0 12.04 2Zm0 1.67c2.2 0 4.27.86 5.83 2.42a8.19 8.19 0 0 1 2.41 5.82c0 4.54-3.7 8.24-8.25 8.24a8.23 8.23 0 0 1-4.2-1.15l-.3-.18-3.12.82.83-3.04-.2-.31a8.2 8.2 0 0 1-1.26-4.38c0-4.54 3.7-8.24 8.26-8.24Zm-4.7 4.4c-.14.03-.36.1-.55.32-.19.21-.72.71-.72 1.72s.74 1.99.84 2.13c.1.14 1.44 2.28 3.55 3.1 1.75.69 2.11.55 2.49.51.38-.03 1.22-.5 1.4-.98.17-.48.17-.9.12-.98-.05-.09-.19-.14-.4-.24-.21-.11-1.22-.6-1.41-.67-.19-.07-.33-.1-.47.1-.14.21-.54.67-.66.81-.12.14-.24.16-.45.05-.21-.1-.88-.32-1.68-1.03-.62-.55-1.04-1.24-1.16-1.44-.12-.21-.01-.32.09-.42.09-.09.21-.24.31-.36.1-.12.14-.21.21-.35.07-.14.03-.26-.02-.36-.05-.11-.46-1.13-.64-1.54-.17-.4-.34-.35-.47-.35h-.4Z'/%3E%3C/svg%3E");
}

/* ---------- header ---------- */

.hdr {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: clamp(16px, 3vw, 40px);
  padding: 12px var(--gut);
  background: rgba(4, 18, 14, 0);
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.hdr.is-stuck {
  background: rgba(4, 18, 14, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: rgba(1, 99, 82, .6);
}
/* The full lockup does turn to mush small, but the wordmark alone is a wide,
   shallow shape — 28px of height is a generous budget for it, and it stays their
   real lettering rather than a typeface standing in. The emblem sits out here. */
.hdr__mark { display: block; flex: none; line-height: 0; }
.hdr__mark svg { height: 28px; width: auto; display: block; }
.hdr__nav { display: flex; gap: clamp(14px, 2vw, 28px); margin-left: auto; }
.hdr__nav a {
  font-size: 14px; font-weight: 500; text-decoration: none; color: var(--dim);
  transition: color .25s var(--ease);
}
.hdr__nav a:hover { color: var(--teal); }
.hdr__cta { flex: none; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  padding: clamp(90px, 14vh, 150px) var(--gut) clamp(56px, 9vh, 96px);
  margin-top: -66px;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__gl, .hero__still {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__gl { opacity: 0; transition: opacity .9s var(--ease); }
.hero__gl.is-live { opacity: 1; }
.hero__gl.is-live + .hero__still { opacity: 0; }
.hero__still { transition: opacity .9s var(--ease); }

.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(4,18,14,.92) 0%, rgba(4,18,14,.70) 40%, rgba(4,18,14,.22) 70%, rgba(4,18,14,.45) 100%),
    linear-gradient(to bottom, rgba(4,18,14,.70) 0%, rgba(4,18,14,.10) 38%, rgba(4,18,14,.82) 100%);
}

.hero__emblem {
  position: absolute;
  z-index: -1;
  /* inset rather than flush: the blades were touching the viewport edge, and the
     snakes now reach outward past the artwork's own bounds */
  right: clamp(16px, 4vw, 76px);
  top: 13%;
  width: min(38vw, 470px);
  pointer-events: none;
}
.emblem { width: 100%; height: auto; display: block; overflow: visible; }
/* arrives as stone, wakes into the brand teal — a filter, since the fills are baked */
.emblem { transition: filter 1.5s var(--ease); }
.emblem.is-stone { filter: grayscale(1) brightness(.46) contrast(.88); }

.hero__body { position: relative; max-width: 660px; }

.hero__h1 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: .93;
  letter-spacing: -.008em;
  font-size: clamp(40px, 6.6vw, 92px);
  margin: 0 0 clamp(24px, 3.5vw, 40px);
}
.hero__h1 span {
  display: block;
  text-shadow: .055em .06em 0 var(--keyline);
}
.hero__h1--box { margin-block: .1em .04em; text-shadow: none; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: clamp(28px, 4vw, 44px); }

.hero__meta {
  display: flex; flex-wrap: wrap; gap: 6px 22px;
  font-size: 14px; color: var(--dim); margin: 0;
}
/* No separator glyph between these: they sit inline at desktop width and wrap to
   two lines on a phone, where a divider strands itself at the start of line two
   with nothing to its left. The 22px gap already separates them. */

/* ---------- serviços ---------- */

.svc { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(1,99,82,.55); }
.svc__row { padding: clamp(20px, 2.6vw, 34px) 0; border-bottom: 1px solid rgba(1,99,82,.55); }
.svc__name {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(28px, 4.4vw, 58px); line-height: .95; letter-spacing: -.005em;
  margin: 0; color: var(--bone);
  transition: color .3s var(--ease);
}
.svc__row:hover .svc__name { color: var(--teal); }
.svc__row--quote { display: grid; gap: clamp(14px, 2vw, 40px); grid-template-columns: 1fr; }
.svc__quote { margin: 0; color: var(--teal); font-size: clamp(16px, 1.5vw, 19px); }
.svc__quote p { margin: 0; }
.svc__quote cite {
  display: block; margin-top: .7em; font-style: normal;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dimmer);
}

.svc__extra { margin: 2.2em 0 0; color: var(--dim); font-size: clamp(16px, 1.4vw, 19px); }
.svc__extra strong { color: var(--bone); font-weight: 500; }

/* ---------- clube ---------- */

.section--clube { background: var(--forest); }
.clube__text { max-width: 720px; }
.clube .display { margin-bottom: .5em; }

/* ---------- provas ---------- */

.provas { display: grid; gap: clamp(16px, 2vw, 26px); grid-template-columns: 1fr; }
@media (min-width: 760px) { .provas { grid-template-columns: 1fr 1fr; } }
.prova {
  margin: 0; padding: clamp(20px, 2.2vw, 30px);
  border: 1px solid rgba(1,99,82,.55);
  display: flex; flex-direction: column; gap: 1.2em;
}
.prova blockquote { margin: 0; }
.prova p { margin: 0; font-size: 15px; color: var(--dim); }
.prova figcaption {
  margin-top: auto; font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal);
}

/* ---------- onde ---------- */

/* the address is a long string in a narrower column now that the storefront photo
   takes more room; cap it so "R. Venâncio Aires," holds one line */
.onde__text .display { font-size: clamp(30px, 4.2vw, 54px); }

.onde { display: grid; gap: clamp(32px, 5vw, 72px); grid-template-columns: 1fr; align-items: start; }
.horas { margin: 0 0 2.2em; padding: 0; border-top: 1px solid rgba(1,99,82,.55); }
.horas > div {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 12px 0; border-bottom: 1px solid rgba(1,99,82,.55);
}
.horas dt { color: var(--dim); font-size: 15px; }
.horas dd { margin: 0; font-weight: 500; font-size: 15px; }
.fone { margin: 0; }
.fone__sub { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dimmer); }

.onde__media { display: grid; gap: clamp(16px, 2vw, 24px); }
.shot { width: 100%; border: 1px solid rgba(1,99,82,.55); }
.mapa {
  aspect-ratio: 16 / 7;
  border: 1px solid rgba(1, 99, 82, .55);
  /* The keyless ?q=&output=embed map has no dark theme — Google serves the same
     light basemap whatever the viewer prefers (measured: mean luma 253.7 either
     way). Filtering it dark inverts Google's wordmark, the POI pins and the
     marker along with the basemap, so instead the map is mounted on a light card
     and reads as a deliberate object, pairing with the daylight storefront photo
     above it rather than sitting in the layout as a bright hole. */
  background: var(--bone);
  padding: 7px;
}
.mapa iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- trabalhe conosco ---------- */

.time { margin: clamp(36px, 5vw, 64px) 0; }
.verdade { margin-bottom: clamp(40px, 6vw, 80px); }
.verdade__q {
  margin: 0; padding-left: clamp(16px, 2vw, 28px);
  border-left: 3px solid var(--teal);
  max-width: 64ch;
}
.verdade__q p { margin: 0; font-size: clamp(17px, 1.6vw, 22px); color: var(--bone); }

.numeros {
  display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  background: rgba(1,99,82,.55);
  border: 1px solid rgba(1,99,82,.55);
  margin-bottom: clamp(48px, 7vw, 90px);
}
.num { background: var(--ink); padding: clamp(20px, 2.4vw, 30px); display: grid; gap: .3em; }
.num__v {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(34px, 4.4vw, 56px); line-height: .9; color: var(--teal);
}
.num__k { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }

.valores__h { margin-bottom: 1em; }
.valores {
  list-style: none; counter-reset: v; margin: 0 0 clamp(48px, 7vw, 90px); padding: 0;
  display: grid; gap: clamp(18px, 2.2vw, 30px);
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}
.valores li { counter-increment: v; padding-top: 14px; border-top: 1px solid rgba(1,99,82,.55); }
.valores h4 {
  margin: 0 0 .35em; font-size: 16px; font-weight: 600; color: var(--bone);
  display: flex; gap: .7em;
}
.valores h4::before {
  content: counter(v, decimal-leading-zero);
  color: var(--teal); font-variant-numeric: tabular-nums; flex: none;
}
.valores p { margin: 0; font-size: 14px; color: var(--dim); }

.vagas__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(1,99,82,.55); }
.vagas__list li { border-bottom: 1px solid rgba(1,99,82,.55); }
.vagas__list a {
  display: grid; gap: 4px; padding: clamp(20px, 2.4vw, 30px) 0;
  text-decoration: none;
  grid-template-columns: 1fr;
  transition: padding-left .35s var(--ease);
}
.vagas__list a:hover { padding-left: 14px; }
.vaga__t {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(24px, 3vw, 38px); line-height: .95;
  transition: color .3s var(--ease);
}
.vagas__list a:hover .vaga__t { color: var(--teal); }
.vaga__d { font-size: 15px; color: var(--dim); max-width: 52ch; }
.vaga__go {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal);
  margin-top: .5em;
}

/* ---------- footer ---------- */

.ft { border-top: 1px solid rgba(1,99,82,.55); padding-block: clamp(56px, 8vw, 90px) 0; }
.ft__grid { display: grid; gap: clamp(28px, 4vw, 48px); grid-template-columns: 1fr; }
.ft__mark svg { width: min(240px, 60vw); height: auto; display: block; overflow: visible; }
.ft__h { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin: 0 0 1em; font-weight: 500; }
.ft__col p { margin: 0 0 .8em; font-size: 15px; color: var(--dim); }
.ft__cult {
  margin: clamp(48px, 7vw, 84px) 0 0;
  padding: clamp(20px, 3vw, 34px) var(--gut);
  border-top: 1px solid rgba(1,99,82,.55);
  text-align: center;
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(20px, 3.4vw, 44px); line-height: 1;
  color: var(--dimmer);
}

/* ---------- mobile WhatsApp bar ---------- */

.wabar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  background: var(--teal); color: #04120E;
  font-weight: 600; font-size: 15px; text-decoration: none;
}
.wabar__n { font-weight: 400; opacity: .75; }

/* ---------- scroll reveal ---------- */

.rv { opacity: 0; transform: translateY(22px); }
.rv.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }

/* ---------- responsive ---------- */

@media (min-width: 720px) {
  .svc__row--quote { grid-template-columns: 1.3fr 1fr; align-items: baseline; }
}

@media (min-width: 900px) {
  .onde { grid-template-columns: 1fr 1.4fr; }
  .ft__grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
}

@media (max-width: 899px) {
  .hdr__nav { display: none; }
  .hdr__cta { margin-left: auto; }
}

@media (max-width: 700px) {
  .hdr__cta { display: none; }
  .hdr { justify-content: space-between; }
  .hdr__mark svg { height: 23px; }
  .wabar { display: flex; }
  body { padding-bottom: 62px; }

  .hero { min-height: auto; padding-top: 84px; padding-bottom: 48px; }
  .hero__emblem {
    position: relative; right: auto; top: auto;
    width: min(64vw, 290px); margin: 0 0 clamp(22px, 5vw, 32px);
  }
  .hero__body { max-width: none; }
}

@media (max-width: 420px) {
  .wabar__n { display: none; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; }
  .rv.is-in { transition: none; }
  .emblem { transition: none; }
  .hero__gl { display: none; }
  .hero__still { opacity: 1 !important; }
  .btn, .hdr__nav a, .svc__name, .vagas__list a, .vaga__t { transition: none; }
}
