@font-face {
  font-family: 'Big Shoulders Display';
  src: url('fonts/big-shoulders-display-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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: 'Hanken Grotesk';
  src: url('fonts/hanken-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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: 'Hanken Grotesk';
  src: url('fonts/hanken-italic-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  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;
}

:root {
  /* Radius scale: the arch. Controls are pills, photographs are arches, panels 26px. */
  --r-arch: 999px 999px 26px 26px;
  --r-panel: 26px;
  --linen: #F0E8DC;
  --linen-2: #E7DCCB;
  --ink: #1B1315;
  --ink-2: #2B2023;
  --oxblood: #5A1F2E;
  --oxblood-hi: #7A2A3D;
  --blush: #F2C6BC;
  --line: rgba(27, 19, 21, 0.18);
  --line-strong: rgba(27, 19, 21, 0.5);
  --focus: #1B1315;
  --c01: #6B4A2F;
  --c02: #C9A88E;
  --c03: #B4552F;
  --c04: #232A3C;
  --c05: #8C8C8C;
  --c06: #E3C77A;
  --sans: 'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif;
  --display: 'Big Shoulders Display', 'Hanken Grotesk', ui-sans-serif, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body { font-family: var(--sans); font-size: 1.02rem; line-height: 1.6; color: var(--ink); background: var(--linen); overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; }
p { margin: 0 0 0.9em; }
a { color: inherit; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 0.75rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--linen); padding: 0.8rem 1.2rem; font-weight: 700; text-decoration: none; transition: top 0.15s ease; }
.skip:focus { top: 0.75rem; }
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 3.2rem); }
em { font-style: italic; }
.sec { max-width: 64ch; margin-bottom: clamp(1.6rem, 4vw, 2.6rem); }
.sec__title { font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 7vw, 5rem); line-height: 0.9; letter-spacing: -0.015em; margin: 0 0 0.6rem; }
.sec__note { font-size: 0.98rem; color: var(--ink-2); margin: 0; }
.atelier, .brief, .marcacao, .visita { padding-block: clamp(3.2rem, 8vw, 6.5rem); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 44px; padding: 0.7rem 1.4rem; font-weight: 700; font-size: 0.95rem; border: 2px solid var(--ink); border-radius: 999px; text-decoration: none; cursor: pointer; transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease; }
.btn--fill { background: var(--oxblood); color: #FBEDE9; border-color: var(--ink); }
.btn--fill:hover { background: var(--oxblood-hi); transform: translateY(-2px); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--linen); }
.btn--lg { min-height: 52px; padding: 0.9rem 1.7rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

/* ---------- bar ---------- */
.bar { position: sticky; top: 0; z-index: 50; background: var(--linen); border-bottom: 2px solid var(--ink); }
.bar__in { display: flex; align-items: center; gap: 0.8rem; min-height: 68px; }
.brand { text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.9rem; line-height: 0.9; margin-right: auto; display: flex; align-items: baseline; gap: 0.7rem; }
.brand__sub { font-family: var(--sans); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.02em; }
.nav ul { display: flex; gap: 1.2rem; }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.92rem; padding: 0.3rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--oxblood); }
.bar__cta { flex: none; }
.menu { display: none; width: 46px; height: 46px; border: 2px solid var(--ink); border-radius: 50%; background: transparent; cursor: pointer; }
.menu__bars, .menu__bars::before, .menu__bars::after { display: block; width: 22px; height: 2px; background: var(--ink); margin-inline: auto; position: relative; }
.menu__bars::before, .menu__bars::after { content: ''; position: absolute; left: 0; }
.menu__bars::before { top: -7px; } .menu__bars::after { top: 7px; }

.drawer { margin: 0; padding: 0; border: 0; max-width: none; max-height: none; width: 100%; height: 100%; background: var(--ink); color: var(--linen); }
.drawer::backdrop { background: rgba(27, 19, 21, 0.6); }
.drawer__in { padding: 2rem clamp(1.1rem, 5vw, 3.2rem); display: flex; flex-direction: column; gap: 1rem; min-height: 100%; }
.drawer__list { display: flex; flex-direction: column; gap: 0.2rem; margin-bottom: 1rem; }
.drawer__list a { font-family: var(--display); font-size: 2.4rem; text-decoration: none; }
.drawer__list a:hover { color: var(--blush); }
.drawer__note { margin-top: auto; font-size: 0.82rem; color: #C7BABE; }
.drawer__close { align-self: end; min-height: 44px; background: transparent; border: 1px solid currentColor; color: inherit; padding: 0.6rem 1.2rem; font: inherit; cursor: pointer; border-radius: 999px; }

/* ---------- capa: the arch and the swatch ---------- */
.capa { position: relative; background: var(--linen); overflow: clip; border-bottom: 2px solid var(--ink); }
.capa__grid {
  position: relative; max-width: 1280px; margin-inline: auto; padding: clamp(1.6rem, 4vw, 3rem) clamp(1.1rem, 4vw, 3.2rem) clamp(2rem, 5vw, 3.6rem);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(1.4rem, 4vw, 3rem); align-items: end;
  min-height: min(calc(100dvh - 72px), 860px);
}
.capa__text { position: relative; z-index: 2; padding-bottom: clamp(0.5rem, 3vw, 2rem); }
.capa__word {
  font-family: var(--display); font-weight: 800; font-size: clamp(6rem, 24vw, 21rem); line-height: 0.74; letter-spacing: -0.02em;
  margin: 0 0 clamp(1.2rem, 3vw, 2rem); color: var(--oxblood); margin-right: -12vw;
}
.capa__say { font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.4; color: var(--ink); margin: 0 0 1.4rem; max-width: 30ch; }
.capa__say em { color: var(--oxblood); }
.capa__acts { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.capa__arch { position: relative; margin: 0; align-self: stretch; overflow: hidden; border-radius: 999px 999px 0 0; border: 2px solid var(--ink); min-height: 420px; }
.capa__arch picture { position: absolute; inset: 0; }
.capa__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.capa__swatch {
  position: absolute; z-index: 3; margin: 0; width: clamp(150px, 19vw, 260px); left: 50%; bottom: clamp(1.2rem, 4vw, 3rem);
  border: 2px solid var(--ink); border-radius: 18px; background: var(--linen); padding: 6px; transform: translateX(-30%) rotate(-4deg);
  box-shadow: 10px 10px 0 var(--oxblood);
}
.capa__swatch img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; }
html.motion .capa__arch img { animation: drift 18s ease-in-out infinite alternate; }
html.motion .capa__arch { animation: rise 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
html.motion .capa__swatch { animation: drop 0.9s cubic-bezier(0.2, 0.9, 0.3, 1.2) 0.45s both; }
html.motion .capa__word { animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s both; }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes drop { from { opacity: 0; transform: translate(-30%, -60px) rotate(8deg); } to { opacity: 1; transform: translateX(-30%) rotate(-4deg); } }
@keyframes drift { from { transform: scale(1.04) translateY(0); } to { transform: scale(1.12) translateY(-2%); } }
.capa__swatch:hover { transform: translateX(-30%) rotate(0deg) scale(1.04); transition: transform 0.4s ease; }

/* ---------- coleção, visor ---------- */
.colecao { background: var(--ink); color: var(--linen); padding-block: clamp(3rem, 7vw, 5.5rem); }
.colecao .sec__note { color: #C7BABE; }
.viewer { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: stretch; }
.viewer__stage { position: relative; overflow: clip; min-height: clamp(420px, 66vh, 720px); border: 2px solid rgba(240, 232, 220, 0.28); border-radius: var(--r-arch); cursor: zoom-in; }
.viewer__shot { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.05); transition: opacity 0.6s ease, transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1); }
.viewer__shot.is-on { transform: none; }
.viewer__shot picture { display: block; height: 100%; }
.viewer__shot.is-on { opacity: 1; }
.viewer__shot img { width: 100%; height: 100%; object-fit: cover; }
.viewer__flag { position: absolute; left: 0; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 0.7rem; margin: 0; padding: 0.55rem 1rem; background: var(--ink); color: var(--linen); font-family: var(--display); font-size: 1.2rem; border-radius: 0 18px 0 0; }
.viewer__flagc { display: block; width: 34px; height: 12px; border-radius: 999px; }
.viewer__body { display: flex; flex-direction: column; justify-content: center; gap: 0.5rem; }
.viewer__count { font-family: var(--display); font-size: 1.15rem; letter-spacing: 0.06em; color: var(--blush); margin: 0; }
.viewer__name { font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 5.4vw, 3.8rem); line-height: 0.92; margin: 0.1rem 0 0.4rem; }
.viewer__why { font-size: 1rem; color: #D9CFD1; max-width: 42ch; margin: 0; }
.viewer__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1.4rem; margin: 1rem 0; }
.viewer__meta dt { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.13em; color: #B9A9AD; }
.viewer__meta dd { margin: 0.2rem 0 0; font-size: 1rem; }
.viewer__body .btn { align-self: flex-start; margin-top: 0.4rem; }
.viewer__note { margin: 0.8rem 0 0; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: #B9A9AD; }
.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.5rem; margin-top: clamp(1.2rem, 3vw, 2rem); }
.thumb { display: flex; flex-direction: column; gap: 0.5rem; min-height: 44px; background: transparent; border: 0; border-top: 2px solid rgba(240, 232, 220, 0.22); border-radius: 0 0 18px 18px; padding: 0.8rem 0.85rem; cursor: pointer; color: inherit; text-align: left; transition: background 0.15s ease, color 0.15s ease; }
.thumb__c { display: block; height: 64px; border-radius: 999px 999px 12px 12px; background-size: cover; background-position: center; filter: saturate(0.85); transition: transform 0.3s ease, filter 0.3s ease; }
.thumb:hover .thumb__c { transform: translateY(-4px); filter: none; }
.thumb__n { font-family: var(--display); font-size: 1.15rem; color: var(--blush); }
.thumb__t { font-weight: 600; font-size: 0.92rem; }
.thumb:hover { color: var(--blush); }
.thumb[aria-pressed="true"] { background: rgba(240, 232, 220, 0.1); color: var(--blush); }
.thumb[aria-pressed="true"] .thumb__c { filter: none; box-shadow: 0 0 0 2px var(--blush); }
.thumb--01 { background-color: var(--c01); } .thumb--02 { background-color: var(--c02); } .thumb--03 { background-color: var(--c03); }
.thumb--04 { background-color: var(--c04); } .thumb--05 { background-color: var(--c05); } .thumb--06 { background-color: var(--c06); }
.strip .thumb--01 { background-image: url("img/a-look-06-560.webp"); } .strip .thumb--02 { background-image: url("img/a-look-02-560.webp"); }
.strip .thumb--03 { background-image: url("img/a-look-05-560.webp"); } .strip .thumb--04 { background-image: url("img/a-look-04-560.webp"); }
.strip .thumb--05 { background-image: url("img/a-corte-720.webp"); } .strip .thumb--06 { background-image: url("img/a-look-01-560.webp"); }

/* dark-context buttons and focus */
.colecao .btn, .drawer .btn, .niveis .btn { border-color: var(--linen); }
.colecao .btn--fill, .niveis .btn--fill { color: #FBEDE9; }
.colecao :focus-visible, .drawer :focus-visible, .foot :focus-visible, .niveis :focus-visible, .capa :focus-visible { outline-color: var(--blush); }

/* ---------- atelier ---------- */
.atelier__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.6rem, 5vw, 3.6rem); align-items: start; }
.atelier__lead { font-size: 1.15rem; max-width: 42ch; }
.rows { display: flex; flex-direction: column; gap: clamp(0.9rem, 2vw, 1.4rem); margin: 1.6rem 0 1rem; }
.rows__item { display: grid; grid-template-columns: auto 1fr; gap: 0.15rem 1rem; align-items: start; }
.rows__n { grid-row: span 2; font-family: var(--display); font-size: 1.6rem; font-weight: 800; color: var(--oxblood); line-height: 1; }
.rows__t { font-size: 1.2rem; font-weight: 700; margin: 0 0 0.15rem; }
.rows__d { margin: 0; font-size: 0.92rem; color: var(--ink-2); max-width: 46ch; }
.atelier__note { font-size: 0.82rem; color: var(--ink-2); }
.atelier__figs { position: relative; }
.atelier__fig { margin: 0; background: var(--ink); border: 2px solid var(--ink); border-radius: var(--r-panel); padding: 1.2rem; }
.atelier__fig img { width: 100%; height: auto; }
.atelier__shot { margin: -22% 0 0 auto; width: 68%; position: relative; }
.atelier__shot img { width: 100%; height: auto; border: 6px solid var(--linen); border-radius: var(--r-arch); }
.atelier__shot figcaption { margin-top: 0.6rem; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- niveis, escada ---------- */
.niveis { background: var(--ink); color: var(--linen); padding-block: clamp(3.2rem, 8vw, 6rem); }
.niveis .sec__note { color: #C7BABE; }
.ladder { border-top: 2px solid rgba(240, 232, 220, 0.3); }
.ladder__group { display: grid; grid-template-columns: 0.55fr 1.45fr; gap: clamp(1rem, 4vw, 3rem); padding-block: clamp(1.2rem, 3vw, 2rem); border-bottom: 1px solid rgba(240, 232, 220, 0.16); }
.ladder__group:last-child { border-bottom: 2px solid rgba(240, 232, 220, 0.3); }
.ladder__lv { font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1; margin: 0; color: var(--blush); }
.ladder__list { display: flex; flex-direction: column; gap: 0.8rem; }
.ladder__row { display: grid; grid-template-columns: 1fr auto auto; gap: 0.4rem 1.6rem; align-items: baseline; }
.ladder__svc { font-weight: 700; }
.ladder__time { color: #B9A9AD; font-size: 0.9rem; }
.ladder__price { font-family: var(--display); font-size: 1.25rem; white-space: nowrap; }
.niveis__note { margin-top: 1.4rem; font-size: 0.82rem; color: #C7BABE; }

/* ---------- brief ---------- */
.brief { background: var(--linen-2); }
.brief__grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.composer { display: flex; flex-direction: column; gap: 1.1rem; }
.cgroup { border: 0; padding: 0; margin: 0; }
.cgroup__lg { font-weight: 700; font-size: 1.05rem; padding: 0; margin-bottom: 0.7rem; display: flex; gap: 0.6rem; align-items: baseline; }
.cgroup__n { font-family: var(--display); font-size: 1.3rem; font-weight: 800; color: var(--oxblood); }
.cgroup.is-err .copts { outline: 2px solid var(--oxblood); outline-offset: 6px; border-radius: 12px; }
.copts { display: grid; }
.copt { position: relative; display: flex; align-items: center; gap: 0.9rem; min-height: 44px; padding: 0.8rem 0.15rem; border: 0; border-top: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 0.96rem; transition: color 0.15s ease; }
.copts .copt:last-child { border-bottom: 1px solid var(--line); }
.copt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.copt::before { content: ""; width: 16px; height: 16px; border: 2px solid var(--ink); border-radius: 50%; flex: none; transition: box-shadow 0.15s ease; }
.copt:hover { color: var(--oxblood); }
.copt:has(input:checked)::before { box-shadow: inset 0 0 0 4px var(--oxblood); }
.copt:has(input:checked) { font-weight: 600; }
.copt:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.field { margin-bottom: 0.2rem; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 0.35rem; font-size: 0.92rem; }
.field--group { border: 0; padding: 0; }
.field input:not([type="radio"]):not([type="checkbox"]), .field textarea, .field select {
  appearance: none; -webkit-appearance: none; width: 100%; min-height: 50px; padding: 0.8rem 0.9rem; font: inherit; color: var(--ink);
  background: var(--linen-2); border: 0; border-bottom: 2px solid var(--ink); border-radius: 12px 12px 4px 4px;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6A5A5D; opacity: 1; }
.field input:not([type="radio"]):not([type="checkbox"]):hover, .field textarea:hover, .field select:hover { background: #E0D2BE; box-shadow: inset 0 -2px 0 var(--oxblood); }
.field input:not([type="radio"]):not([type="checkbox"]):focus-visible, .field textarea:focus-visible, .field select:focus-visible {
  background: #FBF7F1; box-shadow: inset 0 -4px 0 var(--oxblood); outline: 3px solid var(--oxblood); outline-offset: 2px;
}
.field input:disabled, .field textarea:disabled, .field select:disabled { background: transparent; border-bottom-style: dashed; color: #6A5A5D; cursor: not-allowed; }
.field input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; padding: 6px; border-radius: 50%; background-color: var(--blush); }
.select { position: relative; }
.select select { padding-right: 3rem; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 1.1rem; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--oxblood); border-bottom: 2px solid var(--oxblood); transform: rotate(45deg); pointer-events: none; transition: transform 0.2s ease; }
.select:focus-within::after { transform: translateY(3px) rotate(225deg); }
.field.is-err input, .field.is-err textarea, .field.is-err select { border-bottom-color: var(--oxblood); box-shadow: inset 0 -4px 0 var(--oxblood); background: #F6E3E0; }
.check { display: grid; grid-template-columns: 26px 1fr; gap: 0.3rem 0.8rem; align-items: start; margin: 0.6rem 0 1.2rem; }
.check input { appearance: none; -webkit-appearance: none; margin: 9px 0 0; width: 26px; height: 26px; border: 2px solid var(--ink); border-radius: 50%; background: var(--linen); cursor: pointer; position: relative; transition: background 0.2s ease, box-shadow 0.2s ease; }
.check input::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 12px; border-right: 2px solid var(--linen); border-bottom: 2px solid var(--linen); transform: rotate(45deg) scale(0); transition: transform 0.2s cubic-bezier(0.3, 1.6, 0.5, 1); }
.check input:hover { box-shadow: 0 0 0 4px var(--blush); }
.check input:checked { background: var(--oxblood); border-color: var(--oxblood); }
.check input:checked::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible { outline: 3px solid var(--oxblood); outline-offset: 3px; }
.check input:disabled { border-style: dashed; cursor: not-allowed; }
.check.is-err input { border-color: var(--oxblood); box-shadow: 0 0 0 3px #E8B9B2; }
.check label { font-size: 0.9rem; padding-top: 0.75rem; cursor: pointer; }
.check .err { grid-column: 2; }
.copt:has(input:disabled) { opacity: 0.55; cursor: not-allowed; }
.copt::before { transition: box-shadow 0.15s ease, transform 0.2s ease; }
.copt:hover::before { transform: scale(1.15); }
.hint { font-size: 0.76rem; color: var(--ink-2); margin: 0.35rem 0 0; }
.err { font-size: 0.82rem; font-weight: 700; color: var(--oxblood); margin: 0.35rem 0 0; min-height: 1em; }
.err:not(:empty)::before { content: '!'; margin-right: 0.4rem; }
.composer__nav { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.brief__out { position: sticky; top: 92px; background: var(--linen); border: 2px solid var(--ink); border-radius: 160px 160px var(--r-panel) var(--r-panel); padding: 3.4rem 1.5rem 1.5rem; }
.brief__out-t { font-family: var(--display); font-weight: 800; font-size: 1.7rem; margin: 0 0 0.9rem; }
.brief__empty { font-size: 0.92rem; color: var(--ink-2); }
.brief__sum { display: flex; flex-direction: column; gap: 0.7rem; margin: 0 0 1.2rem; }
.brief__sum dt { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.13em; color: var(--oxblood); }
.brief__sum dd { margin: 0.15rem 0 0; font-weight: 600; }
.brief__go { margin-bottom: 0.9rem; }
.brief__note { font-size: 0.78rem; color: var(--ink-2); margin: 0; }

/* ---------- marcacao ---------- */
.marcacao__grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.briefchip { border: 2px dashed var(--line-strong); border-radius: 18px; padding: 1rem 1.2rem; margin-bottom: 1.6rem; }
.briefchip__t { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--oxblood); margin: 0 0 0.3rem; }
.briefchip__v { margin: 0; font-size: 0.95rem; }
.bk { display: flex; flex-direction: column; }
.bk .btn { align-self: flex-start; margin-top: 0.6rem; }
.bk__note { font-size: 0.78rem; color: var(--ink-2); margin: 0.8rem 0 0; }
.bk__done { margin-top: 1.4rem; border: 2px solid var(--ink); border-radius: var(--r-panel); background: var(--linen-2); padding: 1.2rem 1.4rem; }
.bk__done:focus { outline: none; }
.bk__done-t { font-family: var(--display); font-weight: 800; font-size: 1.6rem; margin: 0 0 0.5rem; }
.bk__done p { margin: 0; font-size: 0.92rem; }
.marcacao__shot { margin: 0; }
.marcacao__shot img { width: 100%; height: auto; border: 2px solid var(--ink); border-radius: var(--r-arch); }
.marcacao__shot figcaption { margin-top: 0.6rem; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- visita ---------- */
.visita__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 5vw, 3.6rem); align-items: start; }
.hours caption { text-align: left; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.74rem; color: var(--oxblood); padding-bottom: 0.7rem; }
.hours tr { border-top: 1.5px solid var(--line); }
.hours tr:last-child { border-bottom: 1.5px solid var(--line); }
.hours th, .hours td { padding: 0.8rem 0; text-align: left; }
.hours td { text-align: right; font-family: var(--display); font-size: 1.25rem; }
.visita__note { margin-top: 1.2rem; font-size: 0.88rem; color: var(--ink-2); }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--linen); padding-block: clamp(2.4rem, 5vw, 3.6rem); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.6rem; }
.foot__mark { font-family: var(--display); font-weight: 800; font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.foot p { font-size: 0.84rem; color: #C7BABE; margin: 0 0 0.5rem; }
.foot__nav a { text-decoration: none; font-size: 0.88rem; }
.foot__nav a:hover { color: var(--blush); }
.foot__nav li { padding: 0.25rem 0; }

/* ---------- reveal ---------- */
html.motion .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
html.motion .reveal.in { opacity: 1; transform: none; }

/* ---------- no-JS: the viewer becomes a plain stack ---------- */
html:not(.js) .viewer { grid-template-columns: 1fr; }
html:not(.js) .viewer__stage { min-height: 0; border: 0; border-radius: 0; cursor: auto; }
html:not(.js) .viewer__shot { position: static; opacity: 1; transform: none; margin: 0 0 1rem; }
html:not(.js) .viewer__shot img { height: auto; border-radius: var(--r-arch); }
html:not(.js) .strip, html:not(.js) .viewer__zoom, html:not(.js) .viewer__step, html:not(.js) .viewer__flag { display: none; }

/* ---------- viewer extras ---------- */
.viewer__zoom { position: absolute; right: 1rem; bottom: 1rem; z-index: 3; min-height: 44px; padding: 0.5rem 1.1rem; border: 2px solid var(--linen); border-radius: 999px; background: rgba(27, 19, 21, 0.78); color: var(--linen); font-weight: 700; cursor: zoom-in; }
.viewer__zoom:hover { background: var(--blush); color: var(--ink); }
.viewer__casa { margin: 0.2rem 0 0.4rem; font-size: 0.92rem; color: #D9CFD1; max-width: 46ch; padding: 0.8rem 1rem; border-radius: 16px; background: rgba(242, 198, 188, 0.1); }
.viewer__casa strong { color: var(--blush); }
.viewer__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; margin-top: 0.4rem; }
.viewer__body .viewer__acts .btn { margin: 0; }
.viewer__step { display: flex; gap: 0.4rem; }
.viewer__arrow { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--linen); background: transparent; color: var(--linen); font-size: 1.2rem; cursor: pointer; }
.viewer__arrow:hover { background: var(--linen); color: var(--ink); }

/* ---------- zoom dialog ---------- */
.zoom { width: min(1100px, 96vw); height: min(92dvh, 900px); max-width: none; max-height: none; padding: 0; border: 2px solid var(--linen); border-radius: var(--r-panel); background: var(--ink); color: var(--linen); overflow: hidden; }
.zoom[open] { display: grid; grid-template-rows: auto 1fr auto; }
.zoom::backdrop { background: rgba(27, 19, 21, 0.85); }
.zoom__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem 1rem; padding: 0.8rem 1rem; }
.zoom__t { margin: 0; font-family: var(--display); font-weight: 800; font-size: 1.6rem; }
.zoom__ctl { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.zoom__b { min-width: 44px; min-height: 44px; padding: 0 0.9rem; border: 2px solid var(--linen); border-radius: 999px; background: transparent; color: var(--linen); font-weight: 700; font-size: 1.2rem; cursor: pointer; }
.zoom__b--txt { font-size: 0.9rem; }
.zoom__b--fill { background: var(--blush); color: var(--ink); border-color: var(--blush); }
.zoom__b:hover { background: var(--linen); color: var(--ink); }
.zoom__lvl { min-width: 4.2ch; text-align: center; font-size: 0.9rem; }
.zoom__view { position: relative; overflow: hidden; touch-action: none; cursor: zoom-in; display: grid; place-items: center; margin: 0 1rem; border-radius: 160px 160px 18px 18px; background: #120C0E; }
.zoom__view.is-zoomed { cursor: grab; }
.zoom__view:focus-visible { outline: 3px solid var(--blush); outline-offset: 3px; }
.zoom__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; transform: translate(var(--zx, 0), var(--zy, 0)) scale(var(--zs, 1)); transition: transform 0.18s ease-out; }
.zoom__help { margin: 0; padding: 0.7rem 1rem; font-size: 0.78rem; color: #C7BABE; }
.zoom :focus-visible { outline-color: var(--blush); }

/* ---------- antes (before the first colour) ---------- */
.antes { padding-block: clamp(3.2rem, 8vw, 6rem); }
.antes__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(1.6rem, 5vw, 4rem); align-items: start; }
.antes__lead { font-size: 1.08rem; max-width: 40ch; }
.pre { display: grid; gap: 1rem; counter-reset: pre; }
.pre__i { counter-increment: pre; position: relative; padding: 1.3rem 1.4rem 1.3rem 5rem; border: 2px solid var(--ink); border-radius: var(--r-panel); background: var(--linen-2); }
.pre__i::before { content: counter(pre); position: absolute; left: 1.1rem; top: 1.1rem; width: 2.8rem; height: 3.4rem; border-radius: 999px 999px 10px 10px; background: var(--oxblood); color: #FBEDE9; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.5rem; }
.pre__i h3 { font-size: 1.15rem; margin: 0 0 0.3rem; }
.pre__i p { margin: 0; font-size: 0.94rem; color: var(--ink-2); }

/* ---------- casa (care between visits, hair swatches) ---------- */
.casa { background: var(--oxblood); color: #FBEDE9; padding-block: clamp(3.2rem, 8vw, 6rem); }
.casa__lead { max-width: 52ch; color: #F1D9D3; margin: 0 0 clamp(1.6rem, 4vw, 2.6rem); }
.madeixas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(0.8rem, 2vw, 1.4rem); }
.madeixa { border-radius: 999px 999px 26px 26px; padding: 0 0 1.3rem; background: var(--linen); color: var(--ink); overflow: hidden; }
.madeixa::before { content: ""; display: block; height: clamp(110px, 14vw, 170px); margin-bottom: 1.1rem; }
.madeixa--louro::before { background: linear-gradient(180deg, #6B4A2B, #C9A06A 45%, #EBD3A3); }
.madeixa--cobre::before { background: linear-gradient(180deg, #5A2A16, #B4552A 50%, #D9844B); }
.madeixa--escuro::before { background: linear-gradient(180deg, #120C0C, #2B1E1C 60%, #4A3A39); }
.madeixa--caracol::before { background: radial-gradient(circle at 30% 30%, #C26A3A 0 18%, transparent 19%), radial-gradient(circle at 70% 55%, #A9562D 0 20%, transparent 21%), radial-gradient(circle at 35% 80%, #D07A45 0 17%, transparent 18%), #7A3A1E; }
.madeixa h3 { font-family: var(--display); font-weight: 800; font-size: 1.7rem; line-height: 1; margin: 0 1.2rem 0.5rem; }
.madeixa p { margin: 0 1.2rem; font-size: 0.92rem; color: var(--ink-2); }
.casa :focus-visible { outline-color: var(--blush); }

/* ---------- faq ---------- */
.faq { margin-top: 2rem; display: grid; gap: 0.5rem; }
.faq__t { font-family: var(--display); font-weight: 800; font-size: 1.8rem; margin: 0 0 0.4rem; }
.faq details { border: 2px solid var(--ink); border-radius: 22px; background: var(--linen-2); }
.faq summary { list-style: none; cursor: pointer; min-height: 50px; padding: 0.8rem 3.4rem 0.8rem 1.2rem; font-weight: 700; position: relative; border-radius: 22px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 1.1rem; top: 50%; width: 10px; height: 10px; margin-top: -8px; border-right: 2px solid var(--oxblood); border-bottom: 2px solid var(--oxblood); transform: rotate(45deg); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: translateY(4px) rotate(225deg); }
.faq details p { margin: 0; padding: 0 1.2rem 1.1rem; font-size: 0.93rem; color: var(--ink-2); }

@media (max-width: 1024px) {
  .antes__grid { grid-template-columns: 1fr; }
  .madeixas { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .madeixas { grid-template-columns: 1fr; }
  .madeixa::before { height: 90px; }
  .pre__i { padding-left: 4.4rem; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .viewer, .atelier__grid, .brief__grid, .marcacao__grid, .visita__grid { grid-template-columns: 1fr; }
  .brief__out { position: static; }
  .atelier__shot { margin: 1rem 0 0; width: 100%; }
  .viewer__stage { min-height: clamp(360px, 58vh, 620px); }
}
@media (max-width: 900px) {
  .capa__grid { grid-template-columns: 1fr; min-height: 0; }
  .capa__word { margin-right: 0; font-size: clamp(6rem, 34vw, 12rem); }
  .capa__arch { min-height: 0; aspect-ratio: 4 / 5; max-height: 70vh; }
  .capa__swatch { left: auto; right: 1.4rem; bottom: 2.4rem; transform: rotate(-4deg); width: 38vw; }
  html.motion .capa__swatch { animation-name: rise; }
  .capa__swatch:hover { transform: rotate(0deg); }
  .nav, .bar__cta { display: none; }
  .menu { display: block; }
  .strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .foot__grid { grid-template-columns: 1fr; }
  .viewer__meta, .ladder__group { grid-template-columns: 1fr; }
  .ladder__row { grid-template-columns: 1fr auto; }
  .ladder__price { grid-column: 2; }
  .copt { width: 100%; }
  .strip { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html.motion .capa__arch, html.motion .capa__arch img, html.motion .capa__swatch, html.motion .capa__word { animation: none; }
  * { transition-duration: 0.001s !important; animation-duration: 0.001s !important; animation-iteration-count: 1 !important; }
  html.motion .reveal { opacity: 1; transform: none; }
  .btn:hover { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .drawer::backdrop { background: var(--ink); }
}
.field .copt { display: flex; margin: 0; font-weight: 400; }
.field .copt:has(input:checked) { font-weight: 600; }

.loader{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;pointer-events:none;animation:loader-out .3s ease .8s forwards}
.loader.loader-out{animation:loader-out .25s ease forwards}
@keyframes loader-out{to{opacity:0;visibility:hidden}}
@media (prefers-reduced-motion:reduce){.loader,.loader *{animation:none!important}.loader{display:none}}
.loader{background:var(--oxblood)}
.loader-arch{width:72px;height:104px;border-radius:var(--r-arch);border:3px solid var(--linen);clip-path:inset(100% 0 0 0);animation:alma-arch .7s cubic-bezier(.6,0,.2,1) forwards}
@keyframes alma-arch{to{clip-path:inset(0 0 0 0)}}

/* Loader timing: visible ~1.2s then fade (JS); CSS fallback hides ~2.2s with no JS. */
.loader{animation:loader-fallback 2.2s cubic-bezier(.16,1,.3,1) both;transition:opacity .5s ease}
.loader.is-out{opacity:0!important;visibility:hidden!important}
@keyframes loader-fallback{0%,84%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}
