/* Lord's Planejados
   Branco e preto para as fotos falarem mais alto. Toda seção segue o mesmo cabeçalho:
   uma linha fina, o rótulo à esquerda e o título em serifa. O vermelho fica só no símbolo. */

:root {
  --white: #FFFFFF;
  --paper: #F4F2EE;
  --black: #0F0F0F;
  --ink: #141414;
  --gray: #5E5E5E;
  --gray-2: #A0A0A0;
  --line: #E2DFD9;
  --line-2: #D6D2CB;
  --line-d: rgba(255, 255, 255, .18);
  --red: #B3313B;

  --serif: 'Newsreader', 'Times New Roman', serif;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --logo: 'Barlow Condensed', 'Arial Narrow', sans-serif;

  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 80px;
  --sec: clamp(88px, 10vw, 152px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
p, dd, li, figcaption { text-wrap: pretty; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.i { width: 18px; height: 18px; flex: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--gutter); top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Tipografia ---------- */

.label { font: 500 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gray); }
.label--light { color: rgba(255, 255, 255, .72); }
.h1, .h2 { font-family: var(--serif); font-weight: 400; font-variation-settings: 'opsz' 72; text-wrap: balance; }
.h1 { font-size: clamp(40px, 5.4vw, 80px); line-height: 1.02; letter-spacing: -.022em; }
.h2 { font-size: clamp(32px, 4vw, 58px); line-height: 1.04; letter-spacing: -.02em; }
.lead { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: var(--gray); }
em { font-style: italic; }

/* ---------- Botões e links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px; border: 1px solid transparent; border-radius: 0; cursor: pointer;
  font: 500 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn--black, .header__cta { background: var(--ink); color: #fff; }
.btn--black:hover, .header__cta:hover { background: #333; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: #E8E6E2; }
.btn--outline-white { border-color: rgba(255, 255, 255, .8); color: #fff; }
.btn--outline-white:hover { background: #fff; color: var(--ink); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 12px; }

.link {
  display: inline-flex; align-items: center; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid currentColor;
  font: 500 13px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
}
.link .i { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link:hover .i { transform: translateX(4px); }

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

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 34px; height: 33px; color: var(--red); flex: none; }
.brand__word { display: grid; justify-items: start; line-height: 1; }
.brand__name { font: 500 26px/.86 var(--logo); letter-spacing: .02em; text-transform: uppercase; color: var(--ink); transition: color .3s var(--ease); }
.brand__sub { margin-top: 4px; margin-right: -.5em; font: 500 8.4px/1 var(--sans); letter-spacing: .5em; text-transform: uppercase; color: var(--gray); transition: color .3s var(--ease); }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__sub { color: var(--gray-2); }

/* ---------- Cabeçalho ---------- */

.header {
  position: sticky; top: 0; z-index: 40; height: var(--header-h);
  background: var(--white); border-bottom: 1px solid var(--line);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .4s var(--ease);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 36px; }
.header__nav { display: flex; gap: 32px; margin-left: auto; }
.header__nav a {
  position: relative; padding: 8px 0; text-decoration: none; transition: color .3s var(--ease);
  font: 500 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
}
.header__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.header__nav a:hover::after, .header__nav a[aria-current="page"]::after { transform: scaleX(1); }
.header.is-hidden { transform: translateY(-100%); }

/* home: cabeçalho transparente sobre a foto */
.header--over { position: fixed; left: 0; right: 0; }
.header--over.is-over { background: transparent; border-bottom-color: rgba(255, 255, 255, .2); color: #fff; }
.header--over.is-over .brand__name { color: #fff; }
.header--over.is-over .brand__sub { color: rgba(255, 255, 255, .78); }
.header--over.is-over .header__cta { background: #fff; color: var(--ink); }
.header--over.is-over .menu-btn { color: #fff; }
.header.is-menu { background: var(--white); border-bottom-color: var(--line); color: var(--ink); }

.menu-btn { display: none; position: relative; flex: none; width: 46px; height: 46px; margin: 0 -11px 0 auto; padding: 0; background: none; border: 0; color: var(--ink); cursor: pointer; }
.menu-btn__bars { position: absolute; left: 11px; top: 50%; width: 24px; height: 0; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; width: 24px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.menu-btn__bars::before { top: -4.75px; }
.menu-btn__bars::after { top: 3.25px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: fixed; z-index: 39; inset: var(--header-h) 0 0; display: none;
  flex-direction: column; justify-content: space-between; gap: 36px; overflow-y: auto;
  padding: 8px var(--gutter) calc(28px + env(safe-area-inset-bottom)); background: var(--white);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
}
.menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .35s var(--ease); }
.menu__nav a {
  display: block; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none;
  font: 400 32px/1.1 var(--serif); letter-spacing: -.01em;
  opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: .04s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: .08s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: .12s; }
.menu.is-open .menu__nav a:nth-child(5) { transition-delay: .16s; }
.menu__foot { display: grid; gap: 18px; }
.menu__foot .btn { width: 100%; }
.menu__ig { display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 6px 0; color: var(--gray); text-decoration: none; }

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

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  height: 100svh; min-height: 640px; max-height: 1080px; color: #fff; background: var(--black);
}
.hero__slides { position: absolute; inset: 0; z-index: -1; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transform: scale(1.06); transition: transform 7s linear; }
.slide.is-active img { transform: scale(1); }
.hero__slides::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .22) 50%, rgba(0, 0, 0, 0) 75%),
    linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .7) 100%);
}
.hero__content { display: grid; gap: 22px; justify-items: start; padding-bottom: clamp(112px, 15vh, 160px); }
.hero__title { max-width: 15ch; font: 400 clamp(46px, 6.4vw, 98px)/.98 var(--serif); font-variation-settings: 'opsz' 72; letter-spacing: -.025em; text-wrap: balance; }
.hero__lead { max-width: 44ch; font-size: clamp(17px, 1.3vw, 19px); color: rgba(255, 255, 255, .88); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero__cta .i { width: 20px; }

.hero__foot {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.hero__foot::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px; background: rgba(255, 255, 255, .22); }
.hero__scroll {
  display: inline-flex; align-items: center; gap: 14px; padding: 26px 0;
  font: 500 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .8); text-decoration: none;
}
.hero__scroll::after { content: ""; width: 1px; height: 20px; background: rgba(255, 255, 255, .6); }
.hero__count { display: flex; align-items: center; gap: 14px; font: 500 12px/1 var(--sans); letter-spacing: .14em; color: rgba(255, 255, 255, .8); }
.hero__bar { position: relative; width: 120px; height: 1px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.hero__bar i { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }
.hero__bar i.is-running { animation: barra var(--dur, 6.5s) linear forwards; }
@keyframes barra { to { transform: scaleX(1); } }

/* ---------- Entrada ---------- */

.js .load { opacity: 0; transform: translateY(16px); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 110ms + 120ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Seções: o mesmo cabeçalho em todas ---------- */

.sec { padding-block: var(--sec); }
.sec--black { background: var(--black); color: #fff; }
.sec--paper { background: var(--paper); }
.sec-head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 16px; align-items: end;
  padding-top: 22px; margin-bottom: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line);
}
.sec--paper .sec-head { border-top-color: var(--line-2); }
.sec--black .sec-head { border-top-color: var(--line-d); }
.sec-head > .label { grid-column: 1 / span 3; align-self: start; }
.sec-head > .h1, .sec-head > .h2 { grid-column: 4 / span 6; }
.sec-head__aside { grid-column: 10 / span 3; justify-self: end; }
.sec-head__text { justify-self: stretch; color: var(--gray); font-size: 16px; }
/* no celular o link "ver todos" sai do cabeçalho e vai para o fim da seção */
.sec-foot { display: none; }

/* ---------- Ambientes ---------- */

.rooms { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.room__link { display: grid; grid-template-columns: 1fr auto; align-items: center; row-gap: 16px; text-decoration: none; }
.room__media { grid-column: 1 / -1; overflow: hidden; aspect-ratio: 3 / 4; background: var(--line); }
.room__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.room__name { font: 400 clamp(20px, 1.7vw, 26px)/1.1 var(--serif); letter-spacing: -.01em; }
.room__arrow { transition: transform .3s var(--ease); }
.room__link:hover .room__media img { transform: scale(1.05); }
.room__link:hover .room__arrow { transform: translateX(4px); }

/* ---------- Destaques (seção preta) ---------- */

.feat { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(48px, 5vw, 72px) 24px; }
.feat__item { grid-column: span 5; }
.feat__item--wide { grid-column: span 7; }
.feat__link { display: grid; gap: 18px; text-decoration: none; }
.feat__media { overflow: hidden; height: clamp(360px, 40vw, 600px); background: #222; }
.feat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feat__link:hover .feat__media img { transform: scale(1.04); }
.feat__meta { display: grid; gap: 8px; }
.feat__title { font: 400 clamp(22px, 2vw, 30px)/1.12 var(--serif); letter-spacing: -.01em; }

/* ---------- Como funciona ---------- */

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.step { display: grid; align-content: start; gap: 14px; padding-top: 20px; border-top: 1px solid var(--ink); }
.step__n { font: 500 13px/1 var(--sans); letter-spacing: .1em; color: var(--gray); }
.step__title { font: 400 clamp(24px, 2vw, 30px)/1.1 var(--serif); letter-spacing: -.01em; margin-top: 24px; }
.step p { color: var(--gray); font-size: 16px; }
.steps__cta { margin-top: clamp(40px, 5vw, 64px); }

/* ---------- Arquitetos ---------- */

.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.split__media { grid-column: 1 / span 6; overflow: hidden; }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split__text { grid-column: 8 / span 5; display: grid; gap: 22px; justify-items: start; }

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

.reviews {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; align-items: start;
  padding-top: 22px; border-top: 1px solid var(--line);
}
.reviews > .label { grid-column: 1 / span 3; }
.reviews__quote { grid-column: 4 / span 6; display: grid; gap: 22px; }
.reviews__quote blockquote p { font: 400 clamp(30px, 3.4vw, 50px)/1.1 var(--serif); letter-spacing: -.018em; text-wrap: balance; }
.reviews__quote figcaption { font: 500 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gray); }
.reviews__score { grid-column: 10 / span 3; display: grid; gap: 12px; justify-items: start; }
.reviews__num { font: 400 clamp(56px, 5vw, 76px)/.9 var(--serif); letter-spacing: -.03em; }
.reviews__stars { display: flex; gap: 3px; }
.reviews__stars .i { width: 18px; height: 18px; }
.reviews__text { color: var(--gray); font-size: 15px; max-width: 26ch; }
.reviews__score .link { margin-top: 6px; }

/* ---------- Contato e dúvidas ---------- */

.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 72px; align-items: start; }
.contact__info, .contact__faq { display: grid; gap: 20px; justify-items: start; padding-top: 22px; border-top: 1px solid var(--line-2); }
.contact__info { grid-column: 1 / span 5; }
.contact__faq { grid-column: 7 / span 6; }
.contact .btn { margin-top: 6px; }
.facts { width: 100%; margin-top: 18px; }
.facts__row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--line-2); }
.facts dt { font: 500 12px/1.6 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gray); }
.facts dd { overflow-wrap: anywhere; }
.facts a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
.faq { width: 100%; margin-top: 8px; border-top: 1px solid var(--line-2); }
.qa { border-bottom: 1px solid var(--line-2); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font: 400 clamp(19px, 1.6vw, 23px)/1.25 var(--serif); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .i { transition: transform .4s var(--ease); }
html:not(.js) .qa[open] summary .i, .qa.is-open summary .i { transform: rotate(45deg); }
.qa__body { overflow: hidden; }
.qa__body p { padding: 0 48px 24px 0; color: var(--gray); }

/* ---------- Catálogo ---------- */

.page-head { padding-top: clamp(40px, 6vw, 96px); }
.page-head .sec-head { margin-bottom: clamp(32px, 4vw, 56px); }
.tabs { position: sticky; top: var(--header-h); z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); transition: top .4s var(--ease); }
.tabs__inner { display: flex; gap: 32px; overflow-x: auto; scrollbar-width: none; }
.tabs__inner::-webkit-scrollbar { display: none; }
.tabs a {
  flex: none; position: relative; padding: 20px 0; text-decoration: none; color: var(--gray);
  font: 500 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; transition: color .2s var(--ease);
}
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"] { color: var(--ink); }
.tabs a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); }
.header-oculto .tabs { top: 0; }
.catalog { padding-block: clamp(40px, 5vw, 72px) var(--sec); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(44px, 4.5vw, 72px) 24px; }
.card__link { display: grid; gap: 16px; text-decoration: none; }
.card__media { overflow: hidden; aspect-ratio: 4 / 5; background: var(--line); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card__link:hover .card__media img { transform: scale(1.04); }
.card__meta { display: grid; gap: 8px; }
.card__title { font: 400 clamp(20px, 1.7vw, 25px)/1.15 var(--serif); letter-spacing: -.01em; text-wrap: balance; }

/* ---------- Página de projeto ---------- */

.project { padding-top: clamp(28px, 4vw, 56px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; color: var(--gray); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.project__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; }
.project__info { grid-column: 1 / span 4; grid-row: 1; align-self: start; position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 22px; }
.project__head, .project__body { display: grid; gap: 22px; justify-items: start; }
.project__head .crumbs { margin-bottom: 10px; }
.project__title { font-size: clamp(36px, 3.6vw, 56px); }
.project__meta { width: 100%; border-top: 1px solid var(--line); }
.project__meta > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.project__meta dt { font: 500 12px/1.6 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gray); }
.project__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.project__obra { display: grid; gap: 12px; width: 100%; padding-top: 20px; border-top: 1px solid var(--line); }
.project__obra-links { display: flex; flex-wrap: wrap; gap: 8px; }
.project__obra-links a { padding: 10px 14px; border: 1px solid var(--line); text-decoration: none; font-size: 14px; transition: border-color .2s var(--ease); }
.project__obra-links a:hover { border-color: var(--ink); }
.project__gallery { grid-column: 6 / span 7; grid-row: 1; min-width: 0; }
.project__photos { display: grid; gap: 16px; }
.project__photos:focus-visible { outline-offset: -2px; }
.project__photo { background: var(--line); }
.project__photo img { width: 100%; }
.carousel-nav { display: none; }

/* anterior e próximo: só as setas */
.pager { display: flex; justify-content: space-between; margin-top: clamp(56px, 7vw, 104px); padding-block: 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pager__btn { display: grid; place-items: center; width: 56px; height: 56px; color: var(--ink); }
.pager__btn:first-child { margin-left: -16px; }
.pager__btn:last-child { margin-right: -16px; }
.pager__btn .i { width: 24px; height: 24px; transition: transform .3s var(--ease); }
.pager__btn:first-child:hover .i { transform: translateX(-4px); }
.pager__btn:last-child:hover .i { transform: translateX(4px); }
.project + .sec { margin-top: clamp(64px, 8vw, 120px); }

/* ---------- Área de atendimento ---------- */

.staff { padding-bottom: var(--sec); }
.search { display: flex; align-items: center; gap: 14px; max-width: 640px; padding: 0 18px; border: 1px solid var(--ink); }
.search input { flex: 1; min-width: 0; height: 56px; border: 0; background: none; outline: 0; font-size: 17px; }
.search:focus-within { box-shadow: 0 0 0 1px var(--ink); }
.staff__group { margin-top: 56px; }
.staff__title { padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.row { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.row__thumb { width: 72px; height: 72px; object-fit: cover; background: var(--line); }
.row__thumb--marca { display: grid; place-items: center; background: var(--paper); color: var(--red); }
.row__thumb--marca svg { width: 34px; height: 33px; }
.row__text { display: grid; gap: 4px; }
.row__title { font: 400 21px/1.2 var(--serif); }
.row__actions { display: flex; gap: 8px; }
.staff__vazio { margin-top: 40px; color: var(--gray); }

.notfound { padding-bottom: var(--sec); }
.notfound__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; justify-self: start; }

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

.footer { overflow: hidden; background: var(--black); color: rgba(255, 255, 255, .72); font-size: 15px; }
.footer__top {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 28px; align-items: end;
  padding-block: clamp(72px, 8vw, 120px) clamp(48px, 5vw, 72px); border-bottom: 1px solid var(--line-d);
}
.footer__cta-title { grid-column: 1 / span 7; color: #fff; }
.footer__cta { grid-column: 9 / span 4; display: grid; gap: 14px; justify-items: start; }
.footer__cta p { color: rgba(255, 255, 255, .66); }
.footer__brand { display: grid; gap: 20px; align-content: start; max-width: 300px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px 24px; padding-block: 56px; }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__label--gap { margin-top: 18px; }
.footer__label { margin-bottom: 6px; font: 500 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.footer a { text-decoration: none; overflow-wrap: anywhere; transition: color .2s var(--ease); }
.footer a:hover { color: #fff; }
.footer__wordmark {
  font: 500 clamp(120px, 26vw, 400px)/.78 var(--logo); text-transform: uppercase; letter-spacing: .01em;
  color: #1C1C1C; white-space: nowrap; margin: 8px 0 0 -.04em; user-select: none;
}
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-block: 24px; border-top: 1px solid var(--line-d); font-size: 13.5px; }

/* ---------- Botão flutuante ---------- */

.fab {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 30;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink); color: #fff; box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
  opacity: 0; pointer-events: none; transform: translateY(24px) scale(.9);
  transition: opacity .3s var(--ease), transform .4s var(--ease);
}
.fab .i { width: 26px; height: 26px; }
body:has(.staff) .fab { display: none; }
.fab.is-on { opacity: 1; pointer-events: auto; transform: none; }

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

@media (max-width: 1180px) {
  .header__nav { gap: 22px; }
  .header__inner { gap: 24px; }
}

@media (max-width: 1080px) {
  .sec-head > .label { grid-column: 1 / -1; }
  .sec-head > .h1, .sec-head > .h2 { grid-column: 1 / span 8; }
  .sec-head__aside { grid-column: 9 / span 4; }
  .rooms { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .reviews > .label { grid-column: 1 / -1; }
  .reviews__quote { grid-column: 1 / span 8; }
  .reviews__score { grid-column: 9 / span 4; }
  .project__info { grid-column: 1 / span 5; }
  .project__gallery { grid-column: 6 / span 7; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .header__nav, .header__cta { display: none; }
  .menu-btn { display: block; }
  .menu { display: flex; }

  .sec-head > .h1, .sec-head > .h2, .sec-head__aside { grid-column: 1 / -1; }
  .sec-head__aside { justify-self: start; }
  .sec-head > .link.sec-head__aside { display: none; }
  .sec-foot { display: flex; justify-content: flex-end; margin-top: 40px; }
  .feat__item, .feat__item--wide { grid-column: span 6; }
  .feat__media { height: auto; aspect-ratio: 4 / 5; }
  .split__media { grid-column: 1 / -1; }
  .split__text { grid-column: 1 / -1; margin-top: 40px; }
  .split__media img { aspect-ratio: 5 / 4; }
  .reviews__quote, .reviews__score { grid-column: 1 / -1; }
  .contact__info, .contact__faq { grid-column: 1 / -1; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards--3 > li:nth-child(3) { display: none; }
  /* projeto no celular: a foto vem primeiro, em carrossel de largura total */
  .project { padding-top: 24px; }
  .project__grid { row-gap: 24px; }
  .project__info { display: contents; }
  .project__head { grid-column: 1 / -1; grid-row: 1; gap: 12px; }
  .project__head .crumbs { margin-bottom: 8px; }
  .project__title { font-size: clamp(26px, 7.4vw, 36px); line-height: 1.08; }
  .project__gallery { grid-column: 1 / -1; grid-row: 2; margin-inline: calc(-1 * var(--gutter)); }
  .project__body { grid-column: 1 / -1; grid-row: 3; margin-top: 4px; }
  .project__photos {
    display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .project__photos::-webkit-scrollbar { display: none; }
  .project__photo { flex: 0 0 100%; height: min(125vw, 72svh); scroll-snap-align: start; }
  .project__photo img { height: 100%; object-fit: cover; }
  .carousel-nav { display: flex; gap: 6px; padding: 0 var(--gutter); }
  .carousel-nav button { position: relative; flex: 1; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
  .carousel-nav button::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--line); transition: background-color .3s var(--ease); }
  .carousel-nav button[aria-current="true"]::before { background: var(--ink); }
  .footer__cta-title, .footer__cta { grid-column: 1 / -1; }

  /* Hero do celular: foto inteira, texto ancorado embaixo com ritmo fixo.
     20px entre selo, título e texto; 36px até os botões; 12px entre os botões;
     48px dos botões até o "role para descobrir". */
  .hero {
    height: auto; min-height: max(100svh, 560px); max-height: none; justify-content: flex-end;
    padding: calc(var(--header-h) + 40px) 0 calc(36px + 14px + 48px);
  }
  .hero__slides::after { background: linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .3) 30%, rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, .82) 100%); }
  .hero__content { gap: 0; padding-bottom: 0; }
  .hero__content > .label { margin-bottom: 20px; font-size: 11px; letter-spacing: .12em; }
  .hero__title { max-width: 17ch; margin-bottom: 20px; font-size: clamp(38px, 10vw, 60px); line-height: 1.02; text-wrap: wrap; }
  .hero__lead { margin-bottom: 36px; font-size: 16.5px; }
  .hero__actions { display: grid; gap: 12px; width: 100%; max-width: 440px; margin: 0; }
  .hero__actions .btn { width: 100%; min-height: 54px; }
  .hero__count, .hero__foot::before { display: none; }
  .hero__scroll { padding: 0; position: absolute; left: var(--gutter); bottom: 36px; line-height: 14px; }
  .hero__scroll::after { height: 14px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .rooms { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
  .room__link { grid-template-columns: 88px minmax(0, 1fr) auto; column-gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .room__media { grid-column: auto; aspect-ratio: 1; }
  .room__name { font-size: 24px; }
  .feat { row-gap: 44px; }
  .feat__item, .feat__item--wide { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; row-gap: 36px; }
  .step__title { margin-top: 8px; }
  .cards { gap: 36px 14px; }
  .card__link { gap: 12px; }
  .card__title { font-size: 18px; }
  .card .label { font-size: 10.5px; letter-spacing: .1em; }
  .facts__row { grid-template-columns: 1fr; gap: 4px; }
  .qa__body p { padding-right: 0; }
  .project__actions { width: 100%; }
  .project__actions .btn { flex: 1 1 100%; }
  .row { grid-template-columns: 56px minmax(0, 1fr); row-gap: 12px; }
  .row__thumb { width: 56px; height: 56px; }
  .row__actions { grid-column: 1 / -1; }
  .row__actions .btn { flex: 1; padding: 0 10px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .tabs__inner { gap: 24px; }
}

@media (max-width: 380px) {
  .brand__name { font-size: 23px; }
  .brand__mark { width: 30px; height: 29px; }
  .cards { grid-template-columns: 1fr; }
  .cards--3 > li:nth-child(3) { display: block; }
  .card__title { font-size: 21px; }
}

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