/* Barbearia Campos — Lapa, São Paulo
   Direção: preto de sala escura, off-white quente, vermelho e azul do poste da marca. */

:root {
  --ink:        #0a0a0b;
  --ink-2:      #101012;
  --ink-3:      #16161a;
  --paper:      #efede9;
  --paper-dim:  #b4b2af;
  --paper-faint:#8b8985;

  --red:        #c81119;
  --red-ink:    #e5433b;
  --blue:       #0205bf;

  --line:       rgba(239, 237, 233, 0.11);
  --line-soft:  rgba(239, 237, 233, 0.06);

  --display: "Big Shoulders Display", "Haettenschweiler", "Arial Narrow", sans-serif;
  --body: "Schibsted Grotesk", ui-sans-serif, system-ui, "Segoe UI", sans-serif;

  --fs-cap: 13px;
  --fs-body: 16.5px;
  --fs-lead: 21px;

  --shell: min(1440px, 100% - 2 * var(--gut));
  --gut: 22px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
}

@media (min-width: 700px)  { :root { --gut: 40px; } }
@media (min-width: 1100px) { :root { --gut: 64px; } }

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

html {
  background: var(--ink);
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: var(--fs-body);
  line-height: 1.64;
  letter-spacing: -0.003em;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 400;
  pointer-events: none;
  background-image: url("assets/grain.png");
  background-size: 160px 160px;
  opacity: 0.05;
  mix-blend-mode: overlay;
}

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

h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
dl, dd, dt { margin: 0; }

a { color: inherit; }

::selection { background: var(--red); color: #ffffff; }

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

* { scrollbar-color: #34343a var(--ink); scrollbar-width: thin; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #34343a; border: 3px solid var(--ink); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: #4a4a52; }

.wrap { width: var(--shell); margin-inline: auto; }

.skip {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 500;
  padding: 12px 18px;
  background: var(--paper);
  color: var(--ink);
  font-size: var(--fs-body);
  font-weight: 600;
  border-radius: 3px;
  transform: translateY(-160%);
  transition: transform 0.24s var(--ease);
}
.skip:focus-visible { transform: none; }

/* ---------- tipografia ---------- */

.h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.9rem, 7.4vw, 6.1rem);
  line-height: 1.04;
  letter-spacing: -0.018em;
  text-transform: uppercase;
}

/* ---------- botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  color: var(--paper);
  font-family: inherit;
  font-size: var(--fs-body);
  font-weight: 600;
  letter-spacing: 0.002em;
  line-height: 1.35;
  text-decoration: none;
  border-radius: 3px;
  white-space: nowrap;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
              border-color 0.3s var(--ease), transform 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}
.btn .ico { width: 19px; height: 19px; flex: none; fill: currentColor; }

.btn--wa {
  background-color: var(--red);
  color: #ffffff;
  box-shadow: 0 10px 24px -16px rgba(0, 0, 0, 0.95);
}
.btn--wa:hover {
  background-color: #e0161f;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.95);
}
.btn--wa:active { transform: translateY(0); }

.btn--ghost {
  border: 1px solid var(--line);
  background-color: rgba(239, 237, 233, 0.03);
}
.btn--ghost:hover {
  border-color: rgba(239, 237, 233, 0.34);
  background-color: rgba(239, 237, 233, 0.08);
  transform: translateY(-2px);
}
.btn--ghost:active { transform: translateY(0); }

.btn--sm { padding: 11px 18px; }
.btn--sm .ico { width: 17px; height: 17px; }
.btn--lg { padding: 18px 32px; }

.lnk {
  position: relative;
  display: inline-block;
  margin-top: 14px;
  color: var(--paper);
  font-size: var(--fs-body);
  font-weight: 500;
  text-decoration: none;
  padding-bottom: 4px;
  transition: color 0.3s var(--ease);
}
.lnk::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background-color: var(--red-ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.42s var(--ease);
}
.lnk:hover { color: #ffffff; }
.lnk:hover::after { transform: scaleX(1); }

/* ---------- abertura ---------- */

.intro {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: grid;
  place-items: center;
  gap: 26px;
  grid-auto-flow: row;
  background: var(--ink);
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.95s var(--ease);
}
.intro[hidden] { display: none; }
.intro.is-out { clip-path: inset(0 0 100% 0); }

.intro__pole { width: 15px; height: 190px; }
.intro__pole svg { width: 100%; height: 100%; }
.intro__stripes { animation: poleRun 1.15s linear infinite; }

.intro__word {
  font-family: var(--display);
  font-size: clamp(1.5rem, 5vw, 2.3rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0;
  animation: introWord 1.1s var(--ease) 0.15s forwards;
}
@keyframes introWord { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes poleRun { to { transform: translateY(-52px); } }

/* ---------- cabeçalho ---------- */

.head {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  border-bottom: 1px solid transparent;
  transition: background-color 0.45s var(--ease), backdrop-filter 0.45s var(--ease),
              border-color 0.45s var(--ease);
}
.head.is-stuck {
  background-color: rgba(10, 10, 11, 0.84);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line-soft);
}

.head__in {
  width: var(--shell);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 15px;
  padding-bottom: 15px;
}

.head__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--paper);
}
.head__brand img { width: 44px; height: 44px; transition: transform 0.5s var(--ease); }
.head__brand:hover img { transform: rotate(-6deg); }
.head__brand span {
  font-family: var(--display);
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.head__nav { display: none; gap: 30px; }
@media (min-width: 1040px) { .head__nav { display: flex; } }
.head__nav a {
  position: relative;
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--paper-dim);
  text-decoration: none;
  padding-top: 6px;
  padding-bottom: 6px;
  transition: color 0.3s var(--ease);
}
.head__nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background-color: var(--red-ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.42s var(--ease);
}
.head__nav a:hover { color: var(--paper); }
.head__nav a:hover::after { transform: scaleX(1); }

.head__act { display: flex; align-items: center; gap: 12px; }
.head__act .btn--wa { display: none; }
@media (min-width: 580px) { .head__act .btn--wa { display: inline-flex; } }

.burger {
  width: 46px; height: 46px;
  display: grid;
  place-content: center;
  gap: 6px;
  padding: 0;
  background: none;
  border: 1px solid var(--line);
  border-radius: 3px;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
@media (min-width: 1040px) { .burger { display: none; } }
.burger:hover { border-color: rgba(239, 237, 233, 0.32); background-color: rgba(239, 237, 233, 0.05); }
.burger span {
  display: block;
  width: 19px; height: 1.5px;
  background-color: var(--paper);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- menu em tela cheia ---------- */

.menu {
  position: fixed;
  inset: 0;
  z-index: 290;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 118px var(--gut) 44px;
  background-color: var(--ink-2);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease);
}
.menu[hidden] { display: none; }
.menu.is-open { clip-path: inset(0 0 0 0); }

.menu__nav { display: flex; flex-direction: column; gap: 2px; margin-bottom: auto; }
.menu__nav a {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.6rem, 13vw, 4.4rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--paper);
  overflow: hidden;
}
.menu__nav a span {
  display: block;
  transform: translateY(105%);
  transition: transform 0.66s var(--ease), color 0.3s var(--ease);
}
.menu.is-open .menu__nav a span { transform: none; }
.menu.is-open .menu__nav a:nth-child(1) span { transition-delay: 0.08s; }
.menu.is-open .menu__nav a:nth-child(2) span { transition-delay: 0.14s; }
.menu.is-open .menu__nav a:nth-child(3) span { transition-delay: 0.2s; }
.menu.is-open .menu__nav a:nth-child(4) span { transition-delay: 0.26s; }
.menu.is-open .menu__nav a:nth-child(5) span { transition-delay: 0.32s; }
.menu__nav a:hover span { color: var(--red-ink); }

.menu__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-body);
  color: var(--paper-dim);
}
.menu__foot a { color: var(--paper); text-decoration: none; }
.menu__foot a:hover { color: var(--red-ink); }

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

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  overflow: hidden;
  isolation: isolate;
}

.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  transform: scale(1.07);
  filter: brightness(0.9);
}
@media (min-width: 900px) { .hero__media img { object-position: 50% 31%; } }
.js .hero__media img { transition: transform 1.8s var(--ease-soft); }
.js .hero.is-live .hero__media img { transform: scale(1); }

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to top, rgba(10,10,11,0.97) 2%, rgba(10,10,11,0.34) 42%, rgba(10,10,11,0.62) 100%),
    linear-gradient(to right, rgba(10,10,11,0.74), rgba(10,10,11,0.05) 62%);
}

.hero__in {
  position: relative;
  width: var(--shell);
  margin-inline: auto;
  padding-top: 138px;
  padding-bottom: 46px;
  display: grid;
  grid-template-columns: 1fr;
  align-content: end;
  gap: 40px;
}
@media (min-width: 900px) {
  .hero__in {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 1fr auto;
    padding-bottom: 58px;
  }
}

.hero__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(4.2rem, 16.5vw, 14rem);
  line-height: 0.84;
  letter-spacing: -0.024em;
  text-transform: uppercase;
  align-self: end;
}
@media (min-width: 900px) { .hero__title { grid-row: 1; } }

.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.03em; }
.hero__title .line > span { display: block; }
.js .hero__title .line > span {
  transform: translateY(102%);
  transition: transform 1.15s var(--ease);
}
.js .hero.is-live .hero__title .line > span { transform: none; }
.js .hero.is-live .hero__title .line:nth-child(1) > span { transition-delay: 0.05s; }
.js .hero.is-live .hero__title .line:nth-child(2) > span { transition-delay: 0.14s; }
.js .hero.is-live .hero__title .line:nth-child(3) > span { transition-delay: 0.23s; }

.hero__side {
  display: none;
  align-items: center;
  gap: 18px;
  align-self: end;
  padding-bottom: 8px;
}
@media (min-width: 900px) { .hero__side { display: flex; grid-column: 2; grid-row: 1; } }

.pole { width: 11px; height: 128px; flex: none; }
.pole svg { width: 100%; height: 100%; }
.pole__stripes { animation: poleRun2 2.6s linear infinite; }
@keyframes poleRun2 { to { transform: translateY(-52px); } }

.hero__addr {
  font-size: var(--fs-cap);
  line-height: 1.5;
  color: var(--paper-dim);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  letter-spacing: 0.01em;
}

.hero__bottom {
  display: grid;
  gap: 28px;
  align-items: end;
}
@media (min-width: 900px) {
  .hero__bottom {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 32rem) auto;
    justify-content: space-between;
    gap: 48px;
    border-top: 1px solid var(--line);
    padding-top: 30px;
  }
}

.hero__lead {
  max-width: 34ch;
  font-size: var(--fs-lead);
  line-height: 1.46;
  color: #d6d4d0;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 559px) {
  .hero__cta .btn { flex: 1 1 100%; justify-content: center; }
}

.js .hero__bottom > * { opacity: 0; transform: translateY(20px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .hero.is-live .hero__bottom > * { opacity: 1; transform: none; }
.js .hero.is-live .hero__lead { transition-delay: 0.42s; }
.js .hero.is-live .hero__cta { transition-delay: 0.52s; }

/* ---------- moldura com folga para o parallax ---------- */

[data-parallax] {
  position: relative;
  overflow: hidden;
  background-color: var(--ink-3);
}
[data-parallax] > img {
  position: absolute;
  top: -13%;
  left: 0;
  width: 100%;
  height: 126%;
  object-fit: cover;
  will-change: transform;
}

/* ---------- reveal genérico ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease), transform 0.95s var(--ease);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- a casa ---------- */

.casa { padding-top: clamp(96px, 14vw, 200px); padding-bottom: clamp(70px, 9vw, 130px); }

.casa__grid {
  width: var(--shell);
  margin-inline: auto;
  display: grid;
  gap: clamp(38px, 5vw, 88px);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) { .casa__grid { grid-template-columns: 0.85fr 1fr; } }

.casa__fig { margin: 0; border-radius: 3px; aspect-ratio: 3 / 4; }
@media (min-width: 900px) { .casa__fig { aspect-ratio: 4 / 5; } }
.casa__fig > img { object-position: 50% 42%; }

.casa__txt { display: grid; gap: 36px; }
@media (min-width: 900px) { .casa__txt { padding-top: 10px; } }

.casa__body { display: grid; gap: 20px; max-width: 40ch; }
.casa__body p { color: #cbc9c5; font-size: var(--fs-lead); line-height: 1.5; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 8px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.stat dt { font-size: var(--fs-cap); line-height: 1.4; color: var(--paper-faint); letter-spacing: 0.01em; }
.stat dd {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-top: 6px;
}
.stat:first-child dd { color: var(--red-ink); }

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

.svc { position: relative; padding-top: clamp(70px, 9vw, 120px); padding-bottom: clamp(90px, 12vw, 170px); }
.svc__h { margin-bottom: 46px; }

.svc__list { position: relative; }

.svc__row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px 32px;
  width: var(--shell);
  margin-inline: auto;
  padding-top: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: transform 0.55s var(--ease);
}
.svc__row:first-child { border-top: 1px solid var(--line); }
@media (min-width: 820px) {
  .svc__row {
    grid-template-columns: minmax(0, 21rem) minmax(0, 1fr) auto;
    align-items: baseline;
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

.svc__row::before {
  content: "";
  position: absolute;
  left: calc(var(--gut) * -1);
  right: calc(var(--gut) * -1);
  top: 0; bottom: 0;
  background-image: linear-gradient(to right, rgba(239, 237, 233, 0.05), rgba(239, 237, 233, 0));
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}
.svc__row:hover::before, .svc__row:focus-visible::before { opacity: 1; }
@media (min-width: 820px) {
  .svc__row:hover, .svc__row:focus-visible { transform: translateX(14px); }
}

.svc__name {
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.9rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.008em;
  text-transform: uppercase;
  transition: color 0.35s var(--ease);
}
.svc__row:hover .svc__name, .svc__row:focus-visible .svc__name { color: #ffffff; }

.svc__desc { font-size: var(--fs-body); line-height: 1.5; color: var(--paper-dim); max-width: 44ch; }

.svc__go {
  font-size: var(--fs-cap);
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--paper-faint);
  transition: color 0.35s var(--ease);
  justify-self: start;
}
@media (min-width: 820px) { .svc__go { justify-self: end; } }
.svc__row:hover .svc__go, .svc__row:focus-visible .svc__go { color: var(--red-ink); }

.svc__more {
  margin-top: 44px;
  max-width: 56ch;
  font-size: var(--fs-body);
  color: var(--paper-dim);
}

.svc__peek {
  position: fixed;
  top: 0; left: 0;
  z-index: 200;
  margin: 0;
  width: 244px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 3px;
  pointer-events: none;
  opacity: 0;
  clip-path: inset(46% 0 0 0);
  box-shadow: 0 26px 60px -26px rgba(0, 0, 0, 0.85);
  transition: opacity 0.42s var(--ease), clip-path 0.62s var(--ease);
  will-change: transform;
}
.svc__peek.is-on { opacity: 1; clip-path: inset(0 0 0 0); }
.svc__peek img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 819px), (pointer: coarse) { .svc__peek { display: none; } }

/* ---------- o trabalho ---------- */

.work { padding-top: clamp(70px, 9vw, 110px); padding-bottom: clamp(90px, 12vw, 160px); }
.work__h { margin-bottom: 44px; }

.work__grid {
  width: var(--shell);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
}
@media (min-width: 900px) {
  .work__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
}

.work__col { display: grid; gap: 12px; align-content: start; }
@media (min-width: 900px) {
  .work__col { gap: 22px; }
  .work__col:nth-child(2) { margin-top: 74px; }
  .work__col:nth-child(3) { margin-top: 152px; }
}
@media (max-width: 899px) {
  .work__col:nth-child(2) { margin-top: 34px; }
  .work__col:nth-child(3) { grid-column: span 2; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.work__it { margin: 0; border-radius: 3px; }
.r45 { aspect-ratio: 4 / 5; }
.r34 { aspect-ratio: 3 / 4; }
.r23 { aspect-ratio: 2 / 3; }
@media (max-width: 899px) { .r23 { aspect-ratio: 3 / 4; } }

/* ---------- avaliações ---------- */

.says {
  padding-top: 96px;
  padding-bottom: 96px;
  padding-left: var(--gut);
  padding-right: var(--gut);
  background-color: var(--ink-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
@media (min-width: 900px) { .says { padding-top: 140px; padding-bottom: 140px; } }
.says__in { width: min(1440px, 100%); margin-inline: auto; }

.says__h { max-width: 16ch; margin-bottom: 58px; color: var(--paper); }

.says__grid { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 880px) { .says__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.say {
  margin: 0;
  padding-top: 30px;
  padding-bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: flex-start;
  border-top: 1px solid var(--line);
}
@media (min-width: 880px) {
  .say { padding-top: 34px; padding-bottom: 10px; padding-right: 38px; border-top: 0; }
  .say + .say { border-left: 1px solid var(--line); padding-left: 38px; }
}

.stars { display: flex; gap: 5px; }
.stars svg { width: 15px; height: 15px; fill: var(--red-ink); }

.say blockquote { margin: 0; }
.say p {
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.say figcaption { margin-top: auto; padding-top: 6px; font-size: var(--fs-cap); line-height: 1.5; color: var(--paper-faint); }

/* ---------- ambiente ---------- */

.amb { padding-top: clamp(84px, 11vw, 150px); padding-bottom: clamp(70px, 9vw, 120px); }

.amb__head {
  display: grid;
  gap: 26px;
  grid-template-columns: 1fr;
  align-items: end;
  margin-bottom: 48px;
}
@media (min-width: 900px) { .amb__head { grid-template-columns: 1fr minmax(0, 34rem); gap: 60px; } }
.amb__lead { color: #cbc9c5; font-size: var(--fs-lead); line-height: 1.5; }

.amb__strip {
  width: var(--shell);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 759px) {
  .amb__strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .amb__strip figure:nth-child(3) { grid-column: span 2; aspect-ratio: 16 / 10; }
}
@media (min-width: 760px) { .amb__strip { gap: 22px; } }
.amb__strip figure { margin: 0; border-radius: 3px; aspect-ratio: 3 / 4; }
@media (min-width: 760px) {
  .amb__strip figure:nth-child(1) { aspect-ratio: 4 / 5; }
  .amb__strip figure:nth-child(2) { margin-top: 46px; aspect-ratio: 3 / 4; }
  .amb__strip figure:nth-child(3) { margin-top: 92px; aspect-ratio: 4 / 5; }
}

/* ---------- visita ---------- */

.visit { padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(80px, 10vw, 140px); }

.visit__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 76px);
  align-items: start;
}
@media (min-width: 960px) { .visit__grid { grid-template-columns: 0.9fr 1.1fr; } }

.visit__info {
  display: grid;
  gap: 36px;
  margin-top: 44px;
  grid-template-columns: 1fr;
}
@media (min-width: 580px) { .visit__info { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 30px; } }
@media (min-width: 960px) { .visit__info { grid-template-columns: 1fr; gap: 36px; } }

.visit__block h3 {
  font-size: var(--fs-cap);
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--paper-faint);
  margin-bottom: 10px;
}
.visit__block p { font-size: var(--fs-body); line-height: 1.6; }
.visit__block p a { text-decoration: none; transition: color 0.3s var(--ease); }
.visit__block p a:hover { color: var(--red-ink); }

.visit__map {
  overflow: hidden;
  border-radius: 3px;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background-color: var(--ink-3);
}
@media (min-width: 960px) { .visit__map { aspect-ratio: 1 / 1; } }
.visit__map iframe {
  width: 100%; height: 100%; border: 0;
  filter: grayscale(1) invert(0.92) contrast(0.86) brightness(0.95);
}

/* ---------- fecho ---------- */

.end {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-top: clamp(120px, 17vw, 230px);
  padding-bottom: clamp(120px, 17vw, 230px);
  text-align: center;
}
.end__media { position: absolute; inset: 0; z-index: -2; }
.end__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%; filter: brightness(0.86); }
.end__veil {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    radial-gradient(120% 80% at 50% 50%, rgba(10,10,11,0.6), rgba(10,10,11,0.9) 72%),
    linear-gradient(to bottom, rgba(10,10,11,0.94), rgba(10,10,11,0.6) 42%, rgba(10,10,11,0.97));
}

.end__h {
  font-family: var(--display);
  font-size: clamp(3.4rem, 12vw, 9rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.022em;
  text-transform: uppercase;
}
.end__p {
  max-width: 40ch;
  margin: 26px auto 0;
  font-size: var(--fs-lead);
  line-height: 1.48;
  color: #d6d4d0;
}
.end__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 38px; }

/* ---------- rodapé ---------- */

.foot { padding-top: clamp(64px, 8vw, 104px); border-top: 1px solid var(--line-soft); }

.foot__in {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: start;
}
@media (min-width: 860px) { .foot__in { grid-template-columns: auto 1fr; gap: 72px; } }

.foot__logo { width: 112px; height: 112px; opacity: 0.92; }

.foot__cols { display: grid; grid-template-columns: 1fr; gap: 34px; }
@media (min-width: 580px) { .foot__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }

.foot__cols h3 {
  font-size: var(--fs-cap);
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--paper-faint);
  margin-bottom: 12px;
}
.foot__cols p { font-size: var(--fs-body); line-height: 1.75; color: #cbc9c5; }
.foot__cols a { text-decoration: none; transition: color 0.3s var(--ease); }
.foot__cols a:hover { color: var(--red-ink); }

.foot__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 26px;
  padding-bottom: 28px;
  border-top: 1px solid var(--line-soft);
  font-size: var(--fs-cap);
  line-height: 1.5;
  color: var(--paper-faint);
}
@media (max-width: 700px) { .foot__base { padding-bottom: 100px; } }
.foot__by { letter-spacing: 0.01em; }

/* ---------- barra fixa no celular ---------- */

.dock {
  position: fixed;
  left: 16px; right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 280;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 22px;
  background-color: var(--red);
  color: #ffffff;
  font-size: var(--fs-body);
  line-height: 1.35;
  font-weight: 600;
  text-decoration: none;
  border-radius: 3px;
  box-shadow: 0 16px 34px -14px rgba(0, 0, 0, 0.85);
  transform: translateY(140%);
  transition: transform 0.6s var(--ease);
}
.dock .ico { width: 20px; height: 20px; fill: currentColor; }
.dock.is-up { transform: none; }
@media (min-width: 701px) { .dock { display: none; } }

/* ---------- movimento reduzido ---------- */

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal],
  .js .hero__title .line > span,
  .js .hero__bottom > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .js .hero__media img { transform: scale(1); transition: none; }
  .intro__stripes, .pole__stripes { animation: none; }
  .intro__word { animation: none; opacity: 1; }
  .btn:hover, .svc__row:hover { transform: none; }
  * { scroll-behavior: auto !important; }
}
