/* Allure Cabelo & Estética
   Paleta tirada do próprio salão: azulejo branco, couro preto das cadeiras,
   nogueira da bancada. O cobre do ruivo só aparece como detalhe. */

:root {
  --branco: #FAFAF8;
  --azulejo: #EEEDE9;
  --papel: #FFFFFF;
  --couro: #1D1714;
  --nogueira: #2E211B;
  --texto: #1D1714;
  --suave: #5E5751;
  --cromo: #B7B2AC;
  --cobre: #B4521F;
  --linha: rgba(29, 23, 20, .12);
  --linha-clara: rgba(250, 250, 248, .16);

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.32, .72, 0, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(80px, 9vw, 132px);
  --r-img: 14px;
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--branco);
  color: var(--texto);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 450;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -.015em;
}

p { margin: 0 0 1em; text-wrap: pretty; }

a { color: inherit; }

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

.i {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

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

.skip {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 40;
  padding: .7rem 1rem;
  border-radius: 999px;
  background: var(--couro);
  color: var(--branco);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .5s var(--ease);
}
.skip:focus { transform: none; }

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

.section { padding-block: var(--section); }

.section--dark {
  background: var(--nogueira);
  color: var(--branco);
}
.section--dark p { color: rgba(250, 250, 248, .72); }

.section--tile { background: var(--azulejo); }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 5vw, 64px);
}
.section__head p { margin: .9rem 0 0; color: var(--suave); }

.todo {
  display: inline-block;
  padding: .05rem .55rem;
  border: 1px dashed currentColor;
  border-radius: 6px;
  font-size: .875em;
  opacity: .75;
}

/* ---------- Marca ---------- */

.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  color: inherit;
  text-decoration: none;
}
.wordmark__name {
  font: 500 1.2rem/1 var(--serif);
  letter-spacing: .32em;
  margin-right: -.32em; /* compensa o espaçamento da última letra */
  text-transform: uppercase;
}
.wordmark__sub {
  margin-top: .38rem;
  font: 400 .625rem/1 var(--sans);
  letter-spacing: .14em;
  color: var(--suave);
}
.wordmark--lg .wordmark__name { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.wordmark--lg .wordmark__sub { font-size: .8125rem; margin-top: .7rem; color: inherit; opacity: .6; }

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  min-height: 54px;
  padding: 6px 6px 6px 24px;
  border-radius: 999px;
  font: 500 1rem/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform .5s var(--ease),
    background-color .5s var(--ease),
    color .5s var(--ease),
    box-shadow .5s var(--ease);
}
.btn:active { transform: scale(.98); }

.btn__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(250, 250, 248, .12);
  transition: transform .6s var(--ease);
}
.btn:hover .btn__icon { transform: translate(2px, -1px) scale(1.06); }

.btn--ink { background: var(--couro); color: var(--branco); }
.btn--ink:hover { background: var(--nogueira); }

.btn--light { background: var(--branco); color: var(--couro); }
.btn--light .btn__icon { background: rgba(29, 23, 20, .07); }
.btn--light:hover { background: var(--papel); }

.btn--ghost {
  padding: 0 26px;
  color: var(--texto);
  box-shadow: inset 0 0 0 1px var(--linha);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--couro); }

.btn--ghost-light {
  padding: 0 26px;
  color: var(--branco);
  box-shadow: inset 0 0 0 1px var(--linha-clara);
}
.btn--ghost-light:hover { box-shadow: inset 0 0 0 1px var(--branco); }

.btn--sm {
  min-height: 42px;
  padding: 0 20px;
  font-size: .9375rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .6rem .8rem .6rem 1.05rem;
  border-radius: 999px;
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px var(--linha);
  transition: background-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease);
}
.pill:hover {
  background: var(--couro);
  color: var(--branco);
  box-shadow: inset 0 0 0 1px var(--couro);
}
.pill .i { width: 1.05em; height: 1.05em; }

/* ---------- Navegação ---------- */

.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100% - 24px, 1080px);
  padding: 7px 7px 7px 24px;
  border-radius: 999px;
  background: rgba(250, 250, 248, .9);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow:
    0 0 0 1px var(--linha),
    0 18px 40px -24px rgba(29, 23, 20, .35);
  transform: translateX(-50%);
}

.nav__links {
  display: flex;
  gap: clamp(16px, 2.4vw, 32px);
  margin-left: auto;
  margin-right: clamp(8px, 1.6vw, 20px);
  font-size: .9375rem;
}
.nav__links a {
  position: relative;
  padding: .4rem 0;
  text-decoration: none;
  color: var(--suave);
  transition: color .4s var(--ease);
}
.nav__links a:hover { color: var(--texto); }

.nav__toggle {
  position: relative;
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--texto);
  cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--linha);
}
.nav__toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .6s var(--ease);
}
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 23px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  background: rgba(250, 250, 248, .9);
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s var(--ease), visibility 0s .5s;
}
.menu[data-open] {
  opacity: 1;
  visibility: visible;
  transition: opacity .5s var(--ease);
}
.menu__links {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.menu__links a {
  font: 450 clamp(2.2rem, 9vw, 3rem)/1.2 var(--serif);
  text-decoration: none;
}
.menu__links a,
.menu__foot {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.menu[data-open] .menu__links a,
.menu[data-open] .menu__foot {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i) * 55ms + 80ms);
}
.menu__foot p { margin: 1rem 0 0; color: var(--suave); font-size: .9375rem; }
.menu__foot .btn { width: 100%; justify-content: space-between; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(132px, 15vw, 196px) 0 var(--section);
  overflow: hidden;
}
/* grade de azulejo do piso do salão */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(29, 23, 20, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 23, 20, .055) 1px, transparent 1px);
  background-size: 128px 128px;
  background-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 30%, transparent 92%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(3rem, 6.6vw, 6.2rem);
  line-height: .98;
  letter-spacing: -.022em;
  max-width: 11ch;
}

.lede {
  max-width: 40ch;
  margin: clamp(24px, 3vw, 36px) 0 0;
  font-size: clamp(1.125rem, 1.35vw, 1.28rem);
  font-weight: 300;
  color: var(--suave);
}

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

.rating {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-top: 28px;
  font-size: .9375rem;
  color: var(--suave);
  text-decoration: none;
}
.rating strong { color: var(--texto); font-weight: 600; }
.rating:hover span:last-child { text-decoration: underline; text-underline-offset: 3px; }

/* vídeo do resultado, em bandeja + núcleo */
.hero__media {
  padding: 8px;
  border-radius: 34px;
  background: rgba(29, 23, 20, .035);
  box-shadow: inset 0 0 0 1px rgba(29, 23, 20, .06);
}
.reel {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: calc(100dvh - 170px);
  min-height: 420px;
  width: 100%;
  border-radius: 26px;
  background: var(--couro) url("../../img/resultado-poster.jpg") center 30% / cover no-repeat;
  box-shadow: 0 40px 80px -48px rgba(29, 23, 20, .5);
}
.reel video,
.slot video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slot video { z-index: 1; }
.reel video { object-position: center 30%; }

/* etiqueta sobre foto ou vídeo */
.tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  max-width: calc(100% - 84px);
  padding: .5rem .85rem;
  border-radius: 999px;
  background: rgba(29, 23, 20, .58);
  color: var(--branco);
  font-size: .8125rem;
  line-height: 1.2;
}

.vtoggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(29, 23, 20, .58);
  color: var(--branco);
  cursor: pointer;
  transition: transform .5s var(--ease), background-color .5s var(--ease);
}
.vtoggle:hover { background: rgba(29, 23, 20, .8); }
.vtoggle:active { transform: scale(.94); }
.vtoggle .i { width: 18px; height: 18px; }

.stars {
  letter-spacing: .12em;
  background: linear-gradient(90deg, var(--cobre) calc(var(--rating) / 5 * 100%), var(--cromo) 0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stars--lg { font-size: 1.35rem; }

/* ---------- Cartela de tons ---------- */

.chart {
  /* bandeja externa + cartão interno */
  padding: 8px;
  border-radius: 30px;
  background: rgba(29, 23, 20, .035);
  box-shadow: inset 0 0 0 1px rgba(29, 23, 20, .06);
}

.section--dark .chart {
  background: rgba(250, 250, 248, .06);
  box-shadow: inset 0 0 0 1px var(--linha-clara);
}

.chart__card {
  margin: 0;
  padding: clamp(18px, 2.2vw, 26px);
  border-radius: 22px;
  background: var(--papel);
  color: var(--texto);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    0 40px 80px -48px rgba(29, 23, 20, .45);
}

.chart__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  font-size: .8125rem;
  color: var(--suave);
}
.chart__top span:first-child { color: var(--texto); font-weight: 500; }

.chart__rail {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(5px, .9vw, 11px);
  padding-inline: clamp(4px, .8vw, 10px);
}
/* a presilha que segura as mechas */
.chart__rail::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 34px;
  z-index: 2;
  border-radius: 8px;
  background: linear-gradient(180deg, #2a221e, var(--couro));
  box-shadow: 0 8px 14px -8px rgba(0, 0, 0, .55);
}

.lock {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.lock:focus-visible { outline: none; }
.lock:focus-visible .lock__num { outline: 2px solid var(--cobre); outline-offset: -4px; border-radius: 6px; }

.lock__num {
  position: relative;
  z-index: 3;
  height: 34px;
  display: grid;
  place-items: center;
  font: 500 clamp(.66rem, .9vw, .75rem)/1 var(--sans);
  font-variant-numeric: tabular-nums;
  color: rgba(250, 250, 248, .6);
  transition: color .4s var(--ease);
}
.lock__num::after {
  content: "";
  position: absolute;
  left: 30%;
  right: 30%;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--cobre);
  transform: scaleX(0);
  transition: transform .5s var(--ease);
}
.lock[aria-pressed="true"] .lock__num { color: var(--branco); }
.lock[aria-pressed="true"] .lock__num::after { transform: scaleX(1); }

.lock__hair {
  position: relative;
  z-index: 1;
  display: block;
  height: clamp(220px, 24vw, 330px);
  margin-top: -24px; /* raiz escondida sob a presilha */
  transform-origin: 50% 0;
  background:
    repeating-linear-gradient(90deg,
      rgba(255, 255, 255, .07) 0 1px,
      rgba(0, 0, 0, .06) 1px 2px,
      transparent 2px 4px),
    linear-gradient(180deg,
      rgba(0, 0, 0, .28) 0,
      transparent 22%,
      transparent 70%,
      rgba(0, 0, 0, .12) 100%),
    linear-gradient(90deg,
      var(--c1) 0%,
      var(--c2) 36%,
      var(--c2) 48%,
      var(--c1) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 84%, 90% 93%, 76% 88%, 62% 100%, 46% 91%, 31% 97%, 15% 89%, 0 95%);
  transition: transform .9s var(--ease);
}
/* as mechas descem da presilha quando a cartela entra na tela */
.js .chart:not(.is-in) .lock__hair { opacity: 0; }
.chart.is-in .lock__hair {
  animation: lock-in 1.1s var(--ease-out) backwards;
  animation-delay: calc(var(--i) * 70ms + 120ms);
}
.lock:hover .lock__hair { transform: rotate(1.6deg); }
.lock[aria-pressed="true"] .lock__hair { transform: translateY(14px); }
.lock[aria-pressed="true"]:hover .lock__hair { transform: translateY(14px) rotate(1.6deg); }

/* sem "to": termina no estado atual da mecha (selecionada ou não) */
@keyframes lock-in {
  from { opacity: 0; transform: translateY(-36px); }
}

.chart__caption {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
  gap: 14px;
  margin-top: clamp(24px, 3vw, 32px);
  padding-top: 18px;
  border-top: 1px solid var(--linha);
}
.chart__now,
.section--dark .chart__now { margin: 0; display: flex; flex-direction: column; gap: .3rem; color: var(--texto); }
.chart__tone {
  font: 450 clamp(2rem, 3.4vw, 2.6rem)/1 var(--serif);
  font-variant-numeric: lining-nums;
}
.chart__name { font-size: .9375rem; color: var(--suave); }
.chart__ask {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .8rem .55rem 1rem;
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px var(--linha);
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
.chart__ask:hover { background: var(--couro); color: var(--branco); }
.chart__caption small {
  grid-column: 1 / -1;
  font-size: .75rem;
  color: var(--suave);
}

/* ---------- Espaços de foto ---------- */

.slot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-img);
  background-color: var(--azulejo);
  background-image: repeating-linear-gradient(135deg, rgba(29, 23, 20, .045) 0 1px, transparent 1px 12px);
}
.slot img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slot__hint {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: 1rem;
  text-align: center;
  font-size: .8125rem;
  line-height: 1.35;
  color: var(--suave);
}
.slot__hint::before {
  content: "";
  width: 22px;
  height: 22px;
  background: currentColor;
  opacity: .7;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='14' rx='2.5'/%3E%3Ccircle cx='9' cy='10' r='1.6'/%3E%3Cpath d='m20.5 15.5-4.6-4.6L6.5 19'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='14' rx='2.5'/%3E%3Ccircle cx='9' cy='10' r='1.6'/%3E%3Cpath d='m20.5 15.5-4.6-4.6L6.5 19'/%3E%3C/svg%3E") center / contain no-repeat;
}
.slot__hint b {
  padding: .35rem .65rem;
  border-radius: 999px;
  font-weight: 500;
  color: var(--texto);
  background: rgba(255, 255, 255, .72);
  box-shadow: inset 0 0 0 1px var(--linha);
}
.section--tile .slot { background-color: #E3E1DC; }
.section--dark .slot {
  background-color: rgba(250, 250, 248, .05);
  background-image: repeating-linear-gradient(135deg, rgba(250, 250, 248, .06) 0 1px, transparent 1px 12px);
}
.section--dark .slot__hint { color: rgba(250, 250, 248, .6); }
.section--dark .slot__hint b {
  color: var(--branco);
  background: rgba(250, 250, 248, .08);
  box-shadow: inset 0 0 0 1px var(--linha-clara);
}

/* ---------- Serviços ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(40px, 8vw, 120px);
}
.split__head {
  position: sticky;
  top: 120px;
  align-self: start;
}
.split__head p {
  max-width: 32ch;
  margin-top: 1.4rem;
  color: var(--suave);
}

.services {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--linha);
}
.service {
  display: grid;
  grid-template-columns: clamp(64px, 7vw, 92px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem clamp(18px, 2.4vw, 32px);
  padding: clamp(22px, 2.6vw, 32px) 0;
  border-bottom: 1px solid var(--linha);
}
.service__thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  background: var(--azulejo);
}
.service h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  line-height: 1.05;
}
.service p {
  max-width: 50ch;
  margin: .5rem 0 0;
  color: var(--suave);
}

/* ---------- Cor ---------- */

.cor {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 4.4fr) minmax(0, 3.2fr);
  gap: clamp(20px, 2.4vw, 32px);
  align-items: stretch;
}
.cor__text {
  align-self: center;
  padding-right: clamp(0px, 2vw, 32px);
}
.cor__text h2 { margin-bottom: clamp(24px, 3vw, 36px); }
.cor__text p { max-width: 44ch; }
.cor__text .btn { margin-top: .6rem; }

.brand-note {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-note img {
  width: 52px;
  height: 52px;
  flex: none;
  object-fit: cover;
  object-position: center 35%;
  border-radius: 12px;
}

.cor__ruivo { min-height: 420px; }

/* ---------- Trabalhos ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(120px, 13vw, 176px);
  gap: clamp(10px, 1.4vw, 18px);
}
.g1 { grid-column: 1 / span 5; grid-row: 1 / span 4; }
.g2 { grid-column: 6 / span 4; grid-row: 1 / span 2; }
.g3 { grid-column: 10 / span 3; grid-row: 1 / span 2; }
.g4 { grid-column: 6 / span 3; grid-row: 3 / span 2; }
.g5 { grid-column: 9 / span 4; grid-row: 3 / span 2; }

/* ---------- Equipe ---------- */

.team {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 40px);
}
.team > h2 {
  grid-column: 1 / -1;
  margin-bottom: clamp(8px, 2vw, 24px);
}

.person h3 { font-size: clamp(1.8rem, 2.6vw, 2.3rem); line-height: 1.05; }
.person__role { margin: .45rem 0 1rem; font-size: .9375rem; color: var(--suave); }

.person--lead { grid-column: 1 / span 5; }
.person--lead .person__photo { aspect-ratio: 4 / 5; margin-bottom: 24px; }
.person--lead p:not(.person__role) { max-width: 40ch; }

.team__side {
  grid-column: 7 / span 6;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.place { aspect-ratio: 3 / 2; }
.place__text { max-width: 40ch; color: var(--suave); }

.person--row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin-top: 8px;
  padding-top: 28px;
  border-top: 1px solid var(--linha);
}
.monogram {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--couro);
  color: var(--branco);
  font: 450 2.8rem/1 var(--serif);
}
.person--row .person__role { margin-bottom: .5rem; }
.person--row p:last-child { margin: 0; color: var(--suave); }

/* ---------- Avaliações ---------- */

.reviews {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}
.reviews__score { position: sticky; top: 120px; }
.score {
  margin: 0 0 .6rem;
  font: 450 clamp(6rem, 13vw, 10.5rem)/.85 var(--serif);
  letter-spacing: -.035em;
}
.reviews__score p:not(.score) { margin: .8rem 0 1.4rem; color: var(--suave); }

.quote {
  margin: 0;
  padding: clamp(26px, 3vw, 38px) 0;
  border-top: 1px solid var(--linha);
}
.quote:first-child { border-top: 0; padding-top: 0; }
.quote p {
  margin: 0 0 1rem;
  font: 450 clamp(1.5rem, 2.3vw, 1.95rem)/1.25 var(--serif);
}
.quote--lead p {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -.01em;
}
.quote footer { font-size: .875rem; color: var(--suave); }

/* ---------- Como chegar ---------- */

.visit {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 104px);
  align-items: stretch;
}
.visit h2 { font-size: clamp(2.8rem, 5.6vw, 4.8rem); }
.visit__addr { margin-top: 1.2rem; font-size: 1.125rem; }

.facts {
  margin: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid var(--linha-clara);
}
.facts div {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 12px;
  padding: 1rem 0;
  border-bottom: 1px solid var(--linha-clara);
}
.facts dt { color: rgba(250, 250, 248, .6); font-size: .9375rem; }
.facts dd { margin: 0; }
.facts a { text-decoration: none; }
.facts a:hover { text-decoration: underline; text-underline-offset: 3px; }

.visit__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.map {
  min-height: 380px;
  padding: 8px;
  border-radius: 30px;
  background: rgba(250, 250, 248, .05);
  box-shadow: inset 0 0 0 1px var(--linha-clara);
}
.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 364px;
  border: 0;
  border-radius: 22px;
  filter: grayscale(1) contrast(1.04);
  transition: filter .9s var(--ease);
}
.map:hover iframe { filter: none; }

/* ---------- Rodapé ---------- */

.footer {
  background: var(--couro);
  color: var(--branco);
  padding: clamp(64px, 8vw, 112px) 0 clamp(32px, 4vw, 48px);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer p { margin: 0; color: rgba(250, 250, 248, .72); line-height: 1.8; }
.footer a { text-decoration: none; }
.footer p a:hover { color: var(--branco); text-decoration: underline; text-underline-offset: 3px; }
.footer__base {
  margin-top: clamp(48px, 7vw, 96px);
  padding-top: 24px;
  border-top: 1px solid var(--linha-clara);
  color: rgba(250, 250, 248, .5);
}

/* ---------- Botão fixo no celular ---------- */

.dock {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 25;
  display: none;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 54px;
  border-radius: 999px;
  background: var(--couro);
  color: var(--branco);
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 18px 36px -18px rgba(29, 23, 20, .6);
  transition: transform .6s var(--ease), opacity .6s var(--ease);
}
.dock.is-hidden,
.menu-open .dock {
  transform: translateY(160%);
  opacity: 0;
  pointer-events: none;
}

/* ---------- Formulário de agendamento ---------- */
/* Computador: formulário à esquerda, conversa do WhatsApp à direita.
   Celular: uma coluna que sobe de baixo, com o botão de enviar sempre à vista. */

html:has(.book[open]) { overflow: hidden; }

.book {
  width: 100%;
  max-width: min(1000px, 100% - 48px);
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--texto);
  overflow: visible;
}
.book::backdrop {
  background: rgba(29, 23, 20, .55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.book[open] .book__form { animation: book-in .7s var(--ease-out); }
@keyframes book-in {
  from { opacity: 0; transform: translateY(28px) scale(.98); }
}

.book__form {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
  grid-template-rows: minmax(0, 1fr) auto;
  grid-template-areas:
    "main chat"
    "main send";
  height: min(720px, calc(100dvh - 48px));
  overflow: hidden;
  border-radius: 30px;
  background: var(--papel);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .6);
}

.book__main {
  grid-area: main;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.book__head { padding: 34px 36px 0; }
.book__head h2 { font-size: clamp(2.1rem, 3.4vw, 2.8rem); }
.book__head p {
  max-width: 40ch;
  margin: .6rem 0 0;
  font-size: .9375rem;
  color: var(--suave);
}

.book__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(250, 250, 248, .1);
  color: var(--branco);
  cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--linha-clara);
  transition: background-color .4s var(--ease), transform .4s var(--ease);
}
.book__close:hover { background: rgba(250, 250, 248, .2); }
.book__close:active { transform: scale(.94); }
.book__close .i { width: 20px; height: 20px; }

.book__body {
  display: grid;
  gap: 30px;
  padding: 28px 36px 36px;
}

.field { min-width: 0; margin: 0; padding: 0; border: 0; }
.field > label:not(.check),
.field > legend {
  display: block;
  margin-bottom: .8rem;
  padding: 0;
  font-size: 1rem;
  font-weight: 500;
}

/* entradas escondidas dos cartões, dias e período (continuam acessíveis pelo teclado) */
.svc input,
.day input,
.seg__opt input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* serviços */
.svcs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.svc { position: relative; }
.svc__card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 8px 12px 8px 8px;
  border-radius: 16px;
  background: var(--papel);
  font-size: .90625rem;
  line-height: 1.2;
  cursor: pointer;
  user-select: none;
  box-shadow: inset 0 0 0 1px var(--linha);
  transition:
    box-shadow .35s var(--ease),
    background-color .35s var(--ease),
    transform .35s var(--ease);
}
.svc__card:hover { box-shadow: inset 0 0 0 1px rgba(29, 23, 20, .35); }
.svc__card:active { transform: scale(.98); }
.svc__card img,
.svc__icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
}
.svc__icon {
  display: grid;
  place-items: center;
  background: var(--azulejo);
  font: 450 1.5rem/1 var(--serif);
}
/* selo de marcado */
.svc__card::after {
  content: "";
  position: absolute;
  top: -7px;
  right: -7px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--couro) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3 5 8.6 9.4 3.6' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
  box-shadow: 0 0 0 2px var(--papel);
  transform: scale(0);
  transition: transform .45s var(--ease);
}
.svc input:checked + .svc__card {
  background: #F6F4F1;
  box-shadow: inset 0 0 0 1.5px var(--couro);
}
.svc input:checked + .svc__card::after { transform: scale(1); }
.svc input:focus-visible + .svc__card { outline: 2px solid var(--cobre); outline-offset: 2px; }
.svcs[aria-invalid="true"] .svc__card { box-shadow: inset 0 0 0 1px #A3361B; }

/* dias */
.days {
  display: flex;
  gap: 8px;
  margin: -4px -4px 0;
  padding: 4px 4px 6px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  /* esmaece a borda direita para mostrar que a fileira continua */
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent);
}
.days::-webkit-scrollbar { display: none; }
.days.is-end { -webkit-mask-image: none; mask-image: none; }
.day {
  position: relative;
  flex: none;
  scroll-snap-align: start;
}
.day > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 62px;
  height: 70px;
  border-radius: 16px;
  cursor: pointer;
  user-select: none;
  box-shadow: inset 0 0 0 1px var(--linha);
  transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.day > span:hover { box-shadow: inset 0 0 0 1px rgba(29, 23, 20, .35); }
.day small { font-size: .75rem; line-height: 1; color: var(--suave); transition: color .35s var(--ease); }
.day b { font: 450 1.5rem/1 var(--serif); }
.day--any > span {
  width: auto;
  padding: 0 16px;
  font-size: .875rem;
  white-space: nowrap;
}
.day--other b { font-size: 1.15rem; }
.day input:checked + span {
  background: var(--couro);
  color: var(--branco);
  box-shadow: inset 0 0 0 1px var(--couro);
}
.day input:checked + span small { color: rgba(250, 250, 248, .7); }
.day input:focus-visible + span { outline: 2px solid var(--cobre); outline-offset: 2px; }
.field__more { max-width: 240px; margin-top: 10px; }

/* período */
.seg {
  display: flex;
  margin-top: 14px;
  padding: 4px;
  border-radius: 999px;
  background: var(--azulejo);
}
.seg__opt { position: relative; flex: 1 1 0; }
.seg__opt span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: .90625rem;
  line-height: 1.15;
  text-align: center;
  color: var(--suave);
  cursor: pointer;
  user-select: none;
  transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.seg__opt input:checked + span {
  background: var(--papel);
  color: var(--texto);
  box-shadow: 0 1px 3px rgba(29, 23, 20, .14), 0 0 0 1px rgba(29, 23, 20, .05);
}
.seg__opt input:focus-visible + span { outline: 2px solid var(--cobre); outline-offset: 2px; }

/* campos de texto */
.input {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: .8rem 1rem;
  border: 0;
  border-radius: 14px;
  background: var(--branco);
  color: inherit;
  font: inherit;
  box-shadow: inset 0 0 0 1px var(--linha);
  transition: box-shadow .3s var(--ease);
}
textarea.input { resize: vertical; min-height: 84px; line-height: 1.45; }
.input::placeholder { color: #9A938C; }
.input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--couro); }
.input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #A3361B; }

.field__error {
  margin: .5rem 0 0;
  font-size: .875rem;
  color: #A3361B;
}

.check {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  font-size: .9375rem;
  cursor: pointer;
}
.check input {
  appearance: none;
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin: 0;
  border-radius: 7px;
  box-shadow: inset 0 0 0 1px rgba(29, 23, 20, .3);
  cursor: pointer;
  transition: background-color .3s var(--ease);
}
.check input::after {
  content: "";
  width: 10px;
  height: 6px;
  border: solid var(--branco);
  border-width: 0 0 2px 2px;
  transform: translateY(-1px) rotate(-45deg) scale(0);
  transition: transform .3s var(--ease);
}
.check input:checked { background: var(--couro); box-shadow: none; }
.check input:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }

/* detalhe opcional */
.add {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--texto);
  font: 500 .9375rem/1 var(--sans);
  cursor: pointer;
}
.add__plus {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--linha);
  transition: background-color .35s var(--ease);
}
.add:hover .add__plus { background: var(--azulejo); }
.add__plus::before,
.add__plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.add__plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform .45s var(--ease);
}
.add[aria-expanded="true"] .add__plus::after { transform: translate(-50%, -50%) rotate(0deg); }
[data-detail] { margin-top: 12px; }
[data-detail] > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* conversa do WhatsApp */
.chat {
  grid-area: chat;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background-color: var(--nogueira);
  background-image:
    linear-gradient(rgba(250, 250, 248, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 250, 248, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  color: var(--branco);
}
.chat__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 76px 18px 22px;
  background: rgba(0, 0, 0, .22);
}
.chat__avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--branco);
  color: var(--couro);
  font: 500 1.35rem/1 var(--serif);
}
.chat__who { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.chat__who strong {
  overflow: hidden;
  font-size: .9375rem;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.chat__who small { font-size: .8125rem; color: rgba(250, 250, 248, .6); }

.chat__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 14px;
  min-height: 0;
  padding: 22px 26px 22px 22px;
  overflow-y: auto;
}
.chat__day {
  align-self: center;
  padding: .35rem .75rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, .25);
  font-size: .75rem;
  color: rgba(250, 250, 248, .75);
}
.chat__bubble {
  position: relative;
  max-width: 100%;
  padding: 10px 12px 7px 14px;
  border-radius: 14px 4px 14px 14px;
  background: #DCF2CF;
  color: #1E2A1B;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
  transform-origin: 100% 0;
}
/* rabinho do balão */
.chat__bubble::before {
  content: "";
  position: absolute;
  top: 0;
  right: -7px;
  width: 8px;
  height: 12px;
  background: inherit;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.chat__bubble p {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.45;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.chat__meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: .6875rem;
  color: rgba(30, 42, 27, .55);
}
.chat__ticks {
  width: 16px;
  height: 11px;
  color: rgba(30, 42, 27, .4);
  transition: color .5s var(--ease);
}
.is-sent .chat__ticks { color: #34B7F1; }
.chat__bubble.is-bump { animation: bump .45s var(--ease-out); }
@keyframes bump {
  40% { transform: scale(1.012); }
}

/* enviar */
.book__send {
  grid-area: send;
  display: grid;
  gap: 10px;
  padding: 18px 22px 24px;
  background: var(--nogueira);
  border-top: 1px solid var(--linha-clara);
}
.book__send p {
  margin: 0;
  font-size: .8125rem;
  text-align: center;
  color: rgba(250, 250, 248, .6);
}
.btn--wa {
  width: 100%;
  justify-content: space-between;
  background: var(--branco);
  color: var(--couro);
}
.btn--wa:hover { background: var(--papel); }
.btn--wa .btn__icon { background: #25D366; color: #FFFFFF; }

/* confirmação */
.book__done {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  text-align: center;
  background: var(--papel);
  animation: book-in .6s var(--ease-out);
}
.book__done[hidden] { display: none; }
.done__check {
  width: 64px;
  height: 64px;
  margin-bottom: 22px;
  color: var(--couro);
}
.done__check circle {
  stroke-dasharray: 164;
  stroke-dashoffset: 164;
  animation: draw .8s var(--ease-out) forwards;
}
.done__check path {
  stroke-dasharray: 34;
  stroke-dashoffset: 34;
  animation: draw .5s var(--ease-out) .45s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.done__title {
  margin: 0 0 .8rem;
  font: 450 clamp(2rem, 4vw, 2.6rem)/1.08 var(--serif);
  outline: none;
}
.book__done p { max-width: 36ch; margin: 0 auto; color: var(--suave); }
.done__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.done__actions .btn--ink { padding: 0 30px; }

/* tablet e celular: uma coluna só, rolando inteira, com o botão de enviar fixo embaixo */
@media (max-width: 860px) {
  .book { max-width: min(620px, 100% - 24px); max-height: calc(100dvh - 24px); }
  .book__form {
    display: block;
    height: auto;
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .book__form.is-done { overflow: hidden; }
  .book__main { overflow: visible; }
  .book__head {
    position: sticky;
    top: 0;
    z-index: 3;
    padding: 24px 72px 16px 22px;
    background: var(--papel);
  }
  .book__close {
    top: 16px;
    right: 16px;
    background: transparent;
    color: var(--texto);
    box-shadow: inset 0 0 0 1px var(--linha);
  }
  .book__close:hover { background: var(--azulejo); }
  .book__body { gap: 28px; padding: 8px 22px 30px; }
  .svcs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chat { background-size: 36px 36px; }
  .chat__bar { padding: 14px 20px; }
  .chat__body { padding: 18px 26px 22px 20px; }
  .book__send {
    position: sticky;
    bottom: 0;
    z-index: 3;
    padding: 14px 20px calc(16px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 767px) {
  .book {
    max-width: 100%;
    max-height: 94dvh;
    margin: auto 0 0;
  }
  .book[open] .book__form { animation-name: sheet-in; }
  .book__form {
    max-height: 94dvh;
    border-radius: 24px 24px 0 0;
  }
  .book__head { padding: 22px 68px 14px 20px; }
  .book__head h2 { font-size: 2rem; }
  .book__close { top: 14px; right: 14px; }
  .book__body { padding: 6px 20px 28px; }
  .svc__card { gap: 8px; padding-right: 8px; font-size: .875rem; }
  .svc__card img,
  .svc__icon { width: 40px; height: 40px; }
}

@keyframes sheet-in {
  from { transform: translateY(100%); }
}

/* ---------- Responsivo ---------- */

@media (max-width: 1180px) {
  .cor { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .cor__text {
    grid-column: 1 / -1;
    padding-right: 0;
    margin-bottom: clamp(16px, 3vw, 32px);
  }
}

@media (max-width: 960px) {
  .nav { padding-left: 20px; }
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__toggle { display: block; }

  .hero__grid,
  .split,
  .reviews,
  .visit { grid-template-columns: minmax(0, 1fr); }

  .hero h1 { max-width: 12ch; }
  .hero__media { max-width: 560px; }
  .reel { max-height: none; }

  .split__head,
  .reviews__score { position: static; }

  .team > * { grid-column: 1 / -1; }
  .person--lead { max-width: 520px; }
}

@media (max-width: 767px) {
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .dock { display: flex; }

  .hero { padding: 112px 0 64px; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: space-between; }

  .hero__actions .btn--ghost { justify-content: center; }
  .reel { min-height: 0; }

  .cor { grid-template-columns: minmax(0, 1fr); }
  .cor__ruivo { min-height: 0; aspect-ratio: 4 / 5; }

  .service {
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: start;
  }
  .service .pill { grid-column: 2; justify-self: start; }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 52vw;
  }
  .g1 { grid-column: 1 / -1; grid-row: span 2; }
  .g2, .g3, .g4, .g5 { grid-column: auto; grid-row: auto; }

  .facts div { grid-template-columns: 6.5rem minmax(0, 1fr); }
  .visit__actions .btn { flex: 1 1 auto; justify-content: space-between; }
  .visit__actions .btn--ghost-light { justify-content: center; }

  .map { min-height: 320px; }
  .map iframe { min-height: 304px; }

  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}
