/* =========================================================
   NATÁLIA Fisioterapia/Quiropraxia — folha de estilo
   Cores, fontes e medidas ficam nas variáveis abaixo.
   ========================================================= */

@font-face {
  font-family: "Rokkitt";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/rokkitt-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Rokkitt";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/rokkitt-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/atkinson-hyperlegible-next-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/atkinson-hyperlegible-next-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Paleta (tirada do Instagram da Natália) */
  --glaze: #f1ece8;        /* azulejo off-white: fundo */
  --glaze-2: #e9e2de;      /* azulejo levemente mais escuro */
  --grout: #d9cecb;        /* rejunte: linhas entre peças */
  --mauve: #6b4752;        /* malva profundo: cor principal */
  --mauve-deep: #563740;   /* malva no hover */
  --rose: #b7979b;         /* rosé acinzentado: peças secundárias */
  --rose-soft: #d8c3c4;    /* rosé claro sobre malva */
  --ink: #221b1d;          /* texto */
  --ink-2: #5b4c50;        /* texto secundário */

  /* Fontes */
  --display: "Rokkitt", "Rockwell", Georgia, serif;
  --text: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, sans-serif;

  /* Medidas */
  --max: 1320px;
  --pad: clamp(20px, 4vw, 48px);
  --gap: 2px;              /* espessura do rejunte */
  --space: clamp(72px, 10vw, 136px);
  --ease: cubic-bezier(.16, 1, .3, 1);

  /* Formas dos azulejos (máscaras) */
  --m-q: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M0 0H100A100 100 0 0 1 0 100Z'/%3E%3C/svg%3E");
  --m-h: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M0 100A50 50 0 0 1 100 100Z'/%3E%3C/svg%3E");
  --m-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M0 0H100L0 100Z'/%3E%3C/svg%3E");
  --m-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M0 0H34V100H0Z'/%3E%3C/svg%3E");
  --m-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M100 0A100 100 0 0 1 0 100V58A58 58 0 0 0 58 0Z'/%3E%3C/svg%3E");
  --m-o: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='26'/%3E%3C/svg%3E");
  --m-s: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M0 0H50A50 50 0 0 1 0 50ZM100 100H50A50 50 0 0 1 100 50Z'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--glaze);
  color: var(--ink);
  font-family: var(--text);
  font-size: clamp(17px, 1.05vw + 12px, 19px);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  scrollbar-color: var(--rose) var(--glaze);
  caret-color: var(--mauve);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
::selection { background: var(--mauve); color: var(--glaze); }
:focus-visible { outline: 3px solid var(--mauve); outline-offset: 3px; }
.on-mauve :focus-visible { outline-color: var(--glaze); }

h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.02; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.4rem, 4.4vw, 4.1rem); }
h3 { font-size: clamp(1.6rem, 2.2vw, 2.1rem); }
p { margin: 0; text-wrap: pretty; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--glaze); padding: 10px 16px; z-index: 50; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Azulejos ---------- */
.t {
  position: relative;
  display: block;
  background: var(--glaze);
  --ink-t: var(--mauve);
}
.t[data-m]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink-t);
  -webkit-mask: var(--shape) center / 100% 100% no-repeat;
          mask: var(--shape) center / 100% 100% no-repeat;
}
.t[data-m="q"] { --shape: var(--m-q); }
.t[data-m="h"] { --shape: var(--m-h); }
.t[data-m="d"] { --shape: var(--m-d); }
.t[data-m="b"] { --shape: var(--m-b); }
.t[data-m="r"] { --shape: var(--m-r); }
.t[data-m="o"] { --shape: var(--m-o); }
.t[data-m="s"] { --shape: var(--m-s); }
.t[data-r="90"]::before  { rotate: 90deg; }
.t[data-r="180"]::before { rotate: 180deg; }
.t[data-r="270"]::before { rotate: 270deg; }
.t.rose { --ink-t: var(--rose); }
.t.inv  { background: var(--mauve); --ink-t: var(--glaze); overflow: hidden; }
.t.inv[data-m]::before { inset: -1px; } /* evita fio malva na borda da forma clara */
.t.inv.rose { --ink-t: var(--rose); }
.t.ink { --ink-t: var(--ink); }
.t.full { background: var(--mauve); }
.t.full-rose { background: var(--rose); }

/* Ajuste: peças entram levemente fora de esquadro e se alinham */
.js .tilt { transform: rotate(var(--tilt, 6deg)); transition: transform 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .tilt.is-set { transform: none; }

/* ---------- Botão do WhatsApp ---------- */
.wa {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  min-height: 56px;
  padding: .85em 1.4em .85em 1.15em;
  background: var(--mauve);
  color: var(--glaze);
  font-family: var(--text);
  font-weight: 700;
  font-size: 1.04rem;
  line-height: 1.2;
  text-decoration: none;
  border: 0;
  transition: background-color .25s var(--ease);
}
.wa svg { width: 1.45em; height: 1.45em; flex: none; }
.wa:hover { background: var(--mauve-deep); }
.wa:active { background: var(--ink); }
.wa--light { background: var(--glaze); color: var(--mauve); }
.wa--light:hover { background: #fff; }
.wa--sm { min-height: 44px; padding: .6em 1em .6em .85em; font-size: .95rem; }

.link-arrow { font-weight: 700; color: var(--mauve); text-decoration: underline; text-decoration-color: var(--rose); }
.link-arrow:hover { text-decoration-color: currentColor; }

/* ---------- Cabeçalho ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--glaze) 94%, transparent);
  border-bottom: var(--gap) solid var(--grout);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 34px; height: 34px; background: var(--grout); flex: none; }
.brand-mark .t { width: 100%; height: 100%; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 1.5rem; letter-spacing: .01em; line-height: 1; }
.brand-role { display: block; font-family: var(--text); font-size: .78rem; font-weight: 400; letter-spacing: .02em; color: var(--ink-2); margin-top: 3px; }
.top nav { display: flex; align-items: center; gap: 28px; }
.top nav a:not(.wa) { font-size: .95rem; text-decoration: none; color: var(--ink-2); }
.top nav a:not(.wa):hover { color: var(--mauve); text-decoration: underline; }

/* ---------- Abertura ---------- */
.hero { padding-block: clamp(28px, 4vw, 56px) var(--space); }
.hero .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.hero-name { font-size: .98rem; color: var(--ink-2); }
.hero-name strong { color: var(--ink); font-weight: 700; }
.hero h1 { font-size: clamp(2.9rem, 4.6vw, 4.6rem); line-height: .98; letter-spacing: -0.025em; }
.hero h1 em { font-style: normal; color: var(--mauve); }
.hero-lede { font-size: 1.12rem; max-width: 34ch; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero-phone { font-size: .95rem; color: var(--ink-2); text-decoration: none; }
.hero-phone:hover { text-decoration: underline; color: var(--mauve); }
.rating { display: flex; align-items: center; gap: 12px; padding-top: 22px; border-top: var(--gap) solid var(--grout); font-size: .95rem; color: var(--ink-2); }
.rating strong { font-family: var(--display); font-size: 2rem; font-weight: 600; color: var(--ink); line-height: 1; }
.stars { display: inline-flex; gap: 2px; color: var(--mauve); }
.stars svg { width: 16px; height: 16px; }

/* Parede de azulejos */
.wall {
  display: grid;
  gap: var(--gap);
  background: var(--grout);
  border: var(--gap) solid var(--grout);
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  grid-template-rows: repeat(var(--rows), minmax(0, 1fr));
  aspect-ratio: var(--cols) / var(--rows);
}
.wall .t { min-width: 0; }
.wall figure { margin: 0; position: relative; overflow: hidden; background: var(--glaze-2); }
.wall figure img { width: 100%; height: 100%; object-fit: cover; }
.wall figcaption {
  position: absolute; left: 0; bottom: 0;
  background: var(--glaze); color: var(--ink);
  font-size: .78rem; line-height: 1.3; padding: 7px 10px;
}
.hero-wall { --cols: 7; --rows: 6; }
.hero-wall .w-portrait { grid-column: 2 / span 4; grid-row: 1 / span 5; }
.hero-wall .w-portrait img { object-position: 50% 18%; }
.hero-wall .w-bw { grid-column: 6 / span 2; grid-row: 4 / span 2; }
.hero-wall .w-bw img { filter: grayscale(1) contrast(1.05); }

/* ---------- Faixa de rejunte entre seções ---------- */
.band { display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: var(--gap); background: var(--grout); border-block: var(--gap) solid var(--grout); }
.band .t { aspect-ratio: 1; }

/* ---------- Seções ---------- */
.section { padding-block: var(--space); }
.section-head { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 4vw, 72px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head p { color: var(--ink-2); max-width: 46ch; }

/* Onde dói */
.pain-grid {
  container-type: inline-size;
  list-style: none; margin: 0; padding: 0;
  display: grid;
  --cols: 6;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  gap: var(--gap);
  background: var(--grout);
  border: var(--gap) solid var(--grout);
}
.pain-grid li { aspect-ratio: 1; min-width: 0; }
.pain {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  width: 100%; height: 100%;
  padding: clamp(12px, 1.6vw, 22px);
  background: var(--glaze);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.pain .t {
  position: absolute; top: 0; right: 0;
  width: 46%; aspect-ratio: 1;
  background: transparent;
  transition: rotate .7s var(--ease), --ink-t .35s;
  rotate: 8deg;
  transform-origin: 100% 0;
}
.pain-name { position: relative; font-family: var(--display); font-weight: 500; font-size: clamp(1.15rem, 2.1cqi, 1.75rem); line-height: 1.05; }
.pain-go { position: relative; display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .82rem; color: var(--ink-2); }
.pain-go svg { width: 14px; height: 14px; }
.pain:hover, .pain:focus-visible { background: var(--mauve); color: var(--glaze); }
.pain:hover .pain-go, .pain:focus-visible .pain-go { color: var(--rose-soft); }
.pain:hover .t, .pain:focus-visible .t { rotate: 0deg; --ink-t: var(--rose); }
.pain:focus-visible { outline-offset: -3px; outline-color: var(--glaze); }
.pain-note { margin-top: 18px; font-size: .88rem; color: var(--ink-2); }

/* Atendimentos */
.services { border-top: var(--gap) solid var(--grout); }
.service {
  display: grid;
  grid-template-columns: 4fr 6fr 2fr;
  gap: clamp(16px, 3vw, 48px);
  align-items: baseline;
  padding-block: clamp(22px, 2.6vw, 34px);
  border-bottom: var(--gap) solid var(--grout);
}
.service h3 { display: flex; align-items: center; gap: 16px; }
.service h3 .t { width: 28px; height: 28px; flex: none; background: transparent; align-self: center; }
.service p { color: var(--ink-2); max-width: 58ch; }
.service .link-arrow { justify-self: end; font-size: .92rem; white-space: nowrap; }

.plates { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); margin-top: clamp(48px, 6vw, 80px); align-items: end; }
.plate { margin: 0; }
.plate img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--glaze-2); }
.plate figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: var(--gap) solid var(--ink); margin-top: 14px; font-size: .9rem; color: var(--ink-2); }
.plate figcaption strong { color: var(--ink); font-weight: 700; }
.plate.bw img { filter: grayscale(1) contrast(1.05); }

/* Sobre */
.about .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-media { position: relative; }
.about-wall { --cols: 5; --rows: 5; }
.about-wall .w-photo { grid-column: 1 / span 4; grid-row: 1 / span 5; }
.about-wall .w-photo img { object-position: 50% 20%; }
.about-copy { display: flex; flex-direction: column; gap: 22px; }
.about-copy .lead { font-size: 1.2rem; color: var(--ink); max-width: 44ch; }
.about-copy p { max-width: 58ch; color: var(--ink-2); }
.creds { list-style: none; margin: 8px 0 0; padding: 0; border-top: var(--gap) solid var(--grout); }
.creds li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 16px; padding: 14px 0; border-bottom: var(--gap) solid var(--grout); font-size: .95rem; }
.creds span { color: var(--ink-2); }
.quote-line { font-family: var(--display); font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.1; color: var(--mauve); max-width: 22ch; }

/* Depoimentos (campo malva) */
.on-mauve { background: var(--mauve); color: var(--glaze); }
.on-mauve .section-head p { color: var(--rose-soft); }
.reviews-score { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.reviews-score strong { font-family: var(--display); font-weight: 500; font-size: clamp(4rem, 9vw, 7.5rem); line-height: .85; }
.reviews-score .stars { color: var(--rose-soft); }
.reviews-score .stars svg { width: 22px; height: 22px; }
.reviews {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2px;
  background: color-mix(in srgb, var(--rose) 45%, var(--mauve));
  border: 2px solid color-mix(in srgb, var(--rose) 45%, var(--mauve));
}
.review { margin: 0; background: var(--mauve); padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; justify-content: space-between; gap: 22px; grid-column: span 4; }
.review blockquote { margin: 0; font-size: 1.04rem; line-height: 1.55; }
.review.big { grid-column: span 8; }
.review.big blockquote { font-family: var(--display); font-size: clamp(1.7rem, 2.8vw, 2.6rem); line-height: 1.12; letter-spacing: -0.01em; }
.review.wide { grid-column: span 4; }
.review figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .9rem; color: var(--rose-soft); }
.review figcaption strong { color: var(--glaze); font-weight: 700; font-size: 1rem; }
.reviews-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; margin-top: 32px; color: var(--rose-soft); font-size: .95rem; }
.reviews-foot a:not(.wa) { color: var(--glaze); }

/* Onde e quando */
.visit .grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.address { font-family: var(--display); font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1.16; font-style: normal; margin: 8px 0 18px; }
.visit-facts { list-style: none; margin: 28px 0 32px; padding: 0; border-top: var(--gap) solid var(--grout); }
.visit-facts li { display: flex; gap: 14px; align-items: flex-start; padding: 13px 0; border-bottom: var(--gap) solid var(--grout); font-size: .97rem; }
.visit-facts .t { width: 22px; height: 22px; flex: none; margin-top: 2px; background: transparent; }
.visit-links { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }

.board { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; background: var(--grout); }
.board caption { text-align: left; padding-bottom: 14px; }
.board caption h3 { display: inline; }
.board .now { display: inline-block; margin-left: 12px; font-family: var(--text); font-size: .85rem; font-weight: 700; padding: 3px 10px; background: var(--glaze-2); color: var(--ink-2); vertical-align: middle; }
.board .now.open { background: var(--mauve); color: var(--glaze); }
.board th, .board td { text-align: left; padding: 16px clamp(14px, 2vw, 24px); background: var(--glaze); border: var(--gap) solid var(--grout); font-size: 1rem; }
.board th { font-weight: 400; color: var(--ink-2); width: 42%; }
.board td { font-family: var(--display); font-size: 1.35rem; font-weight: 500; letter-spacing: .01em; }
.board tr.is-today th, .board tr.is-today td { background: var(--mauve); color: var(--glaze); }
.board tr.closed td { color: var(--ink-2); }
.board-note { margin-top: 14px; font-size: .9rem; color: var(--ink-2); }

/* Fechamento */
.close { padding-block: var(--space); }
.close .wrap { container-type: inline-size; }
.close-panel { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(6, minmax(0, 1fr)); aspect-ratio: 2 / 1; gap: var(--gap); background: var(--grout); border: var(--gap) solid var(--grout); }
.close-copy { grid-column: 3 / span 8; grid-row: 2 / span 4; background: var(--glaze); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 20px; padding: clamp(24px, 3.2cqi, 56px); }
.close-copy h2 { font-size: clamp(2.2rem, 4.4cqi, 4rem); }
.close-copy p { color: var(--ink-2); max-width: 44ch; }

/* Rodapé */
.foot { border-top: var(--gap) solid var(--grout); padding-block: 36px 40px; font-size: .9rem; color: var(--ink-2); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; }
.foot strong { color: var(--ink); }
.foot a { color: var(--ink); }

/* Barra fixa do WhatsApp (celular) */
.dock { display: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .top nav a:not(.wa) { display: none; }
  .hero .wrap { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: clamp(2.7rem, 6vw, 4rem); }
  .hero-wall { --cols: 5; --rows: 6; }
  .hero-wall .w-portrait { grid-column: 1 / span 4; grid-row: 1 / span 5; }
  .hero-wall .w-bw, .hero-wall .t-desk { display: none; }
  .pain-grid { --cols: 4; }
  .service { grid-template-columns: 1fr 1.6fr; }
  .service .link-arrow { grid-column: 2; justify-self: start; }
  .reviews .review { grid-column: span 6; }
  .reviews .review.big, .reviews .review.wide { grid-column: span 12; grid-row: auto; }
  .close-panel { aspect-ratio: auto; grid-template-rows: none; }
  .close-panel .t { aspect-ratio: 1; }
  .close-panel .side { display: none; }
  .close-copy { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- Celular ---------- */
@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }
  .top .wrap { min-height: 60px; }
  .brand-name { font-size: 1.3rem; }
  .brand-role { font-size: .72rem; }
  .top .wa--sm span { display: none; }
  .top .wa--sm { padding: .6em; min-width: 44px; justify-content: center; }

  .hero { padding-top: 16px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 22px; }
  .hero-media { order: -1; }
  .hero-wall { --cols: 5; --rows: 5; }
  .hero-wall .t-tab { display: none; }
  .band { grid-template-columns: repeat(8, 1fr); }
  .band .b-desk { display: none; }
  .hero-copy { gap: 18px; }
  .hero h1 { font-size: clamp(2.35rem, 10.4vw, 3.2rem); }
  .hero-lede { font-size: 1.02rem; }
  .hero-actions .wa { width: 100%; justify-content: center; }
  .hero-phone { width: 100%; text-align: center; }

  .section-head { grid-template-columns: 1fr; gap: 14px; }
  .pain-grid { --cols: 3; }
  .pain { padding: 10px; }
  .pain-name { font-size: clamp(1rem, 4.6cqi, 1.25rem); }
  .pain-go { font-size: 0; margin-top: 6px; }
  .pain-go svg { width: 16px; height: 16px; }
  .review.big blockquote { line-height: 1.18; }

  .service { grid-template-columns: 1fr; gap: 10px; }
  .service .link-arrow { grid-column: auto; }
  .plates { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); padding-bottom: 8px; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scrollbar-width: thin; }
  .plate { scroll-snap-align: start; }

  .about .wrap { grid-template-columns: 1fr; }
  .creds li { grid-template-columns: 1fr; gap: 2px; }

  .reviews { grid-template-columns: 1fr; }
  .reviews .review, .reviews .review.big, .reviews .review.wide { grid-column: auto; }

  .visit .grid { grid-template-columns: 1fr; }
  .address { font-size: clamp(1.55rem, 7vw, 1.9rem); }
  .board th { width: 46%; }

  .close-panel { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .close-panel .x6 { display: none; }

  .foot { padding-bottom: 104px; }

  .dock {
    display: block;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--glaze) 96%, transparent);
    border-top: var(--gap) solid var(--grout);
  }
  .dock .wa { width: 100%; justify-content: center; }
  .js .dock { transform: translateY(110%); transition: transform .4s var(--ease); }
  .js .dock.is-on { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .tilt { transform: none; transition: none; }
  .pain .t { transition: none; }
  .js .dock { transition: none; }
}
