/* ==========================================================================
   Interior Guider Studio — estrutura editorial inspirada na Moooi
   Layout: header fino sobre imagem full-bleed, faixas alternadas
   (imagem inteira / split 50-50 / grelha), muito espaço em branco.
   ========================================================================== */

/* ---------- 1. TOKENS — trocar aqui pelas cores do site atual ---------- */
:root {
  /* Paleta oficial da marca (Prancheta 5)
     Primárias:   Sienna #a43a23 · Peach #f8b681 · Blue #91a4a7 · Ivory #fdfaee
     Secundárias: Sienna Var #a55646 · Ivory Var #ede7d7 */
  --sienna:     #a43a23;
  --peach:      #f8b681;
  --sea:        #91a4a7;   /* Blue */
  --cream:      #fdfaee;   /* Ivory */
  --sienna-var: #a55646;
  --stone:      #ede7d7;   /* Ivory Var: fundo secundário / faixas */

  --accent:   var(--sienna-var);   /* cor de marca: botões, selos, números (Sienna Var; o Sienna não se usa) */
  --ink:      #333333;   /* texto principal */
  --paper:    #ffffff;   /* fundo */
  --muted:    #666666;   /* texto secundário */
  --line:     #dcdad1;   /* filetes */
  --on-dark:  #ffffff;

  --display: "Bauhaus Rail", "Jost", "Futura", "Century Gothic", sans-serif;
  --body:    "Jost", "Futura", "Century Gothic", "Helvetica Neue", Arial, sans-serif;

  --fs-hero: clamp(2.6rem, 6.5vw, 5.6rem);
  --fs-h1:   clamp(2.2rem, 5vw, 4.2rem);
  --fs-h2:   clamp(1.7rem, 3.4vw, 2.8rem);
  --fs-h3:   clamp(1.2rem, 1.8vw, 1.5rem);
  --fs-body: 1.0625rem;
  --fs-small: .875rem;
  --fs-label: .75rem;

  --gutter: clamp(16px, 4vw, 56px);
  --section: clamp(64px, 10vw, 140px);
  --header-h: 64px;
}

/* ---------- 2. FONTES ---------- */
/* Bauhaus Rail Display (Saskia Ketz): Thin (100) e Medium (500).
   Os títulos usam peso 400, que o navegador resolve para o Medium. */
@font-face {
  font-family: "Bauhaus Rail";
  src: url("../../fonts/BauhausRail-Thin.woff2") format("woff2");
  font-weight: 100 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bauhaus Rail";
  src: url("../../fonts/BauhausRail-Medium.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- 3. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -.005em;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

.wrap {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.label {
  font-family: var(--body);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.muted { color: var(--muted); }
.prose { max-width: 62ch; display: grid; gap: 1.1em; }
.prose a { border-bottom: 1px solid currentColor; }

/* ---------- 4. LINKS / BOTÕES ---------- */
.link-arrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: var(--fs-small); font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  transition: gap .25s ease;
}
.link-arrow::after { content: "→"; }
.link-arrow:hover { gap: 1em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 28px;
  font-size: var(--fs-small); font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  transition: background .2s ease, color .2s ease;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { border-color: var(--on-dark); background: var(--on-dark); color: var(--ink); }
.btn--light:hover { background: transparent; color: var(--on-dark); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 5. FAIXA DE TOPO + HEADER ---------- */
.topbar {
  background: var(--ink); color: var(--on-dark);
  text-align: center; font-size: var(--fs-label);
  letter-spacing: .14em; text-transform: uppercase;
  padding-block: 9px;
}
.topbar a { border-bottom: 1px solid currentColor; }

.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  height: var(--header-h);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.site-header .wrap {
  height: 100%;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.brand {
  font-family: var(--display); font-size: 1.45rem; letter-spacing: .01em;
  white-space: nowrap; justify-self: center;
}
.nav-main { display: none; gap: 28px; }
.nav-main a, .header-shop {
  font-size: var(--fs-label); font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  padding-block: 6px; border-bottom: 1px solid transparent;
}
.nav-main a:hover, .nav-main a[aria-current="page"] { border-bottom-color: currentColor; }
.header-right { justify-self: end; display: flex; align-items: center; gap: 20px; }
.header-shop { border: 1px solid currentColor; padding: 8px 14px; }
.menu-toggle {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 10px;
  background: none; border: 0; color: inherit; cursor: pointer; padding: 8px 0;
  font: 500 var(--fs-label)/1 var(--body); letter-spacing: .14em; text-transform: uppercase;
}
.menu-toggle .bars { width: 22px; height: 10px; position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
}
.menu-toggle .bars::before { top: 0; } .menu-toggle .bars::after { bottom: 0; }

/* header transparente sobre o hero (só na home e páginas com .has-hero) */
.has-hero .site-header.is-over {
  background: transparent; color: var(--on-dark); border-color: transparent;
}
.has-hero .site-header { margin-bottom: calc(var(--header-h) * -1); }

@media (min-width: 1100px) {
  .site-header .wrap { grid-template-columns: auto 1fr auto; }
  .brand { justify-self: start; }
  .nav-main { display: flex; justify-self: center; }
  .menu-toggle { display: none; }
}

/* ---------- 6. MENU OVERLAY ---------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: var(--paper); color: var(--ink);
  display: flex; flex-direction: column;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
}
.menu-overlay.is-open { opacity: 1; visibility: visible; }
.menu-overlay .menu-head {
  height: var(--header-h); display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.menu-close {
  background: none; border: 0; cursor: pointer; color: inherit; padding: 8px 0;
  font: 500 var(--fs-label)/1 var(--body); letter-spacing: .14em; text-transform: uppercase;
}
.menu-list { list-style: none; margin: 0; padding: 40px 0; display: grid; gap: 6px; }
.menu-list a { font-family: var(--display); font-size: clamp(2rem, 8vw, 3.4rem); line-height: 1.15; }
.menu-foot { margin-top: auto; padding-block: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 28px; }

/* ---------- 7. HERO ---------- */
.hero {
  position: relative; color: var(--on-dark);
  min-height: min(92vh, 900px);
  display: flex; align-items: flex-end;
  background: var(--ink);
  overflow: hidden;
}
.hero > img, .hero > .ph, .story > img, .story > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero > .ph, .story > .ph { color: transparent; background: var(--accent); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 45%, rgba(0,0,0,.55) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(48px, 8vw, 96px); display: grid; gap: 22px; }
.hero h1 { font-size: var(--fs-hero); max-width: 14ch; }

/* cabeçalho de página interior (sem imagem) */
.page-head { padding-block: clamp(56px, 9vw, 120px) clamp(32px, 5vw, 64px); }
.page-head .wrap { display: grid; gap: 22px; }
.page-head h1 { font-size: var(--fs-h1); max-width: 18ch; }
.page-head .lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 54ch; }

/* ---------- 8. SECÇÕES ---------- */
.section { padding-block: var(--section); }
.section--stone { background: var(--stone); }
.section--sea { background: var(--sea); --muted: #333333; --line: rgba(51,51,51,.25); }
.section--cream { background: var(--cream); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section-head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 56px);
}
.section-head h2 { font-size: var(--fs-h2); }

/* tiles (como as categorias da Moooi) */
.tiles { display: grid; gap: clamp(12px, 1.6vw, 24px); grid-template-columns: 1fr; }
@media (min-width: 720px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { display: grid; gap: 14px; align-content: start; }
.tile__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.tile:hover .tile__media img { transform: scale(1.04); }
.tile h3 { font-size: var(--fs-h3); }
.tile p { color: var(--muted); font-size: var(--fs-small); }

/* placeholder de imagem de projeto */
.ph {
  width: 100%; height: 100%;
  display: flex; align-items: flex-end; padding: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.0), rgba(255,255,255,.35)),
    var(--stone);
  color: var(--muted);
  font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1;
}
.ph--accent { background: linear-gradient(135deg, rgba(255,255,255,.0), rgba(255,255,255,.18)), var(--accent); color: var(--on-dark); }

/* faixa full-bleed com texto sobreposto (story) */
.story {
  position: relative; color: var(--on-dark); background: var(--accent);
  min-height: min(80vh, 760px); display: flex; align-items: flex-end; overflow: hidden;
}
.story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55)); }
.story .wrap { position: relative; z-index: 1; padding-block: clamp(40px, 7vw, 88px); display: grid; gap: 18px; }
.story h2 { font-size: var(--fs-h1); max-width: 16ch; }
.story p { max-width: 52ch; }

/* split 50/50 */
.split { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--rev .split__media { order: 2; } }
.split__media { min-height: 360px; background: var(--stone); overflow: hidden; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body {
  display: grid; align-content: center; gap: 22px; min-width: 0;
  padding: clamp(40px, 7vw, 112px) max(var(--gutter), env(safe-area-inset-right, 0px)) clamp(40px, 7vw, 112px) max(var(--gutter), env(safe-area-inset-left, 0px));
}
.split__body h2 { font-size: var(--fs-h2); }

/* grelha de projetos */
.projects { display: grid; gap: clamp(28px, 4vw, 56px) clamp(14px, 2vw, 28px); grid-template-columns: 1fr; }
@media (min-width: 640px) { .projects { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .projects--3 { grid-template-columns: repeat(3, 1fr); } }
.project { display: grid; gap: 12px; align-content: start; min-width: 0; }
.project__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.project:hover .project__media img { transform: scale(1.04); }
.project__meta { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.project h3 { font-size: var(--fs-h3); }
.project p { color: var(--muted); font-size: var(--fs-small); max-width: 52ch; }

/* filtros / atalhos de portfólio */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border: 1px solid var(--line); font-size: var(--fs-small);
  transition: border-color .2s ease;
}
.chip:hover { border-color: var(--ink); }
.chip--static { cursor: default; }

/* fases / passos (sequência real) */
.steps { display: grid; gap: clamp(36px, 5vw, 72px); }
.step {
  display: grid; gap: 20px 48px; grid-template-columns: 1fr;
  padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line);
}
@media (min-width: 900px) { .step { grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.step__n { font-family: var(--display); font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: .9; color: var(--accent); }
.step__body { display: grid; gap: 14px; min-width: 0; }
.step h3 { font-size: var(--fs-h2); }
.step__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--stone); }
.step__media img { width: 100%; height: 100%; object-fit: cover; }

/* tabela de planos */
.plans-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--ink); }
.plans { width: 100%; min-width: 720px; border-collapse: collapse; font-size: var(--fs-small); }
.plans th, .plans td { padding: 16px 14px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.plans th:first-child, .plans td:first-child { text-align: left; width: 38%; }
.plans thead th { font-family: var(--display); font-weight: 400; font-size: 1.15rem; line-height: 1.2; vertical-align: bottom; padding-top: 28px; }
.plans tbody th { font-weight: 400; }
.plans .price td, .plans .price th { font-family: var(--display); font-size: 1.35rem; }
.plans .yes { color: var(--accent); font-size: 1.1rem; }
.plans .no { color: var(--line); font-size: 1.1rem; }
.plans .sub { display: block; font-family: var(--body); font-size: var(--fs-label); color: var(--muted); margin-top: 2px; }
.plans tfoot td { border-bottom: 0; padding-top: 28px; }

/* artigos academia */
.articles { display: grid; gap: clamp(28px, 4vw, 48px) clamp(14px, 2vw, 28px); grid-template-columns: 1fr; }
@media (min-width: 720px) { .articles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .articles { grid-template-columns: repeat(3, 1fr); } }
.article { display: grid; gap: 12px; align-content: start; min-width: 0; }
.article__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--stone); }
.article__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.article:hover .article__media img { transform: scale(1.04); }
.article h3 { font-size: var(--fs-h3); }
.article p { color: var(--muted); font-size: var(--fs-small); }

/* faixa de loja */
.shop-band { background: var(--stone); }
.shop-band .wrap { padding-block: clamp(48px, 7vw, 96px); display: grid; gap: 28px; }
@media (min-width: 900px) { .shop-band .wrap { grid-template-columns: 1fr auto; align-items: end; } }
.shop-band h2 { font-size: var(--fs-h2); }

/* CTA final */
.cta { text-align: left; }
.cta .wrap { display: grid; gap: 28px; justify-items: start; }
.cta h2 { font-size: var(--fs-h1); max-width: 16ch; }

/* keywords do projeto integrado */
.keywords { display: flex; flex-wrap: wrap; gap: 8px 28px; font-family: var(--display); font-size: clamp(1.3rem, 2.6vw, 2.1rem); color: var(--accent); }

/* ---------- 9. FOOTER ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); font-size: var(--fs-small); }
.site-footer .wrap { padding-block: clamp(56px, 8vw, 96px) 32px; display: grid; gap: 48px; }
.footer-cols { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand { font-family: var(--display); font-size: 2rem; line-height: 1; }
.footer-col h4 { font-family: var(--body); font-weight: 500; font-size: var(--fs-label); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; opacity: .7; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); opacity: .7; font-size: var(--fs-label); letter-spacing: .08em; }

/* ---------- 10. REVEAL (parte de um estado visível) ---------- */
.reveal { transition: opacity .9s ease, transform .9s ease; }
.js .reveal.pre { opacity: .001; transform: translateY(24px); }

/* ---------- 11. AJUSTES MOBILE ---------- */
.header-shop { white-space: nowrap; }
.plans th:first-child, .plans td:first-child { position: sticky; left: 0; background: var(--paper); z-index: 1; }
@media (max-width: 520px) {
  .brand { font-size: 1.1rem; }
  .header-shop { padding: 7px 10px; letter-spacing: .1em; }
  .menu-toggle { font-size: 0; gap: 0; }           /* só o ícone */
  .topbar { font-size: .65rem; letter-spacing: .1em; }
  .plans th:first-child, .plans td:first-child { width: 46%; min-width: 170px; }
}

/* ---------- 12. v2: logo ao centro, tile loja, ideias, planos, FAQ ---------- */
.site-header .wrap { grid-template-columns: 1fr auto 1fr; }
.header-left { justify-self: start; display: flex; align-items: center; }
.brand { justify-self: center; }
@media (min-width: 1100px) {
  .site-header .wrap { grid-template-columns: 1fr auto 1fr; }
  .brand { justify-self: center; font-size: 1.6rem; }
  .nav-main { gap: 22px; }
}
.tiles--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .tiles--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .tiles--4 { grid-template-columns: repeat(4, 1fr); } }
.tile--shop .tile__media { background: var(--accent); }

.ideas { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 720px) { .ideas { grid-template-columns: repeat(2, 1fr); column-gap: 40px; } }
@media (min-width: 1100px) { .ideas { grid-template-columns: repeat(3, 1fr); } }
.idea { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-small); min-width: 0; transition: padding .2s ease; }
.idea:hover { padding-left: 6px; }
.idea__price { font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }

.plan-cards { display: grid; gap: clamp(14px, 2vw, 24px); grid-template-columns: 1fr; }
@media (min-width: 900px) { .plan-cards { grid-template-columns: repeat(3, 1fr); } }
.plan { display: grid; gap: 16px; align-content: start; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); background: var(--paper); position: relative; min-width: 0; }
.plan h3 { font-size: var(--fs-h3); }
.plan__price { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1; }
.plan__price span { font-family: var(--body); font-size: var(--fs-small); color: var(--muted); }
.plan .btn { justify-self: start; }
.badge { justify-self: start; font-size: var(--fs-label); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; background: var(--accent); color: var(--on-dark); padding: 5px 10px; }
.section--stone .plans th:first-child, .section--stone .plans td:first-child { background: var(--stone); }
.plans--levels td { font-variant-numeric: tabular-nums; white-space: nowrap; }
.plans .total th, .plans .total td { font-weight: 500; border-top: 1px solid var(--ink); }

.credit { margin-top: clamp(40px, 6vw, 72px); padding: clamp(28px, 4vw, 48px); background: var(--ink); color: var(--on-dark); display: grid; gap: 16px; }
.credit__big { font-family: var(--display); font-size: var(--fs-h2); line-height: 1.1; }

.faqs { border-top: 1px solid var(--ink); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-family: var(--display); font-size: var(--fs-h3); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--body); font-weight: 300; }
.faq[open] summary::after { content: "–"; }
.faq > *:not(summary) { margin-bottom: 22px; }

.copy-slot { display: grid; gap: 6px; padding: 14px 16px; border: 1px dashed #b5651d; color: #8a4b12; background: #fff7ee; font-size: var(--fs-small); max-width: 62ch; }
.copy-slot .label { color: #b5651d; }
.copy-slot--dark { background: transparent; color: #f3c79b; border-color: #f3c79b; }
.copy-slot--dark .label { color: #f3c79b; }
.credit .copy-slot { background: transparent; color: #f3c79b; border-color: #f3c79b; }
.credit .copy-slot .label { color: #f3c79b; }

/* ---------- 13. PAINÉIS GRANDES (como a Moooi) ---------- */
.panels { display: grid; grid-template-columns: 1fr; gap: 6px; padding-top: 6px; }
@media (min-width: 800px) { .panels { grid-template-columns: 1fr 1fr; } }
.panel {
  position: relative; display: flex; align-items: flex-end; overflow: hidden;
  min-height: clamp(460px, 82vh, 920px);
  color: var(--on-dark); background: var(--ink);
}
@media (max-width: 799px) { .panel { min-height: 0; aspect-ratio: 4 / 5; } }
.panel__media { position: absolute; inset: 0; }
.panel__media img, .panel__media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.panel__media .ph { color: transparent; }
.panel--0 .panel__media .ph { background: var(--sea); }
.panel--1 .panel__media .ph { background: var(--peach); }
.panel--2 .panel__media .ph { background: var(--sienna-var); }
.panel--3 .panel__media .ph { background: var(--accent); }
.panel:hover .panel__media img, .panel:hover .panel__media .ph { transform: scale(1.035); }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55) 100%); pointer-events: none; }
.panel__body {
  position: relative; z-index: 1; display: grid; gap: 12px; max-width: 34rem;
  padding: clamp(28px, 4vw, 56px) max(var(--gutter), env(safe-area-inset-left, 0px));
}
.panel__body h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.panel__body p { opacity: .9; }
.panel__body .link-arrow { justify-self: start; margin-top: 6px; }

/* ---------- 14. v3: painéis = projetos; tiles pequenos = atalhos ---------- */
.section--tight { padding-bottom: 0; }
.panels { padding-top: 0; }
@media (min-width: 800px) { .panel--wide { grid-column: 1 / -1; min-height: clamp(520px, 88vh, 980px); } }
.tiles--small .tile__media { aspect-ratio: 1 / 1; }
.tiles--small .tile h3 { font-size: 1.15rem; }

/* ---------- 15. v4: vídeo de apresentação + vídeo nos painéis ---------- */
.section--tiles { padding-block: clamp(40px, 6vw, 80px); }
.media-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.panel__media .media-video { transition: transform 1.2s ease; }
.panel:hover .panel__media .media-video { transform: scale(1.035); }
.video-band {
  position: relative; background: var(--ink); overflow: hidden;
  aspect-ratio: 16 / 9; max-height: 92vh; width: 100%;
}
@media (max-width: 700px) { .video-band { aspect-ratio: 4 / 5; } }
.video-band .media-video, .video-band .ph { position: absolute; inset: 0; width: 100%; height: 100%; }
.video-band .ph { background: var(--ink); color: rgba(255,255,255,.55); align-items: center; justify-content: center; }
.ph--video::before { content: "▶"; font-family: var(--body); font-size: .9em; margin-right: .5em; }
.sound-toggle {
  position: absolute; right: max(var(--gutter), env(safe-area-inset-right, 0px)); bottom: clamp(16px, 3vw, 32px); z-index: 2;
  min-height: 40px; padding: 0 16px; background: transparent; color: var(--on-dark);
  border: 1px solid var(--on-dark); cursor: pointer;
  font: 500 var(--fs-label)/1 var(--body); letter-spacing: .14em; text-transform: uppercase;
}
.sound-toggle[aria-pressed="true"] { background: var(--on-dark); color: var(--ink); }
.sound-toggle[hidden] { display: none; }
.panel__media .ph--video { color: rgba(255,255,255,.7); align-items: flex-start; font-family: var(--body); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; padding: 24px max(var(--gutter), env(safe-area-inset-left, 0px)); }

/* ---------- 16. v5: menu oculto (gaveta), hero centrado, painéis centrados ---------- */
.nav-main { display: none !important; }
.menu-toggle { display: inline-flex !important; }
@media (max-width: 520px) { .menu-toggle { font-size: var(--fs-label); gap: 10px; } }
.header-shop { display: none; }
.brand { font-size: clamp(1.25rem, 2vw, 1.7rem); }

.menu-backdrop { position: fixed; inset: 0; z-index: 99; background: rgba(0,0,0,.35); opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s; }
.menu-backdrop.is-open { opacity: 1; visibility: visible; }
.menu-overlay {
  inset: 0 auto 0 0; width: min(480px, 100%);
  transform: translateX(-100%); opacity: 1; visibility: hidden;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), visibility .45s;
  overflow-y: auto;
}
.menu-overlay.is-open { transform: none; visibility: visible; }
.menu-list a { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.menu-list a:hover { color: var(--accent); }

.hero--center { align-items: center; text-align: center; }
.hero--center::after { background: linear-gradient(180deg, rgba(0,0,0,.30) 0%, rgba(0,0,0,.18) 40%, rgba(0,0,0,.40) 100%); }
.hero--center .wrap { justify-items: center; gap: 14px; padding-block: clamp(96px, 14vw, 180px); }
.hero__eyebrow { font-size: var(--fs-label); font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.hero--center h1 { font-size: clamp(2.8rem, 7.5vw, 6.4rem); max-width: 13ch; }
.hero__sub { font-family: var(--display); font-size: clamp(1.15rem, 2vw, 1.6rem); opacity: .92; }
.hero--center .link-arrow { margin-top: 10px; }

.panel { justify-content: center; text-align: center; align-items: center; }
.panel::after { background: linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.42) 100%); }
.panel__body { justify-items: center; margin-inline: auto; gap: 10px; }
.panel__body .label { letter-spacing: .22em; }
.panel__body h2 { font-size: clamp(2.2rem, 4.6vw, 4.2rem); }
.panel--wide .panel__body h2 { font-size: clamp(2.6rem, 6vw, 5.4rem); }
.panel__body p { font-size: var(--fs-small); max-width: 46ch; }
.panel__body .link-arrow { justify-self: center; }
.panel__media .ph--video { justify-content: flex-start; }

/* ---------- 17. v6: CTA Marcar Reunião — transparente, borda e texto brancos ---------- */
.btn--outline-light, .btn--outline-light:visited {
  background: transparent; color: #fff; border: 1px solid #fff;
}
.btn--outline-light:hover { background: #fff; color: var(--ink); }
.actions--center { justify-content: center; }
.hero--center .actions { margin-top: 14px; }
.video-band__cta { position: absolute; left: max(var(--gutter), env(safe-area-inset-left, 0px)); bottom: clamp(16px, 3vw, 32px); z-index: 2; }
.meet-band { background: var(--accent); color: #fff; text-align: center; }
.meet-band .wrap { padding-block: clamp(64px, 9vw, 120px); display: grid; justify-items: center; gap: 18px; }
.meet-band h2 { font-size: var(--fs-h2); max-width: 20ch; }
.meet-band .actions { margin-top: 10px; }

/* ---------- 18. v7: Interiores — grelha de 2 colunas com tiles grandes ---------- */
.projects--2 { grid-template-columns: 1fr; gap: clamp(36px, 5vw, 72px) clamp(10px, 1.4vw, 20px); }
@media (min-width: 700px) { .projects--2 { grid-template-columns: repeat(2, 1fr); } }
.projects--2 .project__media { aspect-ratio: 3 / 2; }
.projects--2 .project__media .ph { font-size: clamp(1.8rem, 3.4vw, 3rem); padding: clamp(18px, 2.4vw, 32px); }
.projects--2 .project h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.page-head + .panels { padding-top: 0; }

/* ---------- 19. v8: Ideias de Projeto por casa + filtro por divisão ---------- */
.idea-filter { margin-bottom: clamp(24px, 3vw, 40px); }
.idea-filter .chip { background: transparent; color: var(--ink); font: 400 var(--fs-small)/1 var(--body); cursor: pointer; }
.idea-filter .chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.idea-grid { display: grid; gap: clamp(28px, 3vw, 44px) clamp(12px, 1.6vw, 24px); grid-template-columns: 1fr; }
@media (min-width: 600px) { .idea-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .idea-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1300px) { .idea-grid { grid-template-columns: repeat(4, 1fr); } }
.idea-card { display: grid; gap: 12px; align-content: start; min-width: 0; }
.idea-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.idea-card__media .ph { background: var(--paper); font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
.idea-card__media .ph--accent { background: var(--accent); }
.idea-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.idea-card__head h3 { font-size: var(--fs-h3); }
.idea-card__rooms { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.idea-card__rooms a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-small); transition: padding .2s ease; }
.idea-card__rooms a:hover { padding-left: 6px; }
.idea-card__rooms li[hidden], .idea-card[hidden] { display: none; }
.idea-grid.is-collapsed .idea-card:nth-child(n+9) { display: none; }
.idea-more { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 56px); }
.idea-more[hidden] { display: none; }

/* ---------- 20. Artigos da Academia ---------- */
.art .page-head h1 { max-width: 22ch; }
.link-arrow--back::after { content: none; }
.link-arrow--back::before { content: "←"; }
.art-cover { margin: 0 0 clamp(32px, 5vw, 56px); aspect-ratio: 16 / 9; overflow: hidden; background: var(--stone); }
.art-cover img, .art-cover .ph { width: 100%; height: 100%; object-fit: cover; }
.art-body { margin: 0 auto clamp(64px, 9vw, 120px); font-size: 1.125rem; }
.art-body h2 { font-size: var(--fs-h3); margin-top: 1.2em; }
.art-body h3 { font-size: 1.15rem; margin-top: 1em; }
.art-body ul { margin: 0; padding-left: 1.2em; display: grid; gap: .4em; }
.art-body figure { margin: 1em 0; }
.art-body a { border-bottom: 1px solid currentColor; }

/* ---------- 18. Cores da marca nos blocos ----------
   Sienna Var nos botões principais, no bloco de crédito, nos blocos de
   CTA, na faixa "Marcar Reunião" e na barra do topo; Blue na Academia;
   Ivory na faixa da loja; Ivory Var no rodapé; Peach nos selos.
   O Sienna (#a43a23) não se usa. */
.btn { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn:hover { background: transparent; color: var(--accent); }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { border-color: #fff; background: #fff; color: var(--ink); }
.btn--light:hover { background: transparent; color: #fff; }

.section--dark { background: var(--sienna-var); color: #fff; }
.credit { background: var(--accent); color: #fff; }
.shop-band { background: var(--cream); }

.site-footer { background: var(--stone); color: var(--ink); }
.site-footer .footer-col h4 { color: var(--sienna-var); opacity: 1; }
.footer-bottom { border-top-color: rgba(51,51,51,.18); }

.idea-filter .chip.is-active { background: var(--sienna-var); border-color: var(--sienna-var); color: #fff; }
.btn--outline-light, .btn--outline-light:visited { background: transparent; border-color: #fff; color: #fff; }
.btn--outline-light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.topbar { background: var(--sienna-var); }
.meet-band { background: var(--sienna-var); }
.badge { background: var(--peach); color: var(--ink); }

/* ---------- 19. Blocos de cor como nas páginas atuais ----------
   Home: cartões Ivory sobre faixa Sienna Var; Design de Interiores em
   Ivory; Academia em Blue. Páginas interiores com fundo Ivory. Planos:
   bloco do crédito em Blue. Academia: topo em Blue. */
.page-index .section--tiles { background: var(--cream); }   /* Ivory, cartões Ivory sem borda */
.page-index .section--tiles .tile { background: var(--cream); padding-bottom: 20px; }
.page-index .section--tiles .tile > :not(.tile__media) { padding-inline: 16px; }
.page-index .section--tight { background: var(--cream); }

.page-interiores, .page-o-metodo, .page-como-funciona, .page-planos { background: var(--cream); }
.page-interiores .section--stone, .page-o-metodo .section--stone,
.page-como-funciona .section--stone, .page-planos .section--stone { background: transparent; }
.page-planos .plans th:first-child, .page-planos .plans td:first-child,
.page-planos .section--stone .plans th:first-child, .page-planos .section--stone .plans td:first-child { background: var(--cream); }
.page-interiores .shop-band, .page-o-metodo .shop-band,
.page-como-funciona .shop-band, .page-planos .shop-band { border-top: 1px solid var(--line); }

.credit { background: var(--sea); color: var(--ink); }
.credit .label { opacity: .8 !important; }
.credit p { opacity: 1 !important; }

.page-academia .page-head { background: var(--sea); --muted: #333333; }
.page-academia .page-head + .section { padding-top: clamp(48px, 6vw, 80px) !important; }

/* ---------- 20. Vídeo de apresentação (Vimeo) ----------
   O iframe 16:9 cobre a faixa inteira (também no formato 4:5 do telemóvel). */
.video-band { container-type: size; }
.vimeo-cover { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.vimeo-cover iframe {
  position: absolute; top: 50%; left: 50%; border: 0;
  width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw);
  transform: translate(-50%, -50%);
}
.sound-toggle--round {
  width: 44px; min-height: 44px; height: 44px; padding: 0; border-radius: 50%;
  border: 0; background: rgba(0,0,0,.6); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.sound-toggle--round svg { width: 20px; height: 20px; }
.sound-toggle--round .i-sound { display: none; }
.sound-toggle--round[aria-pressed="true"] { background: rgba(0,0,0,.6); color: #fff; }
.sound-toggle--round[aria-pressed="true"] .i-sound { display: block; }
.sound-toggle--round[aria-pressed="true"] .i-mute { display: none; }
@media (max-width: 700px) { .sound-toggle--round { width: 34px; height: 34px; min-height: 34px; } .sound-toggle--round svg { width: 16px; height: 16px; } }

/* ---------- 21. Bauhaus Rail só em tamanhos grandes ----------
   É uma fonte de título com cortes nos traços; em tamanho pequeno
   perde leitura. Títulos pequenos, tabelas, perguntas e subtítulo
   do hero ficam em Jost. */
h3, h4, .plans thead th, .plans .price td, .plans .price th,
.faq summary, .hero__sub { font-family: var(--body); }
h3 { font-weight: 400; letter-spacing: 0; }
.faq summary { font-weight: 400; }
.page-index .section--tiles .tile .link-arrow { justify-self: start; margin-inline: 16px; padding-inline: 0; }

/* ---------- 22. Como Funciona como na página atual ----------
   Imagens quadradas, passo 02 com a imagem à esquerda e destaque
   Peach no parágrafo "Prefere começar por aí?". */
.page-como-funciona .step__media { aspect-ratio: 1 / 1; }
@media (min-width: 900px) {
  .page-como-funciona .step { align-items: center; }
  .page-como-funciona .step:nth-child(even) { grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr); }
  .page-como-funciona .step:nth-child(even) .step__media { order: -1; }
}
.callout {
  padding: 14px 18px; border-left: 3px solid var(--peach);
  background: color-mix(in srgb, var(--peach) 22%, transparent); color: var(--ink);
}
.callout strong { font-weight: 500; }

/* ---------- 23. Planos como na página atual ---------- */
.pl-hl { --hl: color-mix(in srgb, var(--peach) 28%, var(--cream)); }
.page-planos { --hl: color-mix(in srgb, var(--peach) 28%, var(--cream)); --rule: rgba(51,51,51,.14); }

/* topo: texto à esquerda, 3 perguntas à direita */
.pl-head .wrap { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .pl-head .wrap { grid-template-columns: 1.1fr 1fr; gap: 72px; } }
.pl-head__text { display: grid; gap: 22px; }
.pl-q { list-style: none; margin: 0; padding: 0 0 0 24px; border-left: 2px solid var(--accent); align-self: center; }
.pl-q li { display: grid; grid-template-columns: 34px 1fr; gap: 6px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.pl-q li:last-child { border-bottom: 0; }
.pl-q__n { color: var(--muted); font-size: var(--fs-small); padding-top: 4px; }
.pl-q a { display: grid; gap: 4px; }
.pl-q strong { font-weight: 400; font-size: 1.2rem; }
.pl-q a span { color: var(--muted); font-size: var(--fs-small); }
.pl-q a:hover strong { color: var(--accent); }

/* títulos de secção 01 / 02 / 03 */
.pl-sec { padding-top: clamp(56px, 7vw, 96px); }
.pl-sec--line { border-top: 1px solid var(--rule); }
.pl-title { display: grid; gap: 14px; max-width: 560px; margin-bottom: clamp(40px, 5vw, 64px); }
.pl-n { font-family: var(--body); font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 400; line-height: 1; color: var(--ink); }
.pl-title h2 { font-size: var(--fs-h2); }

/* selos sobre a linha superior */
.pl-tag {
  position: absolute; top: 0; left: 18px; transform: translateY(-50%);
  padding: 4px 9px; font: 500 11px/1.2 var(--body); letter-spacing: .02em; color: var(--ink);
  border-top: 2px solid var(--accent);
}
.pl-tag--peach { background: var(--peach); }
.pl-tag--sea { background: var(--sea); }

/* tabela comparativa de serviços */
.pl-cmp, .pl-lvl { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 1rem; }
.pl-cmp { border-top: 1px solid var(--ink); }
.pl-cmp thead th, .pl-cmp thead td { position: relative; padding: 26px 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--ink); width: 23%; }
.pl-cmp thead td { width: 31%; }
.pl-name { display: block; font-family: var(--body); font-weight: 400; font-size: 1.3rem; line-height: 1.25; max-width: 12ch; }
.pl-price { display: block; margin-top: 8px; font-weight: 500; font-size: var(--fs-small); }
.pl-cmp tbody th, .pl-cmp tbody td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--rule); font-weight: 400; }
.pl-cmp tbody th { color: var(--muted); font-weight: 300; }
.pl-cmp .is-hl { background: var(--hl); }
.pl-no { color: var(--muted); opacity: .6; }
.pl-cmp .pl-cta td { padding: 16px 18px 20px; border-bottom: 1px solid var(--rule); }
.pl-cmp .pl-cta .btn { min-height: 44px; padding: 0 22px; letter-spacing: .02em; text-transform: none; font-size: .95rem; }
.pl-note { margin-top: 18px; max-width: 72ch; color: var(--muted); font-size: var(--fs-small); }

/* cartões dos níveis */
.pl-levels { display: grid; gap: 16px; margin-bottom: clamp(40px, 5vw, 56px); }
@media (min-width: 800px) { .pl-levels { grid-template-columns: repeat(3, 1fr); } }
.pl-level { position: relative; display: grid; gap: 14px; align-content: start; padding: 28px 24px; background: var(--paper); border: 1px solid var(--rule); }
.pl-level .pl-tag { left: auto; right: 24px; }
.pl-level h3 { font-size: 1.35rem; }
.pl-level h3 small { margin-left: 6px; font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pl-level p { color: var(--ink); font-size: var(--fs-small); }

/* tabela de valores por ambiente */
.pl-lvl { border: 1px solid var(--rule); background: var(--cream); }
.pl-lvl thead th { padding: 22px 18px; text-align: left; font-family: var(--body); font-weight: 400; font-size: 1.25rem; border-bottom: 1px solid var(--ink); border-left: 1px solid var(--rule); }
.pl-lvl thead th:first-child { border-left: 0; }
.pl-lvl tbody th, .pl-lvl tbody td { padding: 18px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--rule); border-left: 1px solid var(--rule); font-weight: 600; }
.pl-lvl tbody th { border-left: 0; font-weight: 500; width: 31%; }
.pl-lvl .sub { display: block; margin-top: 4px; font-size: .8rem; font-weight: 300; color: var(--muted); }
.pl-lvl .pl-soft { color: var(--muted); font-weight: 300; }
.pl-lvl .is-hl { background: var(--hl); }
.pl-lvl .pl-total th, .pl-lvl .pl-total td { padding-block: 24px; font-weight: 600; color: var(--ink); }

/* faixa do crédito */
.pl-credit { background: var(--sea); color: var(--ink); }
.pl-credit .wrap { display: grid; gap: 32px; align-items: center; padding-block: clamp(64px, 8vw, 104px); }
@media (min-width: 900px) { .pl-credit .wrap { grid-template-columns: 1fr 1fr; gap: 64px; } }
.pl-credit h2 { font-family: var(--body); font-weight: 300; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.15; max-width: 16ch; }
.pl-credit__text p { margin-top: 22px; max-width: 46ch; }
.pl-credit__card { display: grid; gap: 10px; padding: 26px 28px; background: var(--cream); justify-self: stretch; }
.pl-credit__card .label { font-weight: 500; }
.pl-credit__big { font-size: 1.4rem; font-weight: 400; }

/* perguntas em duas colunas */
@media (min-width: 900px) { .pl-faq { display: grid; grid-template-columns: 1fr 1.7fr; gap: 64px; align-items: start; } .pl-faq .pl-title { margin-bottom: 0; } }
.page-planos .faq summary { font-family: var(--body); font-weight: 400; font-size: 1.1rem; }
.page-planos .faq summary::after { color: var(--accent); }

/* CTA final centrado */
.pl-final { text-align: center; }
.pl-final .wrap { justify-items: center; }
.pl-final h2 { max-width: 18ch; margin-inline: auto; font-size: var(--fs-h2); }
.pl-final p { max-width: 44ch; opacity: .85; }
/* selos da tabela de serviços: espaço por cima para não serem cortados pela caixa de scroll */
.page-planos #servicos .plans-scroll { padding-top: 16px; }
.pl-tag { padding: 5px 10px; font-size: 11.5px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
/* Planos: sem a linha antiga da caixa de scroll; selos assentes em cima da linha da tabela */
.page-planos .plans-scroll { border-top: 0; }
.page-planos #servicos .plans-scroll { padding-top: 28px; }
.pl-cmp .pl-tag { transform: translateY(-100%); border-top: 0; border-bottom: 2px solid var(--accent); }
/* Planos: selos como na página original: à direita da coluna, a cavalo na linha, faixa grossa no topo */
.pl-cmp .pl-tag {
  left: auto; right: 18px; transform: translateY(-50%); z-index: 1;
  padding: 9px 11px 8px; font-size: 12px; font-weight: 600;
  border-top: 4px solid var(--accent); border-bottom: 0;
}
.pl-level .pl-tag { right: 18px; transform: translateY(-50%); padding: 9px 11px 8px; font-size: 12px; font-weight: 600; border-top: 4px solid var(--accent); }

/* ---------- 24. Logótipo ----------
   Claro (Ivory) sobre a imagem do topo; escuro quando o cabeçalho fica branco. */
.brand { display: inline-flex; align-items: center; line-height: 0; }
.brand .logo { display: block; height: 46px; width: auto; }
.site-header .logo--claro { display: none; }
.site-header.is-over .logo--claro { display: block; }
.site-header.is-over .logo--escuro { display: none; }
@media (max-width: 700px) { .brand .logo { height: 38px; } }

/* ---------- 25. Bauhaus Rail só no h1 e nos nomes dos projetos ----------
   Tudo o resto em Jost (light nos títulos grandes, para manter o tom). */
h2, .menu-list a, .step__n, .keywords, .credit__big, .plan__price { font-family: var(--body); }
h2 { font-weight: 300; letter-spacing: -.005em; }
.step__n, .keywords { font-weight: 300; }
.menu-list a { font-weight: 300; }
h1, .panel__body h2 { font-family: var(--display); }
.panel__body h2 { font-weight: 400; letter-spacing: -.01em; }   /* Medium, como antes */

/* rodapé: logótipo em imagem */
.footer-brand { display: inline-block; line-height: 0; }
.footer-brand .logo { height: 56px; width: auto; }

/* ---------- 26. Títulos em Bauhaus Rail a 70% do tamanho anterior ---------- */
.hero h1 { font-size: clamp(1.82rem, 4.55vw, 3.92rem); }
.hero--center h1 { font-size: clamp(1.96rem, 5.25vw, 4.48rem); }
.page-head h1 { font-size: clamp(1.54rem, 3.5vw, 2.94rem); }
.panel__body h2 { font-size: clamp(1.54rem, 3.22vw, 2.94rem); }
.panel--wide .panel__body h2 { font-size: clamp(1.82rem, 4.2vw, 3.78rem); }

/* ---------- 27. Cartões da Home ----------
   Botões ("Fazer Teste", "Ver Portfólio"…) todos à mesma altura, alinhados
   pelo mais baixo; 1.º cartão com a ilustração sobre fundo Blue. */
.page-index .section--tiles .tile { display: flex; flex-direction: column; gap: 14px; }
.page-index .section--tiles .tile .link-arrow { margin-top: auto; }
.page-index .section--tiles .tile:first-child .tile__media { background: color-mix(in srgb, var(--sea) 70%, #fff); }   /* Blue com menos 30% de cor */
.page-index .section--tiles .tile:first-child .tile__media img { mix-blend-mode: multiply; }
.page-index .section--tiles .tile .link-arrow { align-self: flex-start; }

/* ---------- 28. Bloco O Método na Home ----------
   Ilustração clara: sombra à esquerda, por trás do texto, para o texto branco se ler. */
.story--metodo::after { background: linear-gradient(90deg, rgba(28,24,22,.72) 0%, rgba(28,24,22,.5) 38%, rgba(28,24,22,0) 70%); }

/* ---------- 29. Botões mais pequenos (letra −3 px, caixa na mesma proporção) ---------- */
.btn { font-size: 11px; min-height: 38px; padding: 0 22px; }
.pl-cmp .pl-cta .btn { font-size: 12.2px; min-height: 36px; padding: 0 18px; }
/* links com seta também −3 px */
.link-arrow { font-size: 11px; }

/* ---------- 30. Bloco "Uma equipe de Interiores" em duas metades (como a Moooi) ----------
   Vídeo à esquerda a ocupar a metade inteira; painel Sienna Var à direita com o
   texto centrado. Tipos de letra, tamanhos e cores como no resto do site. */
.meet-band--split { display: grid; grid-template-columns: 1fr; padding: 0; text-align: center; }
.meet-band__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--ink); }
.meet-band__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.meet-band__body {
  display: grid; align-content: center; justify-items: center; gap: 18px;
  padding: clamp(56px, 8vw, 112px) max(var(--gutter), 24px);
}
.meet-band__body h2 { font-size: var(--fs-h2); max-width: 16ch; }
.meet-band__body .actions { margin-top: 10px; }
@media (min-width: 900px) {
  .meet-band--split { grid-template-columns: 1fr 1fr; min-height: min(92vh, 860px); }
  .meet-band__media { aspect-ratio: auto; }
}

/* ---------- 31. Menu lateral com texto mais pequeno ---------- */
.menu-list { gap: 10px; }
.menu-list a { font-size: clamp(1.25rem, 3.4vw, 1.7rem); line-height: 1.3; }

/* ---------- 32. Interiores: título em Jost e texto do topo como texto corrido ---------- */
.page-interiores .page-head h1 { font-family: var(--body); font-weight: 300; letter-spacing: -.01em; }
.page-interiores .page-head .lead,
.page-interiores .page-head p.muted { font-size: var(--fs-body); color: var(--ink); line-height: 1.65; max-width: 60ch; }
/* títulos das páginas interiores (Interiores, Como Funciona, Planos, Academia e artigos) em Jost */
.page-head h1 { font-family: var(--body); font-weight: 300; letter-spacing: -.01em; }

/* ---------- 33. Capa de O Método com a ilustração da Home ----------
   Ilustração clara: sombra à esquerda e em baixo, por trás do texto. */
.hero--metodo::after {
  background:
    linear-gradient(90deg, rgba(28,24,22,.7) 0%, rgba(28,24,22,.45) 40%, rgba(28,24,22,0) 72%),
    linear-gradient(0deg, rgba(28,24,22,.35) 0%, rgba(28,24,22,0) 45%);
}

/* ---------- 34. Páginas de projeto ----------
   Topo em duas metades: fotografia vertical fixa à esquerda enquanto o texto
   corre à direita (como os blocos ao estilo Moooi). Galeria vertical 3:4. */
.page-projeto { background: var(--cream); }
.pj-top { display: grid; grid-template-columns: 1fr; }
.pj-top__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--stone); }
.pj-top__media img, .pj-top__media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pj-top__body { display: grid; gap: 18px; align-content: start; padding: clamp(40px, 6vw, 96px) max(var(--gutter), 24px); }
.pj-top__body h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.05; letter-spacing: -.01em; }
.pj-text { max-width: 60ch; color: var(--ink); }
.pj-text p { font-size: var(--fs-body); line-height: 1.7; }
.pj-cred { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px 28px; margin: 12px 0 0; padding-top: 22px; border-top: 1px solid var(--line); max-width: 60ch; }
.pj-cred div { display: grid; gap: 4px; }
.pj-cred dt { font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pj-cred dd { margin: 0; font-size: var(--fs-small); }
.pj-top__body .actions { margin-top: 10px; }
.link-arrow--back::after { content: none; }
.link-arrow--back::before { content: "←"; }
@media (min-width: 900px) {
  .pj-top { grid-template-columns: 1fr 1fr; align-items: start; }
  .pj-top__media { position: sticky; top: var(--header-h); aspect-ratio: auto; height: calc(100vh - var(--header-h)); }
  .pj-top__body { padding-top: clamp(56px, 7vw, 112px); padding-bottom: clamp(56px, 7vw, 112px); }
}

.pj-gal-sec { padding-top: clamp(48px, 6vw, 88px); }
.pj-gal { display: grid; gap: clamp(10px, 1.4vw, 20px); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .pj-gal { grid-template-columns: repeat(3, 1fr); } }
.pj-gal__item { display: block; padding: 0; border: 0; background: var(--stone); cursor: zoom-in; aspect-ratio: 3 / 4; overflow: hidden; }
.pj-gal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.pj-gal__item:hover img { transform: scale(1.03); }

.pj-outros { padding-bottom: clamp(56px, 7vw, 96px); }
.pj-outros__grid { grid-template-columns: 1fr; }
@media (min-width: 700px) { .pj-outros__grid { grid-template-columns: repeat(3, 1fr); } }
.pj-outros__grid .project__media { aspect-ratio: 3 / 4; }

/* fotografia em ecrã inteiro */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20,18,16,.94); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 88vh; width: auto; height: auto; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; font: 300 28px/1 var(--body); padding: 16px; }
.lightbox__close { top: 12px; right: 16px; }
.lightbox__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 8px; top: 50%; transform: translateY(-50%); }
body.lightbox-open { overflow: hidden; }
@media (max-width: 899px) { .pj-top__media { aspect-ratio: 4 / 5; max-height: 70vh; width: 100%; } }

/* ---------- 35. Ideias de Projeto: imagem inteira, na proporção original (vertical 500×659) ---------- */
.idea-card__media { aspect-ratio: 500 / 659; }
.idea-card__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 36. Seletor de idioma PT · EN · ES ---------- */
.lang-switch { display: flex; gap: 2px; align-items: center; }
.lang-switch a {
  font-size: var(--fs-label); font-weight: 500; letter-spacing: .14em;
  padding: 6px 7px; opacity: .55; border-bottom: 1px solid transparent; transition: opacity .2s;
}
.lang-switch a:hover { opacity: 1; }
.lang-switch a[aria-current="true"] { opacity: 1; border-bottom-color: currentColor; }
.lang-switch--menu { margin-right: auto; }
@media (max-width: 520px) { .site-header .lang-switch a { padding: 6px 4px; letter-spacing: .08em; } }
.page-artigo { background: var(--cream); }

/* ---------- 38. Vídeos do Vimeo nos painéis dos projetos ----------
   O vídeo cobre o painel (como a faixa da Home); a capa fica por baixo enquanto carrega. */
.panel__media { container-type: size; }
.panel__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel__media .vimeo-cover { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.panel__media .vimeo-cover iframe {
  position: absolute; top: 50%; left: 50%; border: 0;
  width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); transform: translate(-50%, -50%);
}

/* ---------- 39. Cabeçalho sempre transparente; sem faixa do topo ----------
   O cabeçalho fica por cima do conteúdo em todas as páginas. Por cima de imagem
   ou vídeo (.is-over) o logótipo e os textos ficam em bege; por cima de um bloco, em preto. */
.site-header, .has-hero .site-header, .has-hero .site-header.is-over {
  background: transparent; border-bottom-color: transparent; color: var(--ink);
  margin-bottom: calc(var(--header-h) * -1);
}
.site-header.is-over, .has-hero .site-header.is-over { color: var(--cream); }
.site-header .lang-switch a, .site-header .menu-toggle { transition: color .25s ease; }
/* páginas sem imagem no topo: o conteúdo começa abaixo do cabeçalho */
body:not(.has-hero) main { padding-top: var(--header-h); }
/* Home: projetos logo a seguir aos cartões */
.home-projetos { padding-top: 0; }

/* ---------- 40. Logótipo maior (+20%), troca suave e cabeçalho que se esconde ao descer ---------- */
.site-header { transition: transform .35s ease, color .4s ease; }
.site-header.is-hidden { transform: translateY(-110%); }
body.menu-open .site-header { transform: none; }
.brand { position: relative; }
.brand .logo { height: 55px; transition: opacity .4s ease; }
@media (max-width: 700px) { .brand .logo { height: 46px; } }
/* os dois logótipos sobrepostos: passa de um para o outro com uma transição */
.site-header .logo--claro, .site-header .logo--escuro { display: block !important; }
.site-header .logo--claro { position: absolute; left: 0; top: 50%; transform: translateY(-50%); opacity: 0; }
.site-header .logo--escuro { opacity: 1; }
.site-header.is-over .logo--claro { opacity: 1; }
.site-header.is-over .logo--escuro { opacity: 0; }
.site-header .menu-toggle, .site-header .lang-switch a { transition: color .4s ease, opacity .2s; }
/* sobre imagens: sombra suave por trás do cabeçalho para o logótipo se ler */
.site-header::before {
  content: ""; position: absolute; inset: 0 0 -30px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,18,16,.38), rgba(20,18,16,0));
  opacity: 0; transition: opacity .4s ease;
}
.site-header.is-over::before { opacity: 1; }

/* ---------- 41. Home: projetos sem separação; pares fotografia + texto ---------- */
.home-projetos .panels { gap: 0; padding: 0; }
.panel--so-imagem::after { content: none; }
.panel-texto {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: clamp(40px, 6vw, 96px) clamp(24px, 5vw, 80px); text-align: center;
  background: var(--cream); color: var(--ink); min-height: clamp(460px, 82vh, 920px);
}
.panel-texto .label { letter-spacing: .22em; }
.panel-texto h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; font-size: clamp(1.54rem, 3.22vw, 2.94rem); }
.panel-texto p { font-size: var(--fs-small); max-width: 46ch; color: var(--ink); }
.panel-texto .link-arrow { margin-top: 6px; }
.panel-par { display: grid; grid-template-columns: 1fr 1fr; grid-column: 1 / -1; }
@media (max-width: 799px) {
  .panel-par { grid-template-columns: 1fr; }
  .panel-texto { min-height: 0; }
  /* no telemóvel: fotografia sempre antes do texto */
  .panel-par--texto-primeiro .panel--so-imagem { order: -1; }
}

/* ---------- 42. Textos dos projetos todos do mesmo tamanho (como Almada Gardens) ---------- */
.panel__body h2, .panel--wide .panel__body h2, .panel-texto h2 { font-size: clamp(1.82rem, 4.2vw, 3.78rem); }
.panel__body p, .panel-texto p { font-size: var(--fs-small); max-width: 46ch; }
.panel__body .label, .panel-texto .label { font-size: var(--fs-label); letter-spacing: .22em; }

/* ---------- 43. Bloco O Método da Home com a linguagem dos painéis dos projetos ---------- */
.story--panel { display: block; min-height: 0; padding: 0; background: none; }
.story--panel::after { content: none; }
.story--panel .panel { display: flex; width: 100%; }
/* a ilustração é clara: sombra um pouco mais forte para o texto branco se ler */
.story--panel .panel::after { background: linear-gradient(180deg, rgba(20,18,16,.2) 0%, rgba(20,18,16,.55) 100%); }
.story--panel .panel::after {
  background:
    radial-gradient(ellipse 45% 55% at 50% 50%, rgba(20,18,16,.55) 0%, rgba(20,18,16,.25) 70%, rgba(20,18,16,.15) 100%),
    linear-gradient(180deg, rgba(20,18,16,0) 50%, rgba(20,18,16,.35) 100%);
}
/* camadas dos painéis: imagem → sombra → texto */
.panel::after { z-index: 1; }
.panel__body { position: relative; z-index: 2; }

/* ---------- 45. Página O Método com a linguagem da Home ---------- */
.page-o-metodo { background: var(--paper); }
.mt-hero .panel { min-height: 100vh; }
.mt-hero .panel__body h1 { font-family: var(--display); font-weight: 400; color: #fff; font-size: clamp(1.82rem, 4.2vw, 3.78rem); }
.mt-intro .panel-texto { min-height: 0; padding-block: clamp(80px, 11vw, 160px); }
.mt-intro .panel-texto h2, .mt-fases__head h2 { font-family: var(--body); font-weight: 300; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.mt-intro .panel-texto p { max-width: 60ch; font-size: var(--fs-body); }
.home-projetos .panel-texto p + p { margin-top: -4px; }
.page-o-metodo .section--tiles { background: var(--cream); }
.mt-fases__head { display: grid; gap: 12px; justify-items: center; text-align: center; margin-bottom: clamp(32px, 4vw, 56px); }
.mt-fase { display: flex; flex-direction: column; gap: 12px; }
.mt-fase p { color: var(--ink); font-size: var(--fs-small); }
/* pares do Método com o bloco de texto creme escuro (cor do footer) e letra escura */
.page-o-metodo .panel-par .panel-texto { background: var(--stone); color: var(--ink); }
.page-o-metodo .panel-par .panel-texto p { color: var(--ink); opacity: 1; }

/* ---------- 46. Como Funciona com a linguagem da Home ---------- */
.page-como-funciona { background: var(--paper); }
.page-como-funciona .mt-hero .panel { min-height: 100vh; }
.page-como-funciona .mt-hero .panel__body h1 { font-family: var(--display); font-weight: 400; color: #fff; font-size: clamp(1.82rem, 4.2vw, 3.78rem); max-width: 22ch; }
.page-como-funciona .panel-par .panel-texto { background: var(--ink); color: var(--cream); }
.page-como-funciona .panel-par .panel-texto h2 { font-size: clamp(1.5rem, 2.6vw, 2.4rem); max-width: 18ch; }
.page-como-funciona .panel-par .panel-texto p { color: var(--cream); opacity: .9; max-width: 52ch; }
.page-como-funciona .panel-par .panel-texto a:not(.link-arrow) { border-bottom: 1px solid currentColor; }
.page-como-funciona .panel-texto .callout { background: rgba(248,182,129,.14); border-left-color: var(--peach); color: var(--cream); text-align: left; opacity: 1; }
.page-como-funciona .meet-band__body p { opacity: .85; max-width: 40ch; }
.page-como-funciona .mt-hero .panel__body h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); }
.page-como-funciona .mt-intro .panel-texto { min-height: 0; padding-block: clamp(80px, 11vw, 160px); }
.page-como-funciona .mt-intro .panel-texto h2 { font-family: var(--body); font-weight: 300; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.page-como-funciona .mt-intro .panel-texto p { font-size: var(--fs-body); max-width: 60ch; }
/* Como Funciona: topo em creme, como Interiores */
.page-como-funciona { background: var(--cream); }
.page-como-funciona .page-head .lead,
.page-como-funciona .page-head p.muted { font-size: var(--fs-body); color: var(--ink); line-height: 1.65; max-width: 60ch; }
/* Como Funciona: passo 03 num banner creme, como a faixa das fases do Método */
.page-como-funciona .cf-passo3 { background: var(--cream); padding: 0; }
.page-como-funciona .cf-passo3 .panel-texto { min-height: 0; padding-block: clamp(80px, 10vw, 140px); background: var(--cream); color: var(--ink); }
.page-como-funciona .cf-passo3 .panel-texto h2 { font-family: var(--body); font-weight: 300; font-size: clamp(1.8rem, 3vw, 2.6rem); max-width: 26ch; }
.page-como-funciona .cf-passo3 .panel-texto p { color: var(--ink); max-width: 64ch; font-size: var(--fs-body); }

/* ---------- 47. Títulos das páginas de volta à Bauhaus Rail ---------- */
.page-head h1, .page-interiores .page-head h1 { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; }
/* passo 03: título como os dos outros passos (Bauhaus Rail) */
.page-como-funciona .cf-passo3 .panel-texto h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; font-size: clamp(1.5rem, 2.6vw, 2.4rem); max-width: 22ch; }

/* ---------- 48. O Método: topo creme como Interiores e Como Funciona ---------- */
.page-o-metodo { background: var(--cream); }
.page-o-metodo .page-head .lead,
.page-o-metodo .page-head p.muted { font-size: var(--fs-body); color: var(--ink); line-height: 1.65; max-width: 60ch; }

/* ---------- 49. "Uma equipe de Interiores": texto centrado na vertical (altura igual à faixa dos cartões) ---------- */
.meet-band:not(.meet-band--split) { display: flex; align-items: center; justify-content: center; }
.meet-band:not(.meet-band--split) .wrap { width: 100%; }

/* ---------- 50. Títulos dos blocos vermelhos (CTA) iguais ao "Uma equipe de Interiores" da Home ---------- */
.section--dark.cta h2, .pl-final h2, .meet-band__body h2 { font-size: var(--fs-h2); max-width: 20ch; }

/* ---------- 51. Cabeçalho mais alto, com tudo centrado na vertical (como a Moooi) ---------- */
:root { --header-h: 104px; }
@media (max-width: 700px) { :root { --header-h: 76px; } }
.site-header .wrap { align-items: center; }
.site-header .header-left, .site-header .header-right, .site-header .brand { align-self: center; }

/* ---------- 52. Topo da Home: cada frase do título numa linha; botões lado a lado ---------- */
.hero__titulo { max-width: none !important; }
.hero__titulo span { display: block; }
@media (min-width: 700px) { .hero__titulo span { white-space: nowrap; } }
.hero__acoes { align-items: center; gap: 28px; margin-top: 28px; }
.hero--center .hero__acoes .link-arrow { margin-top: 0; }

/* ---------- 53. Cartões da Home: só imagem (4:5, como o Instagram) e link ---------- */
.page-index .section--tiles .tile__media { aspect-ratio: 4 / 5; }
.page-index .section--tiles .tile { gap: 18px; padding-bottom: 0; }
.page-index .section--tiles .tile > :not(.tile__media) { padding-inline: 0; }
.page-index .section--tiles .tile .link-arrow { margin-inline: 0; }

/* ---------- 54. Academia na Home: 4 artigos verticais; títulos como os links ---------- */
/* cabeçalho: "Academia Guider" centrado, à altura de "ver tudo", com a mesma letra */
.home-academia__head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.home-academia__head h2 {
  font-family: var(--body); font-size: 11px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; text-align: center;
}
.home-academia__head .link-arrow { justify-self: end; }
/* 4 artigos lado a lado, imagens verticais (4:5) */
@media (min-width: 1000px) { .home-academia .articles { grid-template-columns: repeat(4, 1fr); } }
.home-academia .article__media { aspect-ratio: 4 / 5; }
/* títulos dos artigos com a letra e o tamanho dos links ("Fazer teste psicoestético"…) */
.home-academia .article h3 {
  font-family: var(--body); font-size: 11px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; line-height: 1.5;
}

/* ---------- 55. Descrições normalizadas: no máximo 3 linhas ---------- */
.article p, .panel__body p, .panel-texto p:not(.callout) {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
}
/* exceto os blocos de texto das páginas O Método e Como Funciona (texto corrido, não descrições) */
.page-o-metodo .panel-texto p, .page-como-funciona .panel-texto p { display: block; -webkit-line-clamp: unset; line-clamp: none; overflow: visible; }
/* artigos: a descrição ocupa sempre 3 linhas, para os cartões ficarem alinhados */
.article p { line-height: 1.6; min-height: calc(3 * 1.6em); }

/* 56 · artigos escritos no editor visual: imagens com tamanho, posição e legenda */
.art-body { display: block; }
.art-body > * { margin-top: 0; margin-bottom: 1.1em; }
.art-body > h2 { margin-top: 1.4em; } .art-body > h3 { margin-top: 1.1em; }
.art-body::after { content: ""; display: table; clear: both; }
.art-body ol { margin-top: 0; padding-left: 1.4em; display: grid; gap: .4em; }
.art-body blockquote { margin-left: 0; margin-right: 0; border-left: 2px solid currentColor; padding-left: 1.2em; font-style: italic; }
.art-body hr { border: 0; border-top: 1px solid var(--line, #dcd9d3); margin: 2em 0; }
.art-body .txt-centro { text-align: center; } .art-body .txt-direita { text-align: right; } .art-body .txt-justificado { text-align: justify; }
.art-body figure { margin: 1.6em 0; max-width: 100%; }
.art-body figure img { display: block; width: 100%; height: auto; }
.art-body figure.pos--centro { margin-left: auto; margin-right: auto; }
.art-body figure.pos--esq { float: left; margin: .35em 1.6em 1em 0; }
.art-body figure.pos--dir { float: right; margin: .35em 0 1em 1.6em; }
.art-body figcaption { font-size: .82rem; line-height: 1.5; opacity: .7; margin-top: .6em; }
.art-body figure.video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
@media (max-width: 640px) {
  .art-body figure.pos--esq, .art-body figure.pos--dir { float: none; width: 100% !important; margin: 1.6em 0; }
}

/* ---------- 57. Home: títulos com o tamanho dos projetos; cabeçalho dos cartões; Academia só com títulos ---------- */
.hero--center h1.hero__titulo { font-size: clamp(1.82rem, 4.2vw, 3.78rem); }
.home-tiles__head { margin-bottom: clamp(24px, 3vw, 40px); }
.home-academia .article { gap: 18px; }
.home-academia .article .link-arrow { justify-self: start; align-self: start; }
/* bloco vermelho "Um bom começo é decisivo." em Bauhaus Rail */
.cta-split .meet-band__body h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; }

/* ---------- 58. O Método: título da página com o mesmo tamanho dos títulos dos pares ---------- */
.page-o-metodo .page-head h1 { font-size: clamp(1.82rem, 4.2vw, 3.78rem); }

/* ---------- 59. Home: bloco azul da Academia com a mesma altura do bloco creme "Por onde começar" ---------- */
.page-index .home-academia { padding-block: clamp(40px, 6vw, 80px); }
.page-index .home-academia .section-head { margin-bottom: clamp(24px, 3vw, 40px); }
.page-index .home-academia .articles { align-items: start; }
.page-index .section--tiles, .page-index .home-academia { display: flex; flex-direction: column; justify-content: center; }
.page-index .section--tiles > .wrap, .page-index .home-academia > .wrap { width: 100%; }

/* ---------- 60. Topo da Home: texto centrado no espaço abaixo do menu (desce metade da altura do menu) ---------- */
/* (texto do topo da Home sem deslocamento: igual ao dos conceitos) */

/* ---------- 61. Interiores: topo da página centrado (como a Moooi) ---------- */
.page-interiores .page-head .wrap { justify-items: center; text-align: center; }
.page-interiores .page-head .chips { justify-content: center; }


/* ---------- 62. Interiores simplificada + páginas Portfólio e Ideias de Projeto em carrossel ---------- */
.page-portfolio .page-head .wrap, .page-ideias-de-projeto .page-head .wrap { justify-items: center; text-align: center; }
.page-portfolio .page-head h1, .page-ideias-de-projeto .page-head h1 { font-size: clamp(1.82rem, 4.2vw, 3.78rem); }
.page-portfolio, .page-ideias-de-projeto { background: var(--cream); }
.linha-carrossel + .linha-carrossel { padding-top: 0; }
.carrossel { position: relative; --gap: clamp(14px, 3.2vw, 64px); }
.carrossel__pista {
  display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-left: max(var(--gutter), calc((100% - 1440px) / 2 + var(--gutter)));
  scroll-padding-left: max(var(--gutter), calc((100% - 1440px) / 2 + var(--gutter)));
  padding-right: var(--gap); scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.carrossel__pista::-webkit-scrollbar { display: none; }
.carrossel__pista > * { flex: 0 0 calc((100% - 2 * var(--gap)) / 2.5); scroll-snap-align: start; }
@media (max-width: 700px) { .carrossel__pista > * { flex-basis: 78%; } }
.carrossel .project__media, .carrossel .idea-card__media { aspect-ratio: 3 / 4; }
.carrossel .project__meta { display: grid; gap: 4px; justify-content: start; }
.carrossel .project h3, .carrossel .idea-card__head h3 { font-family: var(--body); font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.carrossel .project__meta .label { font-size: 10px; }
.carrossel__seta {
  position: absolute; z-index: 3; right: clamp(12px, 2vw, 32px); top: 40%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--ink);
  display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 12px rgba(0,0,0,.12); transition: transform .2s;
}
.carrossel__seta:hover { transform: translateY(-50%) scale(1.06); }
.carrossel__seta--ant { right: auto; left: clamp(12px, 2vw, 32px); }
.carrossel__seta--ant svg { transform: rotate(180deg); }
.carrossel__seta[hidden] { display: none; }
@media (hover: none) and (max-width: 700px) { .carrossel__seta { display: none; } }

/* ---------- 63. Linhas do Portfólio/Ideias sem título: só a contagem, pequena, à direita ---------- */
.section-head--so-contagem { justify-content: flex-end; margin-bottom: clamp(16px, 2vw, 24px); }

/* ---------- 64. Portfólio/Ideias: espaços normalizados (como O Método e Interiores) ---------- */
.linha-carrossel { padding-block: clamp(40px, 6vw, 80px); }
.page-head + .linha-carrossel { padding-top: 0; }
.linha-carrossel + .linha-carrossel { padding-top: 0; }

/* ---------- 66. Ideias de Projeto: conceitos em creme escuro, colados ao bloco final em creme ---------- */
.conceitos-blocos .panel-texto { background: var(--stone); }
.cta--creme { background: var(--cream); color: var(--ink); }
.page-ideias-de-projeto .linha-carrossel:has(+ .conceitos-blocos) { padding-bottom: clamp(40px, 6vw, 80px); }

/* ---------- 67. Interiores: bloco Ideias em creme escuro; categorias da loja (como a Moooi) ---------- */
.int-blocos .panel-texto { background: var(--stone); }
.loja-cat { background: var(--cream); text-align: center; }
.loja-cat__titulo { font-family: var(--body); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin-bottom: clamp(32px, 4vw, 56px); }
.loja-cat__lista { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 40px); align-items: end; }
.loja-cat__item { display: grid; gap: 22px; justify-items: center; color: inherit; text-decoration: none; }
.loja-cat__img { display: flex; align-items: flex-end; justify-content: center; width: 100%; height: clamp(110px, 11vw, 170px); }
.loja-cat__img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform .5s ease; }
.loja-cat__item:hover .loja-cat__img img { transform: translateY(-6px); }
.loja-cat__nome { font-size: clamp(1rem, 1.4vw, 1.25rem); font-weight: 300; }
@media (max-width: 900px) { .loja-cat__lista { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 480px) { .loja-cat__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- 68. Interiores: alturas iguais às de outros blocos ---------- */
/* bloco do vídeo (vermelho) com a altura do bloco Ideias de Projeto */
@media (min-width: 900px) { .page-interiores .meet-band--split { min-height: clamp(460px, 82vh, 920px); } }
/* bloco da loja com a altura do 2.º bloco da Home ("Por onde começar") */
@media (min-width: 1000px) {
  .page-interiores .loja-cat { min-height: min(671px, calc(33.125vw + 194px)); display: flex; flex-direction: column; justify-content: center; }
  .page-interiores .loja-cat > .wrap { width: 100%; }
}

/* ---------- 69. Interiores reorganizada: linha vermelha das Ideias com cartões do tamanho da Academia ---------- */
.linha-ideias { background: var(--sienna-var); color: #fff; padding-block: clamp(40px, 6vw, 80px) !important; }
.linha-ideias .label.muted { color: #fff; opacity: .85; }
.linha-ideias .carrossel { --gap: clamp(14px, 2vw, 28px); }
.linha-ideias .carrossel__pista > * { flex-basis: calc((min(100vw, 1440px) - 2 * var(--gutter) - 3 * var(--gap)) / 4); }
@media (max-width: 999px) { .linha-ideias .carrossel__pista > * { flex-basis: calc((100vw - 2 * var(--gutter) - var(--gap)) / 2); } }
@media (max-width: 560px) { .linha-ideias .carrossel__pista > * { flex-basis: 70%; } }
.linha-ideias .article { display: grid; gap: 14px; align-content: start; color: #fff; }
.linha-ideias .article__media { aspect-ratio: 4 / 5; overflow: hidden; }
.linha-ideias .article__media img { width: 100%; height: 100%; object-fit: cover; }
.linha-ideias .link-arrow { justify-self: start; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; line-height: 1.5; }
.page-interiores .linha-carrossel + .conceitos-blocos, .page-interiores .linha-ideias + .conceitos-blocos { margin-top: 0; }

/* ---------- 70. O Método: topo em dois quadrados (texto creme + imagem); fases sem "Fase" ---------- */
.mt-topo { display: grid; grid-template-columns: 1fr; background: var(--cream); }
.mt-topo__texto { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; text-align: center; padding: clamp(48px, 6vw, 96px) clamp(24px, 5vw, 80px); }
.mt-topo__texto h1 { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; font-size: clamp(1.82rem, 4.2vw, 3.78rem); line-height: 1.05; }
.mt-topo__texto p { font-size: var(--fs-body); color: var(--ink); line-height: 1.65; max-width: 52ch; }
.mt-topo__img { aspect-ratio: 1 / 1; overflow: hidden; }
.mt-topo__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 800px) {
  .mt-topo { grid-template-columns: 1fr 1fr; }
  .mt-topo__texto { aspect-ratio: 1 / 1; }
}
.mt-fase h3.mt-fase__nome { color: var(--ink); font-family: var(--body); font-weight: 300; letter-spacing: normal; text-transform: none; }

/* ---------- 71. O Método: bloco "O percurso" com a mesma altura do bloco Academia da Home ---------- */
@media (min-width: 1000px) {
  .page-o-metodo .mt-fases { min-height: min(671px, calc(33.125vw + 194px)); padding-block: 40px; display: flex; flex-direction: column; justify-content: center; }
  .page-o-metodo .mt-fases > .wrap { width: 100%; }
}

/* ---------- 72. Menu transparente por cima do 1.º bloco em todas as páginas (como na Home) ----------
   O 1.º bloco começa no topo da página, por trás do menu; os textos descem a altura do menu. */
body:not(.has-hero) main { padding-top: 0; }
main > .page-head:first-child { padding-top: calc(var(--header-h) + clamp(56px, 9vw, 120px)); }
main > .art:first-child > .page-head { padding-top: calc(var(--header-h) + clamp(56px, 9vw, 120px)); }
main > .mt-topo:first-child .mt-topo__texto { padding-top: calc(var(--header-h) + clamp(24px, 3vw, 48px)); }
main > .pj-top:first-child .pj-top__body { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 96px)); }
@media (min-width: 900px) {
  main > .pj-top:first-child .pj-top__media { top: 0; height: 100vh; }
  main > .pj-top:first-child .pj-top__body { padding-top: calc(var(--header-h) + clamp(56px, 7vw, 112px)); }
}

/* ---------- 73. Vídeo do bloco "Um bom começo é decisivo.": a pessoa fica dentro do enquadramento ---------- */
.cta-split .meet-band__media .media-video { object-position: 15% 50%; }

/* ---------- 74. Home, "Por onde começar": imagens novas (cores próprias) e vídeo no 3.º cartão ---------- */
.page-index .section--tiles .tile:first-child .tile__media img { mix-blend-mode: normal; }
.page-index .section--tiles .tile__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* o telefone assenta à mesma altura das outras imagens, com amarelo por baixo */
.page-index .section--tiles .tile__media video { object-position: 50% 89%; }

/* ---------- 75. O Método, vídeo do Guider: preenche o bloco, centrado, sem efeitos nos lados ---------- */
.panel--video-contido .panel__media .media-video { object-fit: cover; object-position: 50% 50%; }

/* ---------- 76. O Método, fases: vídeo no cartão "Apresentação" ---------- */
.mt-fase .tile__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* imagem do portátil: o computador fica ao centro do cartão */
.mt-fase:nth-child(2) .tile__media img, .page-index .section--tiles .tile:nth-child(2) .tile__media img { object-position: 50% 74%; }

/* ---------- 77. O Método, fases: imagens no formato dos cartões da Home (4:5) ---------- */
.mt-fases .tile__media { aspect-ratio: 4 / 5; }

/* ---------- 78. Como Funciona: blocos de texto em creme escuro (cor do footer), letra escura ---------- */
.page-como-funciona .panel-par .panel-texto { background: var(--stone); color: var(--ink); }
.page-como-funciona .panel-par .panel-texto p { color: var(--ink); opacity: 1; }

/* ---------- 79. Como Funciona: topo centrado, as duas frases juntas ---------- */
.cf-head .wrap { justify-items: center; text-align: center; }
.cf-head .wrap > p.lead + p.muted { margin-top: -18px; }

/* ---------- 80. Galeria dos projetos: cartões do tamanho dos da Home (4 por linha, 4:5) ---------- */
.pj-gal { gap: clamp(12px, 1.6vw, 24px); }
@media (min-width: 1100px) { .pj-gal { grid-template-columns: repeat(4, 1fr); } }
.pj-gal__item { aspect-ratio: 4 / 5; }

/* ---------- 81. Listas completas (projetos residenciais/comerciais, ideias): cartões como os da Home ---------- */
.lista-head .wrap { justify-items: center; text-align: center; }
.lista-head .link-arrow--back { justify-self: start; }
.lista-head h1 { font-size: clamp(1.82rem, 4.2vw, 3.78rem); }
.lista-grelha .tiles--4 { row-gap: clamp(36px, 4vw, 56px); }
.lista-grelha .tile { display: flex; flex-direction: column; gap: 10px; }
.lista-grelha .tile__media { aspect-ratio: 4 / 5; }
.lista-grelha .tile__media img, .lista-grelha .tile__media .ph { width: 100%; height: 100%; object-fit: cover; }
.lista-grelha .tile .link-arrow { align-self: flex-start; margin-top: 8px; }
.lista-grelha .tile .label { font-size: 10px; }
.section-head--so-contagem .link-arrow { margin-left: auto; }
.linha-ideias .section-head--so-contagem .link-arrow { color: #fff; }
.lista-head { padding-bottom: clamp(24px, 3vw, 40px); }
.lista-head + .lista-grelha { padding-top: 0; }

/* ---------- 82. Listas completas com o fundo creme das outras páginas ---------- */
.page-projetos-residenciais, .page-projetos-comerciais, .page-ideias-residenciais { background: var(--cream); }

/* ---------- 83. Planos: topo em dois quadrados como O Método (imagem por decidir) ---------- */
.pl-topo__img { background: var(--stone); }
main > .mt-topo.pl-topo:first-child .mt-topo__texto { padding-top: calc(var(--header-h) + clamp(24px, 3vw, 48px)); }

/* ---------- 84. Planos: títulos das secções em Bauhaus Rail, como nas outras páginas ---------- */
.page-planos main h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; }
.pl-topo .mt-topo__texto { background: var(--sea); --muted: #333333; }
.pl-topo .mt-topo__texto p { color: #333333; }
/* listas completas: espaço entre a última fila de cartões e o bloco do vídeo */
.lista-grelha { padding-bottom: clamp(64px, 8vw, 120px); }

/* ---------- 85. Planos, bloco do crédito: duas metades como os pares das outras páginas ----------
   esquerda azul com o texto centrado; direita com imagem de fundo (por definir) e o cartão por cima */
.pl-credit--par { display: grid; grid-template-columns: 1fr; padding: 0; }
.pl-credit--par .pl-credit__text {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center;
  background: var(--sea); color: var(--ink); padding: clamp(56px, 7vw, 112px) clamp(24px, 5vw, 80px);
}
.pl-credit--par .pl-credit__text h2 { font-size: clamp(1.54rem, 3.22vw, 2.94rem); max-width: 18ch; }
.pl-credit--par .pl-credit__text p { max-width: 46ch; font-size: var(--fs-small); color: #333; }
.pl-credit--par .pl-credit__lado {
  display: flex; align-items: center; justify-content: center; padding: clamp(40px, 6vw, 96px) clamp(20px, 4vw, 64px);
  background: var(--stone) center / cover no-repeat;   /* imagem de fundo: background-image quando estiver definida */
}
.pl-credit--par .pl-credit__card { max-width: 440px; width: 100%; }
@media (min-width: 900px) {
  .pl-credit--par { grid-template-columns: 1fr 1fr; min-height: clamp(460px, 82vh, 920px); }
}
/* lado direito: só o texto sobre a imagem de fundo, sem caixa */
.pl-credit--par .pl-credit__card { background: none; border: 0; box-shadow: none; padding: 0; text-align: center; display: grid; gap: 14px; justify-items: center; }

/* ---------- 86. Academia: artigos em cartões do tamanho dos da Home (4 por linha, 4:5) ---------- */
.page-academia .articles { gap: clamp(36px, 4vw, 56px) clamp(12px, 1.6vw, 24px); }
@media (min-width: 1100px) { .page-academia .articles { grid-template-columns: repeat(4, 1fr); } }
.page-academia .article__media { aspect-ratio: 4 / 5; }
.page-academia .article__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 87. Títulos principais das páginas todos com o tamanho do da Interiores ---------- */
main .page-head h1, .page-o-metodo .page-head h1, .lista-head h1, .mt-topo__texto h1, .pj-top__body h1 { font-size: clamp(1.54rem, 3.5vw, 2.94rem); }

/* ---------- 88. Títulos dos blocos com o mesmo tamanho do título principal das páginas ---------- */
.panel-texto h2, .panel__body h2, .panel--wide .panel__body h2, .story--panel h2,
.meet-band__body h2, .cta-split .meet-band__body h2, .section--dark.cta h2,
.pl-credit--par .pl-credit__text h2, .pl-title h2, .page-planos main h2,
.page-como-funciona .panel-par .panel-texto h2, .page-como-funciona .cf-passo3 .panel-texto h2,
.hero--center h1.hero__titulo { font-size: clamp(1.54rem, 3.5vw, 2.94rem); }

/* ---------- 89. Planos, perguntas: a lista começa exatamente a meio da página (alinhada com os blocos de cima) ---------- */
@media (min-width: 900px) {
  .pl-faq { grid-template-columns: 1fr 1fr; column-gap: 0; }
  .pl-faq .pl-title { padding-right: clamp(32px, 4vw, 64px); }
}

/* ---------- 90. iPhone: sem o botão de "play" por cima dos vídeos de fundo (fica a imagem até arrancar) ---------- */
video.media-video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
video.media-video::-webkit-media-controls { display: none !important; }

/* ---------- 91. Planos: notas por baixo das tabelas a toda a largura da coluna ---------- */
.pl-note { max-width: none; }
.pl-credit--par .pl-credit__lado { background-image: url("/assets/img/planos-credito.jpg"); }

/* ---------- 92. Profissionais: página no estilo das outras (topo centrado, pares foto + texto creme escuro) ---------- */
.page-profissionais { background: var(--cream); }
.prof-head .wrap { justify-items: center; text-align: center; }
.prof-pares .panel-texto { background: var(--stone); }
.prof-pares .panel-texto p { display: block; -webkit-line-clamp: unset; line-clamp: none; overflow: visible; max-width: 52ch; }
.pl-topo__img video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- 93. Academia: topo centrado como na Como Funciona ---------- */
.page-academia .page-head .wrap { justify-items: center; text-align: center; }
.page-academia .page-head .lead { max-width: 60ch; }

/* ---------- 94. Galerias e Academia: padrão de tamanhos que se repete a cada 20 imagens ----------
   linha 1: 4 verticais · linha 2: larga + 2 · linha 3: 4 · linha 4: larga + larga · linha 5: 4 · linha 6: 2 + larga */
@media (min-width: 1100px) {
  .pj-gal, .page-academia .articles { --g: clamp(12px, 1.6vw, 24px); --col: calc((min(100vw, 1440px) - 2 * var(--gutter) - 3 * var(--g)) / 4); }
  .pj-gal > :nth-child(20n+5), .pj-gal > :nth-child(20n+12), .pj-gal > :nth-child(20n+13), .pj-gal > :nth-child(20n+20) { grid-column: span 2; aspect-ratio: auto; height: calc(var(--col) * 1.25); }
  .page-academia .articles > :nth-child(20n+5), .page-academia .articles > :nth-child(20n+12), .page-academia .articles > :nth-child(20n+13), .page-academia .articles > :nth-child(20n+20) { grid-column: span 2; }
  .page-academia .articles > :nth-child(20n+5) .article__media, .page-academia .articles > :nth-child(20n+12) .article__media, .page-academia .articles > :nth-child(20n+13) .article__media, .page-academia .articles > :nth-child(20n+20) .article__media { aspect-ratio: auto; height: calc(var(--col) * 1.25); }
}

/* ---------- 96. Conceitos (Connection, Curiosity): página com a estrutura da Home ---------- */

.lph-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lph-tiles { background: var(--cream); }
.lph-tiles .tile { display: flex; flex-direction: column; gap: 14px; }
.lph-tiles .tile__media { aspect-ratio: 4 / 5; }
.lph-tiles .tile__media img { width: 100%; height: 100%; object-fit: cover; }
.lph-tiles .link-arrow { align-self: flex-start; }
.lph-tile__txt { font-size: var(--fs-small); color: var(--muted); }
.page-projeto .home-projetos .panel-texto p { display: block; -webkit-line-clamp: unset; line-clamp: none; overflow: visible; max-width: 50ch; }
.lp-fases__grid { display: grid; gap: clamp(20px, 2.4vw, 36px); grid-template-columns: 1fr; }
@media (min-width: 800px) { .lp-fases__grid { grid-template-columns: repeat(4, 1fr); } }
.lp-fase { border-top: 1px solid rgba(51,51,51,.35); padding-top: 18px; display: grid; gap: 10px; align-content: start; }
.lp-fase__dur { font-family: var(--display); font-size: 1.4rem; color: var(--ink); }
.lp-fase p { font-size: var(--fs-small); color: #333; }
.page-projeto main > .lph-hero:first-child { margin-top: 0; }
/* "Como funciona" dos conceitos, como na landing page: caixa com 4 colunas, ícones, título, texto e duração em baixo */
.lph-como { background: var(--cream); }
.lp-fases__caixa { background: var(--stone); padding: clamp(32px, 5vw, 72px) clamp(24px, 4vw, 64px); max-width: 1040px; margin-inline: auto; gap: clamp(24px, 3vw, 40px); }
.lp-fases__caixa .lp-fase { border-top: 0; padding-top: 0; display: flex; flex-direction: column; gap: 16px; }
.lp-fase__icones { display: flex; gap: 10px; color: var(--ink); }
.lp-fases__caixa .lp-fase h3 { font-family: var(--body); font-weight: 500; font-size: 1rem; color: var(--ink); }
.lp-fases__caixa .lp-fase p { color: var(--ink); line-height: 1.55; }
.lp-fases__caixa .lp-fase__dur { margin-top: auto; padding-top: 12px; font-family: var(--body); font-weight: 500; font-size: 1rem; }
.lph-como.mt-fases { background: var(--cream); }
.lph-como .mt-fase p { color: var(--ink); font-size: var(--fs-small); }
.lph-como .tile__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* conceitos: blocos de texto centrados (intro e equipa) e imagem final, na ordem das landing pages */
.lph-texto { background: var(--cream); padding-block: clamp(64px, 8vw, 120px); text-align: center; }
.lph-texto .wrap { display: grid; gap: 18px; justify-items: center; }
.lph-texto h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; font-size: clamp(1.54rem, 3.5vw, 2.94rem); max-width: 22ch; margin-bottom: 8px; }
.lph-texto p { max-width: 62ch; color: var(--ink); line-height: 1.7; }
.lph-texto--equipa { background: var(--stone); }
.lph-final { line-height: 0; }
.lph-final img { width: 100%; height: clamp(360px, 70vh, 820px); object-fit: cover; display: block; }
/* conceitos com o aspeto da Home */
.lph-intro { max-width: 70ch; margin: -8px auto clamp(28px, 3vw, 44px); text-align: center; display: grid; gap: 10px; }
.lph-intro p { font-size: var(--fs-small); color: var(--ink); line-height: 1.7; }
.lph-tiles a.tile { color: inherit; text-decoration: none; }
.page-projeto .story--panel .panel__body p, .page-projeto .home-projetos .panel--wide .panel__body p { color: #fff; max-width: 60ch; display: block; -webkit-line-clamp: unset; overflow: visible; }
.lph-fases-azul .article p { color: #333; font-size: var(--fs-small); }
.lph-fases-azul .article__media { aspect-ratio: 4 / 5; overflow: hidden; }
.lph-fases-azul .article__media img { width: 100%; height: 100%; object-fit: cover; }
.lph-fases-azul .link-arrow { justify-self: start; }
/* conceitos: "Sobre" num bloco azul do tamanho do bloco largo (Cenografia), com o texto centrado */
.lph-sobre { background: var(--sea); color: var(--ink); min-height: clamp(520px, 88vh, 980px); display: flex; align-items: center; justify-content: center; text-align: center; padding: clamp(56px, 7vw, 112px) var(--gutter); }
.lph-sobre__body { display: grid; gap: 14px; justify-items: center; max-width: 720px; }
.lph-sobre h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; font-size: clamp(1.54rem, 3.5vw, 2.94rem); margin-bottom: 10px; }
.lph-sobre p { font-size: var(--fs-small); line-height: 1.7; color: #333; max-width: 64ch; }
.lph-sobre .link-arrow { margin-top: 12px; }
/* conceitos: grelha dos temas (imagens verticais + textos a ocupar 2 colunas) */
.lph-grelha { background: var(--cream); }
.lg { display: grid; gap: clamp(12px, 1.6vw, 24px); grid-template-columns: 1fr; }
.lg-img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.lg-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lg-txt { background: var(--stone); padding: clamp(28px, 3vw, 48px); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 10px; }
.lg-txt h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; font-size: clamp(1.3rem, 2.2vw, 2rem); }
.lg-txt p { font-size: 14px; line-height: 1.6; color: var(--ink); max-width: 58ch; }
.lg-txt .link-arrow { margin-top: 6px; }
@media (min-width: 900px) {
  .lg { grid-template-columns: repeat(4, 1fr); --col: calc((min(100vw, 1440px) - 2 * var(--gutter) - 3 * clamp(12px, 1.6vw, 24px)) / 4); }
  .lg-txt, .lg-img--larga { grid-column: span 2; min-height: calc(var(--col) * 1.25); }
  .lg-img--larga { aspect-ratio: auto; height: calc(var(--col) * 1.25); }
}


/* ---------- 97. Conceitos: Como funciona — vídeo no 03 e títulos sem ar de botão ---------- */
.lph-fases-azul .article__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.lph-fases-azul .lph-fase-titulo { color: var(--ink, #2b2b2b); letter-spacing: .14em; }
.lph-fases-azul .article p { display: block; -webkit-line-clamp: unset; line-clamp: none; overflow: visible; }
.lph-tiles .tile__media { overflow: hidden; }
.lph-tiles .tile__media video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- 98. Texto do topo igual em todas as páginas (Academia estava maior) ---------- */
.page-head .lead, .page-head p.muted { font-size: var(--fs-body); color: var(--ink); line-height: 1.65; max-width: 60ch; }
.lph-sobre .label { display: block; margin-bottom: 18px; }

/* ---------- 99. Conceitos: blocos "A nossa equipa" e do outro conceito em creme escuro ---------- */
.page-projeto #equipa .panel-texto { background: var(--stone); }

/* ---------- 100. Grelha dos temas: imagem e texto sempre com a mesma altura na linha ---------- */
@media (min-width: 900px) {
  .lg-img, .lg-img--larga { aspect-ratio: auto; height: auto; min-height: calc(var(--col) * 1.25); position: relative; }
  .lg-img img { position: absolute; inset: 0; }
}

/* ---------- 101. Grelha dos temas: cartões de texto em creme escuro ---------- */
.lg-txt { background: var(--stone); }

/* ---------- 102. Texto dos blocos (texto + imagem) com o tamanho do texto dos topos ----------
   Só blocos: não mexe nos cartões (imagem em cima, texto em baixo), planos, notas, topos nem footer. */
main .panel-texto p,
main .pl-credit--par .pl-credit__text p,
main .lph-sobre p,
main .lg-txt p { font-size: var(--fs-body); }

/* ---------- 103. Planos: crédito com o texto todo à esquerda e só o vídeo à direita ---------- */
.pl-credit--par .pl-credit__lado--video { background: none; position: relative; overflow: hidden; min-height: 360px; padding: 0; }
.pl-credit--par .pl-credit__lado--video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pl-credit__junto { margin-top: 8px; display: grid; gap: 8px; justify-items: center; text-align: center; }
.pl-credit--par .pl-credit__text .pl-credit__junto p { margin-top: 0; }
main .pl-credit--par .pl-credit__text .pl-credit__junto .pl-credit__big { font-size: 1.4rem; color: var(--ink); }

/* ---------- 104. Grelha dos temas: vídeo no lugar da imagem ---------- */
.lg-img video { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 900px) { .lg-img video { position: absolute; inset: 0; } }

/* ---------- 105. Empresas: estrutura das páginas dos conceitos ---------- */
.page-empresas { background: var(--cream); }
.page-empresas main > .lph-hero:first-child { margin-top: 0; }
.page-sobre-nos { background: var(--cream); }
.page-sobre-nos .prof-head .wrap { justify-items: center; text-align: center; }

/* ---------- 106. Planos · crédito: etiqueta em cima e "1€ por cada 10€" em destaque (branco, Bauhaus) ---------- */
main .pl-credit--par .pl-credit__text .pl-credit__junto .pl-credit__big { font-family: var(--display); font-weight: 400; letter-spacing: .01em; color: var(--ink); font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.2; }
.pl-credit--par .pl-credit__text > .label { margin-bottom: -6px; }

/* ---------- 107. Planos: 01, 02, 03 como a etiqueta "PLANOS" do topo ---------- */
.pl-n { font-family: var(--body); font-size: var(--fs-label); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; line-height: 1.4; color: var(--ink); }

/* ---------- 108. Páginas de cada Guider ---------- */
.page-guider { background: var(--cream); }
.gd-citacao { margin: 0; font-family: var(--display); font-size: clamp(1.1rem, 1.6vw, 1.45rem); line-height: 1.35; max-width: 34ch; }
.gd-projs { padding-top: clamp(48px, 6vw, 88px); }

/* ---------- 109. Grelhas de temas: regra — todas as linhas com a mesma altura ---------- */
@media (min-width: 900px) { .lg { grid-auto-rows: 1fr; } }

/* ---------- 110. Fotografia da equipa: nunca centrada ao meio — enquadrada pelo topo para não cortar caras (corta em baixo) ---------- */
img[src*="conceitos/equipa-v3"] { object-fit: cover !important; object-position: 50% 0% !important; }
.gd-outros { padding-top: clamp(24px, 3vw, 48px); }
.page-guider .gd-outros .tile__media { aspect-ratio: 4 / 5; }

/* ---------- 111. Menu lateral ao estilo Moooi: principais em cima, links do footer em baixo, língua no fim ---------- */
.mz-menu { width: min(640px, 33.4vw); min-width: min(340px, 88vw); background: var(--cream); display: flex; flex-direction: column;
  padding: clamp(48px, 6vw, 96px) clamp(32px, 3.6vw, 56px) 40px; overflow-y: auto; }
.mz-close { position: absolute; top: clamp(28px, 3vw, 44px); right: clamp(28px, 3vw, 48px); background: none; border: 0; font-size: 30px; line-height: 1; cursor: pointer; color: var(--ink); font-weight: 300; padding: 0; }
.mz-prim, .mz-sec { list-style: none; margin: 0; padding: 0; }
.mz-prim { display: grid; gap: clamp(10px, 1.2vw, 18px); margin-top: clamp(32px, 4vw, 72px); }
.mz-prim a { font-family: var(--body); font-weight: 300; font-size: clamp(1.6rem, 2.2vw, 2.15rem); line-height: 1.2; color: var(--ink); }
.mz-linha { border: 0; border-top: 1px solid rgba(51,51,51,.25); margin: clamp(44px, 6vw, 96px) 0 clamp(32px, 3.6vw, 56px); }
.mz-sec { display: grid; gap: clamp(10px, 1.1vw, 16px); }
.mz-sec a { font-family: var(--body); font-weight: 300; font-size: clamp(1.05rem, 1.3vw, 1.3rem); color: var(--ink); }
.mz-prim a:hover, .mz-sec a:hover { color: var(--accent); }
.mz-menu .menu-foot { margin: clamp(28px, 3vw, 44px) 0 0; padding: 0; border: 0; width: auto; max-width: none; }
.mz-menu .lang-switch--menu { display: flex; gap: 0; }
.mz-menu .lang-switch--menu a { font-family: var(--body); font-weight: 300; font-size: clamp(1.05rem, 1.3vw, 1.3rem); letter-spacing: 0; text-transform: none; color: var(--ink); padding: 0; border: 0; }
.mz-menu .lang-switch--menu a + a::before { content: "|"; margin: 0 12px; opacity: .4; }
.mz-menu .lang-switch--menu a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }
.mz-menu { padding-top: clamp(48px, 5vw, 80px); }
.mz-prim { margin-top: clamp(24px, 3vw, 56px); }
.mz-linha { margin: clamp(32px, 3.6vw, 64px) 0 clamp(24px, 2.6vw, 40px); }

/* ---------- 112. Menu sem scroll: tamanhos e espaços acompanham a altura do ecrã ---------- */
.mz-menu { padding-top: clamp(36px, 6vh, 72px); padding-bottom: clamp(20px, 3.5vh, 40px); }
.mz-close { top: clamp(20px, 3.5vh, 44px); }
.mz-prim { margin-top: clamp(12px, 3vh, 48px); gap: clamp(4px, 1.1vh, 16px); }
.mz-prim a { font-size: clamp(1.2rem, min(2.1vw, 3.6vh), 2.05rem); }
.mz-linha { margin: clamp(16px, 4vh, 56px) 0 clamp(14px, 3vh, 36px); }
.mz-sec { gap: clamp(4px, 1vh, 14px); }
.mz-sec a, .mz-menu .lang-switch--menu a { font-size: clamp(.95rem, min(1.3vw, 2.2vh), 1.25rem); }
.mz-menu .menu-foot { margin-top: clamp(14px, 3vh, 40px); }
/* como na Moooi: principais em cima; linha, links de baixo e língua encostados ao fundo do painel */
.mz-menu { justify-content: flex-start; padding-bottom: clamp(28px, 5vh, 56px); }
.mz-prim { margin-top: clamp(24px, 8vh, 110px); }
.mz-linha { margin-top: auto; padding-top: 0; }
.mz-menu > .mz-linha { margin-top: auto; } .mz-menu > .mz-prim { margin-bottom: clamp(16px, 4vh, 56px); }

/* ---------- 113. Página FAQs: lista centrada numa coluna ---------- */
.page-faqs { background: var(--cream); }
.faqs-pg { padding-top: 0; }
.faqs-pg .pl-faq { display: block; max-width: 860px; margin-inline: auto; }
.faqs-pg .faqs { width: 100%; }

/* ---------- 114. Contactos ---------- */
.page-contactos { background: var(--cream); }
.ct-pares .panel-texto a:not(.link-arrow) { border-bottom: 1px solid currentColor; }
.ct-mapa iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; filter: grayscale(.35) sepia(.12); }
.ct-form-sec { background: var(--cream); }
.ct-form { max-width: 860px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 700px) { .ct-form { grid-template-columns: 1fr 1fr; } .ct-form__larga { grid-column: 1 / -1; } }
.ct-form label { display: grid; gap: 8px; }
.ct-form input, .ct-form textarea { font: inherit; font-weight: 300; font-size: var(--fs-body); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid rgba(51,51,51,.4); padding: 8px 0; border-radius: 0; }
.ct-form textarea { border: 1px solid rgba(51,51,51,.4); padding: 12px; resize: vertical; }
.ct-form input:focus, .ct-form textarea:focus { outline: none; border-color: var(--ink); }

/* ---------- 115. Galeria com largas escolhidas à mão no backoffice (anula o padrão fixo) ---------- */
@media (min-width: 1100px) {
  .pj-gal--livre > .pj-gal__item { grid-column: auto; aspect-ratio: 4 / 5; height: auto; }
  .pj-gal--livre > .pj-gal__item--larga { grid-column: span 2; aspect-ratio: auto; height: calc(var(--col) * 1.25); }
}
.page-interiores .page-head h1 { max-width: 24ch; }

/* ---------- 116. Marcar Reunião (formulário GoHighLevel) ---------- */
.page-marcar-reuniao { background: var(--cream); }
.mr-form-sec { padding-top: 0; }
.mr-form { max-width: 720px; margin: 0 auto; background: none; padding: 0; }
.mr-form iframe { display: block; min-height: 760px; }

/* ---------- 117. Sobre nós: frases do topo mais juntas ---------- */
.page-sobre-nos .page-head .lead + .lead { margin-top: -4px; }
.mf-final { font-family: var(--body); font-weight: 400; font-size: var(--fs-body); line-height: 1.65; color: var(--ink); margin-top: 0; }
