/* Estores Moniz Matias — estilo inspirado na Apple.
   Em Mac, iPhone e iPad usa a letra do sistema (San Francisco).
   Nos outros aparelhos usa a Inter, alojada no próprio site. */
@font-face {
  font-family: "Inter";
  src: url("/assets/inter.woff2") format("woff2-variations"), url("/assets/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #86868b;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --line: #d2d2d7;
  --link: #0066cc;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --dark: #000000;
  --dark-text: #f5f5f7;
  --dark-2: #a1a1a6;
  --tile: #1d1d1f;
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --content: 980px;
  --wide: 1200px;
  --side: max(22px, calc((100% - var(--content)) / 2));
  --font: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.28, .11, .32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
}
img, video { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }

.container { width: 100%; max-width: calc(var(--content) + 44px); margin: 0 auto; padding: 0 22px; }
.container.wide { max-width: calc(var(--wide) + 44px); }
.center { text-align: center; }

/* ---------- Tipografia ---------- */
.headline { font-size: clamp(40px, 6.4vw, 80px); line-height: 1.05; letter-spacing: -0.015em; }
.title { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.07; letter-spacing: -0.005em; }
.title-sm { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; letter-spacing: 0; }
.intro { font-size: clamp(19px, 2vw, 24px); line-height: 1.33; letter-spacing: .009em; font-weight: 500; color: var(--text-2); }
.intro strong { color: var(--text); font-weight: 600; }
.lead { font-size: clamp(19px, 1.8vw, 21px); line-height: 1.38; letter-spacing: .011em; color: var(--text-2); }
.small { font-size: 14px; line-height: 1.43; letter-spacing: -0.016em; color: var(--text-2); }

/* ---------- Botões e ligações ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 28px; padding: 12px 22px; border-radius: 980px;
  background: var(--blue); color: #fff; border: 1px solid var(--blue);
  font: inherit; font-size: 17px; line-height: 1.18; letter-spacing: -0.022em;
  cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}
.btn:hover { background: var(--blue-hover); text-decoration: none; }
/* Resposta ao toque: encolhe um pouco enquanto se carrega */
.btn:active, .gallery-ctrl button:active, .video-btn:active { transform: scale(.96); }
.btn.ghost { background: transparent; color: var(--blue); }
.btn.ghost:hover { background: var(--blue); color: #fff; }
.btn.sm { font-size: 12px; padding: 4px 11px; line-height: 1.34; letter-spacing: -0.01em; }
.more { font-size: inherit; white-space: nowrap; }
.more::after { content: "\00a0›"; font-size: 1.15em; line-height: 1; position: relative; top: .03em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; }
.center .actions, .actions.center { justify-content: center; }

/* ---------- Barra de navegação (global) ---------- */
.gnav {
  position: sticky; top: 0; z-index: 50; height: 52px;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}
/* O desfoque fica num pseudo-elemento: assim o menu (position: fixed) ocupa o ecrã todo */
.gnav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(250, 250, 252, .8);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
}
.menu-open .gnav::before { background: rgba(250, 250, 252, .98); }
.has-localnav .gnav { position: relative; }
.gnav .container { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 9px; color: var(--text); font-size: 14px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.logo:hover { text-decoration: none; }
.logo svg { width: 22px; height: 22px; flex: none; }
.gnav-links { display: flex; align-items: center; gap: 30px; margin-left: auto; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.gnav-links a { color: var(--text); opacity: .8; font-size: 12px; letter-spacing: -0.01em; transition: opacity .2s; }
.gnav-links a:hover { opacity: 1; text-decoration: none; }
.gnav-links a[aria-current="page"] { opacity: 1; }
.gnav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; margin-right: -12px; }
.gnav-toggle span { position: absolute; left: 14px; width: 16px; height: 1.5px; background: var(--text); border-radius: 1px; transition: transform .3s var(--ease), top .3s var(--ease); }
.gnav-toggle span:first-child { top: 18px; }
.gnav-toggle span:last-child { top: 25px; }
.menu-open .gnav-toggle span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-open .gnav-toggle span:last-child { top: 21.5px; transform: rotate(-45deg); }

@media (max-width: 1023px) {
  .gnav-toggle { display: block; }
  .gnav-links {
    position: fixed; left: 0; right: 0; top: 52px; bottom: 0; z-index: 49;
    flex-direction: column; gap: 0; margin: 0; padding: 20px 46px;
    background: #fafafc;
    visibility: hidden; opacity: 0; transition: opacity .3s var(--ease), visibility .3s;
  }
  .menu-open .gnav-links { visibility: visible; opacity: 1; }
  /* Os links entram um a seguir ao outro */
  .gnav-links li { opacity: 0; transform: translateY(-10px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .menu-open .gnav-links li { opacity: 1; transform: none; transition-duration: .45s; transition-delay: calc(var(--i, 0) * 40ms + 60ms); }
  .gnav-links a { display: block; font-size: 28px; font-weight: 600; letter-spacing: .007em; line-height: 1.14; padding: 10px 0; opacity: 1; }
  .menu-open { overflow: hidden; }
}

/* ---------- Barra local (páginas de produto) ---------- */
.lnav {
  position: sticky; top: 0; z-index: 40; height: 52px;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .12);
}
.lnav .container { height: 100%; display: flex; align-items: center; gap: 24px; }
.lnav-title { font-size: 21px; font-weight: 600; letter-spacing: .011em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.lnav-title:hover { text-decoration: none; }
.lnav-links { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.lnav-links a:not(.btn) { color: var(--text); opacity: .8; font-size: 12px; }
@media (max-width: 640px) {
  .lnav-title { font-size: 17px; }
  .lnav-links a:not(.btn) { display: none; }
}

/* ---------- Secções ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--dark); color: var(--dark-text); }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .lead, .section-head .intro { margin-top: 18px; }
.section-head.center .lead, .section-head.center .intro { max-width: 720px; margin-left: auto; margin-right: auto; }

/* ---------- Início: destaque ---------- */
.hero { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 80px); text-align: center; overflow: hidden; }
.hero .brand-line { font-size: clamp(30px, 4.2vw, 52px); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 14px; }
.hero h1 { margin: 0 auto; max-width: 21ch; }
.hero h1 .brand-line { display: block; }
.hero .lead { margin: 22px auto 0; max-width: 560px; }
.hero .actions { justify-content: center; margin-top: 32px; }
.hero-media {
  position: relative; margin: clamp(48px, 6vw, 72px) auto 0; max-width: var(--wide);
  border-radius: var(--r-lg); overflow: hidden; background: var(--bg-alt);
  aspect-ratio: 2500 / 1330;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
/* O estore que sobe ao abrir a página */
.shutter {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, transparent calc(100% - 12px), #b8b8bd calc(100% - 12px), #9e9ea3 100%),
    repeating-linear-gradient(to bottom, #f5f5f7 0, #ececf0 22px, #d9d9de 22px, #d9d9de 23px, #fbfbfd 23px, #fbfbfd 24px);
  animation: shutter-up 1.9s cubic-bezier(.7, 0, .2, 1) .1s forwards; will-change: transform;
}
.js .shutter { animation-play-state: paused; }
.js .hero-media.ready .shutter { animation-play-state: running; }
@keyframes shutter-up { to { transform: translateY(-101%); } }
@media (prefers-reduced-motion: reduce) { .shutter { display: none; } }
@media (max-width: 734px) { .hero-media { aspect-ratio: 4 / 3; border-radius: var(--r-md); } }

/* ---------- Galeria de projetos ---------- */
.gallery {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 var(--side) 8px; scroll-padding: 0 var(--side);
  scrollbar-width: none; -webkit-overflow-scrolling: touch; list-style: none; margin: 0;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery li { flex: 0 0 clamp(270px, 34vw, 400px); scroll-snap-align: start; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); background: #e8e8ed; }
.gallery figcaption { margin-top: 16px; font-size: 19px; font-weight: 600; letter-spacing: .012em; }
.gallery figcaption span { display: block; font-size: 15px; font-weight: 400; color: var(--text-2); letter-spacing: -0.01em; margin-top: 2px; }
.gallery-ctrl { display: flex; justify-content: flex-end; gap: 16px; margin-top: 28px; }
.gallery-ctrl button {
  width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(210, 210, 215, .64); color: rgba(0, 0, 0, .56); display: grid; place-items: center;
  transition: background-color .2s, color .2s;
}
.gallery-ctrl button:hover { background: rgba(223, 223, 227, .7); color: rgba(0, 0, 0, .64); }
.gallery-ctrl button:disabled { opacity: .42; cursor: default; }
.gallery-ctrl svg { width: 18px; height: 18px; }

/* ---------- Sobre ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; list-style: none; margin: 0; padding: 0; text-align: center; }
.facts strong { display: block; font-size: clamp(56px, 7vw, 96px); font-weight: 600; line-height: 1; letter-spacing: -0.015em; }
.facts span { display: block; margin-top: 10px; font-size: 17px; color: var(--text-2); }
.about-media { margin: clamp(56px, 7vw, 88px) auto 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 2; max-width: var(--content); background: var(--bg-alt); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; margin-top: clamp(48px, 6vw, 72px); }
.cols h3 { font-size: 24px; line-height: 1.17; letter-spacing: .009em; margin-bottom: 10px; }
.cols p { color: var(--text-2); }
@media (max-width: 734px) {
  .facts { grid-template-columns: 1fr; gap: 36px; }
  .cols { grid-template-columns: 1fr; }
  .about-media { border-radius: var(--r-md); }
}

/* ---------- Mosaico de produtos ---------- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; list-style: none; margin: 0; padding: 0; }
.tile {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--bg); border-radius: var(--r-lg); overflow: hidden;
  color: var(--text); text-align: center; padding: 48px 40px 0;
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.tile:hover { text-decoration: none; }
/* Efeitos de rato só em quem tem rato (no telemóvel o toque deixava o cartão aumentado) */
@media (hover: hover) { .tile:hover { box-shadow: 2px 4px 16px rgba(0, 0, 0, .08); transform: scale(1.01); } }
.tile .where { font-size: 14px; color: var(--text-2); letter-spacing: -0.016em; margin-bottom: 6px; }
.tile h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; letter-spacing: .004em; }
.tile p { margin: 12px auto 0; max-width: 34ch; color: var(--text-2); font-size: 17px; }
.tile .more { display: inline-block; margin-top: 16px; color: var(--link); }
@media (hover: hover) { .tile:hover .more { text-decoration: underline; } }
.tile .pic { margin: 36px -40px 0; flex: 1; min-height: 0; }
.tile .pic img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #e8e8ed; }
.tiles .featured { grid-column: 1 / -1; }
.tiles .featured .tile { flex-direction: row; text-align: left; padding: 0; align-items: stretch; }
.tiles .featured .tile-text { flex: 1 1 44%; padding: clamp(40px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.tiles .featured .tile p { margin-left: 0; }
.tiles .featured .pic { flex: 1 1 56%; margin: 0; }
.tiles .featured .pic img { aspect-ratio: auto; min-height: 420px; }
.alt .tile { background: var(--bg); }
.section:not(.alt) .tile { background: var(--bg-alt); }
@media (max-width: 734px) {
  .tiles { grid-template-columns: 1fr; gap: 14px; }
  .tile { padding: 40px 24px 0; border-radius: var(--r-md); }
  .tile .pic { margin: 28px -24px 0; }
  .tiles .featured .tile { flex-direction: column; text-align: center; }
  .tiles .featured .tile-text { padding: 40px 24px 0; }
  .tiles .featured .tile p { margin-left: auto; }
  .tiles .featured .pic { margin: 28px 0 0; }
  .tiles .featured .pic img { aspect-ratio: 4 / 3; min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .tile, .tile:hover { transition: none; transform: none; } }

/* ---------- Garantia (secção escura) ---------- */
.warranty { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.warranty .title { color: var(--dark-text); }
.warranty .lead { color: var(--dark-2); margin-top: 18px; }
.steps { list-style: none; counter-reset: s; margin: 48px 0 0; padding: 0; display: grid; gap: 28px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 0 16px; }
.steps li::before {
  content: counter(s); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid #424245; display: grid; place-items: center; font-size: 15px; font-weight: 600; color: var(--dark-text);
}
.steps h3 { font-size: 19px; line-height: 1.3; letter-spacing: .012em; color: var(--dark-text); margin-top: 6px; }
.steps p { color: var(--dark-2); margin-top: 4px; }
.steps a { color: #2997ff; }
.warranty-media { border-radius: var(--r-lg); overflow: hidden; background: #1d1d1f; aspect-ratio: 9 / 16; max-height: 640px; width: 100%; max-width: 360px; justify-self: center; }
.warranty-media video, .warranty-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 833px) {
  .warranty { grid-template-columns: 1fr; }
  .warranty-media { max-width: 300px; border-radius: var(--r-md); }
}

/* ---------- Contactos ---------- */
.contact-email { font-size: clamp(22px, 3vw, 32px); font-weight: 600; letter-spacing: .004em; word-break: break-word; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(48px, 6vw, 72px); text-align: left; }
.card { background: var(--bg-alt); border-radius: var(--r-md); padding: 32px 30px; }
.section.alt .card { background: var(--bg); }
.card h3 { font-size: 21px; line-height: 1.19; letter-spacing: .011em; margin-bottom: 14px; }
.card p, .card address { font-style: normal; color: var(--text-2); }
.card .phones { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.card .phones a { color: var(--text); font-weight: 600; font-size: 19px; letter-spacing: .012em; }
.card .phones small { display: block; font-size: 12px; color: var(--text-3); letter-spacing: -0.01em; }
.card .more { display: inline-block; margin-top: 12px; }
.checklist { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; color: var(--text-2); }
.checklist li { display: grid; grid-template-columns: 22px 1fr; }
.checklist li::before { content: ""; width: 14px; height: 14px; margin-top: 5px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 7.5l3 3 7-7' fill='none' stroke='%230071e3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
@media (max-width: 833px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Páginas interiores ---------- */
.page-hero { padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 5vw, 64px); text-align: center; }
.page-hero .lead { margin: 20px auto 0; max-width: 640px; }

/* Produto */
.p-hero { padding: clamp(56px, 8vw, 104px) 0 0; text-align: center; }
.p-hero .where { font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; color: var(--text-2); letter-spacing: .011em; margin-bottom: 8px; }
.p-hero h1 { max-width: 18ch; margin: 0 auto; }
.p-hero .intro { margin: 18px auto 0; max-width: 680px; color: var(--text); font-weight: 500; }
.p-hero .actions { justify-content: center; margin-top: 30px; }
.p-media { margin: clamp(48px, 6vw, 72px) auto 0; max-width: var(--content); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-alt); }
.p-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 734px) { .p-media { aspect-ratio: 4 / 3; border-radius: var(--r-md); } }
.overview { max-width: 760px; margin: 0 auto; }
.overview p { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.38; letter-spacing: .009em; font-weight: 500; color: var(--text-2); }
.overview p + p { margin-top: 1em; }
.overview p:first-child { color: var(--text); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.features.two { grid-template-columns: repeat(2, 1fr); }
.features li { background: var(--bg); border-radius: var(--r-md); padding: 34px 32px 38px; }
.features h3 { font-size: 24px; line-height: 1.17; letter-spacing: .009em; margin-bottom: 10px; }
.features p { color: var(--text-2); }
@media (max-width: 833px) { .features, .features.two { grid-template-columns: 1fr; } }
.second-media { margin-top: 20px; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 9; background: #e8e8ed; }
.second-media img { width: 100%; height: 100%; object-fit: cover; }

.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; list-style: none; margin: 0; padding: 0; text-align: center; border-top: 1px solid var(--line); }
.compare li { padding: 40px 28px 8px; }
.compare li + li { border-left: 1px solid var(--line); }
.compare strong { display: block; font-size: clamp(44px, 5vw, 64px); font-weight: 600; line-height: 1; letter-spacing: -0.01em; }
.compare p { margin-top: 14px; color: var(--text-2); }
@media (max-width: 734px) {
  .compare { grid-template-columns: 1fr; }
  .compare li + li { border-left: 0; border-top: 1px solid var(--line); }
  .compare li { padding: 32px 8px; }
}

.callout { max-width: var(--content); margin: 0 auto; background: var(--bg-alt); border-radius: var(--r-md); padding: 32px 36px; display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; }
.callout svg { grid-row: span 2; width: 28px; height: 28px; color: var(--blue); margin-top: 2px; }
.callout h3 { font-size: 21px; letter-spacing: .011em; }
.callout p { color: var(--text-2); }

.specs { max-width: var(--content); margin: 0 auto; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 220px 1fr; gap: 8px 32px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-weight: 600; }
.specs dd { margin: 0; color: var(--text-2); }
@media (max-width: 640px) { .specs div { grid-template-columns: 1fr; } }
.footnote { max-width: var(--content); margin: 22px auto 0; font-size: 12px; color: var(--text-3); letter-spacing: -0.01em; }

.mini-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.mini-tiles a { display: block; color: var(--text); background: var(--bg); border-radius: var(--r-md); overflow: hidden; height: 100%; transition: box-shadow .4s var(--ease); }
.mini-tiles a:hover { text-decoration: none; }
@media (hover: hover) { .mini-tiles a:hover { box-shadow: 2px 4px 16px rgba(0, 0, 0, .08); } }
.mini-tiles img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #e8e8ed; }
.mini-tiles div { padding: 22px 24px 26px; }
.mini-tiles h3 { font-size: 21px; letter-spacing: .011em; }
.mini-tiles .more { display: inline-block; margin-top: 8px; color: var(--link); font-size: 15px; }
@media (max-width: 833px) { .mini-tiles { grid-template-columns: 1fr; } }

/* Perguntas frequentes */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 26px 56px 26px 0; font-size: clamp(19px, 2vw, 24px); font-weight: 600; line-height: 1.25; letter-spacing: .009em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%231d1d1f' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 56px 28px 0; }
.faq .answer p { color: var(--text-2); max-width: 68ch; }
.faq .answer p + p { margin-top: .8em; }

/* Texto simples (privacidade) */
.prose { max-width: 692px; margin: 0 auto; }
.prose h2 { font-size: 24px; line-height: 1.17; letter-spacing: .009em; margin: 48px 0 12px; }
.prose p { color: var(--text-2); }
.prose p + p { margin-top: .8em; }

/* ---------- Rodapé ---------- */
.footer { background: var(--bg-alt); color: var(--text-2); font-size: 12px; line-height: 1.34; letter-spacing: -0.01em; padding: 20px 0 22px; }
.footer a { color: var(--text-2); }
.footer a:hover { color: var(--text); }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 24px 0 28px; border-bottom: 1px solid var(--line); }
.footer h2 { font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer address { font-style: normal; }
.footer .call { color: var(--text-3); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 18px; }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 0; }
.footer-legal li + li { border-left: 1px solid var(--line); padding-left: 10px; margin-left: 10px; }
@media (max-width: 833px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-cols { grid-template-columns: 1fr; } }

/* ---------- Aparecer ao rolar (só com JavaScript e sem "reduzir movimento") ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Transição suave entre páginas (browsers que a suportam; os outros mudam como antes) ---------- */
@view-transition { navigation: auto; }
.gnav { view-transition-name: gnav; }  /* a barra do topo fica parada; só o conteúdo muda */
::view-transition-old(root) { animation: vt-out .2s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .4s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .btn:active, .gallery-ctrl button:active, .video-btn:active { transform: none; }
  .gnav-links li { transform: none !important; transition-delay: 0s !important; }
}

/* ---------- Complementos ---------- */
.gallery-ctrl { display: none; }
.js .gallery-ctrl { display: flex; }
.warranty-media { position: relative; }
.video-btn {
  position: absolute; right: 16px; bottom: 16px; width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(66, 66, 69, .72); color: rgba(255, 255, 255, .86); display: grid; place-items: center;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.video-btn:hover { background: rgba(80, 80, 84, .8); color: #fff; }
.video-btn svg { width: 16px; height: 16px; }
.video-btn .i-play { display: none; }
.paused .video-btn .i-play { display: block; }
.paused .video-btn .i-pause { display: none; }
.no-video .video-btn { display: none; }
.steps small { color: #6e6e73; font-size: 12px; }
.contact-grid.page { grid-template-columns: 1.5fr 1fr 1fr; }
@media (max-width: 833px) { .contact-grid.page { grid-template-columns: 1fr; } }
.card.quote p a { color: var(--link); }

.btn.sm { white-space: nowrap; }
main:has(> .section.alt:last-child) + .footer .footer-cols { padding-top: 24px; }
main:has(> .section.alt:last-child) + .footer { border-top: 1px solid var(--line); }
@media (max-width: 734px) {
  .features li { padding: 28px 24px 30px; }
  .facts strong { font-size: 64px; }
  .facts { gap: 28px; }
}
.section.alt .callout { background: var(--bg); }

/* Vídeo vertical na página de produto */
.p-video { position: relative; margin: 48px auto 0; max-width: 340px; aspect-ratio: 480 / 848; border-radius: var(--r-lg); overflow: hidden; background: #1d1d1f; }
.p-video video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 734px) { .p-video { max-width: 280px; border-radius: var(--r-md); } }
/* Fotografia das réguas (quando existir) */
.compare .regua { display: block; height: auto; max-width: 100%; margin: 0 auto 28px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.12)); }
.compare li { display: grid; grid-template-rows: 310px auto auto; }
.compare .regua { align-self: end; }
@media (max-width: 734px) { .compare li { grid-template-rows: auto auto auto; } }

/* ---------- Cores ---------- */
.colors { max-width: var(--content); margin: 0 auto; text-align: center; }
.sw-preview { position: relative; max-width: 560px; margin: 0 auto; aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 10px 30px rgba(0,0,0,.08); }
.sw-fill { position: absolute; inset: 0; transition: background .35s var(--ease); }
/* Réguas por cima da cor, para parecer um estore */
.sw-preview::after { content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.10) 0, rgba(255,255,255,.02) 18px, rgba(0,0,0,.18) 18px, rgba(0,0,0,.18) 19px, rgba(255,255,255,.14) 19px, rgba(255,255,255,.14) 20px); }
.sw-name { margin-top: 26px; font-size: 21px; font-weight: 600; letter-spacing: .011em; min-height: 1.4em; }
.sw-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 48px; margin-top: 36px; text-align: left; }
.sw-group h3 { font-size: 14px; font-weight: 600; color: var(--text-2); letter-spacing: -0.016em; margin-bottom: 14px; }
.sw-group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.sw { width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer; padding: 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); transition: box-shadow .2s var(--ease); }
.sw:hover { box-shadow: inset 0 0 0 1px rgba(0,0,0,.14), 0 0 0 2px var(--bg), 0 0 0 3px var(--line); }
.sw[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(0,0,0,.14), 0 0 0 2px var(--bg), 0 0 0 4px var(--blue); }
.section.alt .sw:hover, .section.alt .sw[aria-pressed="true"] { --bg: #f5f5f7; }
@media (max-width: 734px) { .sw-groups { grid-template-columns: 1fr; } .sw-group { text-align: center; } .sw-group ul { justify-content: center; } }

/* Passos em fundo claro (página de reparações) */
.steps.light { max-width: 760px; margin: 0 auto; }
.steps.light li::before { border-color: var(--line); color: var(--text); }
.steps.light h3 { color: var(--text); }
.steps.light p { color: var(--text-2); }
.steps.light a { color: var(--link); }

/* Logótipo */
.logo img { width: 26px; height: 26px; flex: none; mix-blend-mode: multiply; }
.footer-logo { display: inline-block; padding: 28px 0 4px; }
.footer-logo img { width: 160px; height: auto; mix-blend-mode: multiply; }

/* Réguas com cor variável (camadas: cor + sombra + brilho + espuma + contorno) */
.rg { position: relative; isolation: isolate; margin: 0 auto; max-width: 100%; }
.rg > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.rg-tint { -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; transition: background .25s var(--ease); }
.rg-sh { mix-blend-mode: multiply; }
.compare .rg { align-self: end; margin-bottom: 28px; filter: drop-shadow(0 12px 16px rgba(0,0,0,.12)); }
.sw-slats { display: flex; justify-content: center; align-items: flex-end; gap: clamp(20px, 5vw, 56px); }
.sw-slats figure { margin: 0; }
.sw-slats .rg { filter: drop-shadow(0 12px 16px rgba(0,0,0,.12)); }
.sw-slats figcaption { margin-top: 14px; font-size: 14px; color: var(--text-2); text-align: center; }
@media (max-width: 734px) {
  .sw-slats { gap: 14px; }
  .sw-slats .rg { zoom: .58; }
  .compare .rg { zoom: .8; }
}

/* Revisão de design: notas legíveis, cores centradas, alvos maiores no toque */
.footnote { color: var(--text-2); }
.sw-groups { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 56px; text-align: center; }
.sw-group ul { justify-content: center; }
@media (pointer: coarse) { .sw { width: 44px; height: 44px; } .sw-group ul { gap: 12px; } }

/* Fotografia da equipa no topo: <picture> ocupa toda a área */
.hero-media picture { display: block; width: 100%; height: 100%; }

/* ===== Fotografias inteiras, centradas e sem cortes ===== */
/* Topo da página inicial: a moldura tem a proporção da fotografia (3:2) */
.hero-media, .hero-media img { aspect-ratio: 3 / 2; }
@media (max-width: 734px) { .hero-media, .hero-media img { aspect-ratio: 3 / 2; } }
.about-media { aspect-ratio: 3 / 2; }

/* Mosaico de produtos: fotografia inteira, centrada no fundo do cartão */
.tile .pic { margin: 32px 0 40px; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
.tile .pic img { width: auto; height: auto; max-width: 100%; max-height: 360px; aspect-ratio: auto; object-fit: contain; border-radius: var(--r-md); background: none; }
.tiles .featured .pic { margin: 0; padding: clamp(32px, 4vw, 56px); }
.tiles .featured .pic img { min-height: 0; max-height: 460px; aspect-ratio: auto; }
@media (max-width: 734px) {
  .tile .pic { margin: 28px 0 28px; }
  .tile .pic img { max-height: 340px; }
  .tiles .featured .pic { margin: 0; padding: 28px 24px; }
  .tiles .featured .pic img { aspect-ratio: auto; max-height: 340px; }
}

/* Topo da página de produto: fotografia inteira */
.p-media { aspect-ratio: auto; background: none; overflow: visible; border-radius: 0; display: flex; justify-content: center; }
.p-media img { width: auto; height: auto; max-width: 100%; max-height: min(78vh, 760px); object-fit: contain; border-radius: var(--r-lg); }
@media (max-width: 734px) { .p-media { aspect-ratio: auto; } .p-media img { max-height: 70vh; border-radius: var(--r-md); } }
.second-media { aspect-ratio: auto; background: none; }
.second-media img { height: auto; }

/* Outros produtos: fotografia inteira numa área de altura fixa */
.mini-tiles .mt-pic { display: flex; align-items: center; justify-content: center; height: 240px; padding: 20px 20px 0; }
.mini-tiles .mt-pic img { width: auto; height: auto; max-width: 100%; max-height: 100%; aspect-ratio: auto; object-fit: contain; border-radius: var(--r-sm); background: none; }

/* Projetos: altura igual, largura de cada fotografia conforme a sua proporção */
.gallery li { flex: 0 0 auto; }
.gallery figure { width: min-content; }
.gallery img { width: auto; height: clamp(220px, 28vw, 340px); aspect-ratio: auto; max-width: none; }
@media (max-width: 734px) { .gallery img { height: 220px; } }
.tile .pic { flex: 1 0 auto; }
.tiles .featured .pic { flex: 1 1 56%; }

/* Fotografia de 2009 com legenda */
.about-fig { margin: clamp(56px, 7vw, 88px) auto 0; max-width: var(--content); }
.about-fig .about-media { margin: 0; aspect-ratio: 940 / 627; }
.about-fig figcaption { margin-top: 14px; text-align: center; font-size: 14px; color: var(--text-2); }
.about-fig figcaption span { display: block; font-size: 12px; color: var(--text-3); margin-top: 2px; }
/* Comparação com duas réguas */
.compare.two { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin-left: auto; margin-right: auto; }
@media (max-width: 734px) { .compare.two { grid-template-columns: 1fr; } }

/* ================= Redesenho (outubro 2026) ================= */
/* Logótipo e botão "Pedir orçamento" na barra */
.logo { font-size: 17px; gap: 10px; }
.logo img { width: 30px; height: 30px; }
.gnav-links .btn { opacity: 1; color: #fff; }
@media (max-width: 1023px) {
  .gnav-links .gnav-cta { margin-top: 18px; }
  .gnav-links .btn { display: inline-flex; font-size: 17px; font-weight: 400; padding: 12px 22px; line-height: 1.18; }
}

/* Entrada: aproximação lenta da fotografia; fotografia de produto a descer como um estore */
.kb { animation: kb 4s var(--ease) .1s both; will-change: transform; }
/* A aproximação começa junto com o estore, quando a página está pronta */
.js .hero-media .kb { animation-play-state: paused; }
.js .hero-media.ready .kb { animation-play-state: running; }
@keyframes kb { from { transform: scale(1.08); } to { transform: none; } }
.wipe { animation: wipe 1.8s cubic-bezier(.7, 0, .2, 1) .4s both; }
@keyframes wipe { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
.features li { transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
@media (hover: hover) { .features li:hover { transform: translateY(-4px); box-shadow: 2px 4px 16px rgba(0, 0, 0, .08); } }
@media (prefers-reduced-motion: reduce) { .kb, .wipe { animation: none; } .features li:hover { transform: none; } }

/* Projetos: posição e pausa da passagem automática */
.gallery-ctrl { align-items: center; }
.gallery-ctrl button { width: 44px; height: 44px; }
.gallery-ctrl .i-play { display: none; }
.gallery-ctrl .stopped .i-play { display: block; }
.gallery-ctrl .stopped .i-pause { display: none; }
.gallery-ctrl [data-auto] svg { width: 16px; height: 16px; }

/* Projetos em faixa contínua: a lista aparece duas vezes e desliza metade do comprimento, sem salto.
   O padding à direita iguala o espaço entre a última e a primeira fotografia. Para ao passar o rato, focar ou pausar. */
.gallery li[aria-hidden] { display: none; }
.js .marquee { overflow: hidden; }
.js .marquee .gallery { width: max-content; overflow: visible; scroll-snap-type: none; padding: 0 20px 8px 0; animation: marquee 45s linear infinite; }
.js .marquee .gallery li[aria-hidden] { display: block; }
.js .marquee:hover .gallery, .js .marquee:focus-within .gallery, .js .marquee.stopped .gallery { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .js .marquee { overflow: visible; }
  .js .marquee .gallery { width: auto; overflow-x: auto; padding: 0 var(--side) 8px; animation: none; }
  .js .marquee .gallery li[aria-hidden], .js .marquee .gallery-ctrl { display: none; }
}

/* Cores: "No estore" / "Na régua" (sem JavaScript aparecem os dois) */
.seg { display: none; padding: 3px; border-radius: 999px; background: #e8e8ed; margin-bottom: 40px; }
.js .seg { display: inline-flex; }
.seg button { font: inherit; font-size: 14px; font-weight: 500; min-height: 36px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--text); cursor: pointer; transition: background .25s var(--ease), box-shadow .25s var(--ease); }
.seg button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.js .mode-panel[hidden] { display: none; }
.mode-panel + .mode-panel { margin-top: 48px; }
.js .mode-panel + .mode-panel { margin-top: 0; }

/* Estore visto de frente, desenhado só em CSS: caixa em cima, duas calhas, réguas na cor escolhida */
.est { --wall: #f4f3ef; position: relative; max-width: 820px; margin: 0 auto; aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; background: var(--wall); transition: background .35s var(--ease); box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 10px 30px rgba(0,0,0,.08); }
.est > * { position: absolute; }
.est .tint { position: absolute; inset: 0; transition: background .35s var(--ease); }
.est-win { left: 18.2%; width: 63.6%; top: 19%; height: 66%; overflow: hidden; background: #e9e4dc; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.est-sala { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center bottom; }
/* Reflexo muito leve do vidro, por cima da sala */
.est-win::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.18), rgba(255,255,255,0) 45%); pointer-events: none; }
.est-cur { position: absolute; inset: 0; transition: transform 1.1s cubic-bezier(.6, 0, .2, 1); box-shadow: 0 2px 6px rgba(0,0,0,.18); }
/* Réguas: uma junta escura e um leve relevo a cada 14 px, a contar de baixo */
.est-cur::after { content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(to top, rgba(0,0,0,.24) 0, rgba(0,0,0,.24) 1px, rgba(255,255,255,.10) 1px, rgba(255,255,255,0) 7px, rgba(0,0,0,.08) 14px); }
/* Régua final, mais grossa */
.est-cur::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; z-index: 1;
  background: linear-gradient(to bottom, rgba(255,255,255,.12), rgba(0,0,0,.30)); }
.est-guide { top: 19%; height: 66%; width: 2.2%; overflow: hidden; }
.est-guide-l { left: 16%; }
.est-guide-r { right: 16%; }
.est-guide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,.22), rgba(255,255,255,.12) 50%, rgba(0,0,0,.22)); }
/* Caixa do estore embutida na parede: mesma cor, só uma aresta por baixo */
.est-box { left: 16%; width: 68%; top: 10%; height: 9%; background: var(--wall); transition: background .35s var(--ease); box-shadow: inset 0 -2px 0 rgba(0,0,0,.10), 0 1px 0 rgba(255,255,255,.5); }
.est-sill { left: 14%; width: 72%; top: 85%; height: 3%; background: linear-gradient(to bottom, #fbfbfa, #dedcd6); box-shadow: 0 3px 6px rgba(0,0,0,.08); }
.est-walls { display: none; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; font-size: 14px; color: var(--text-2); }
.js .est-walls { display: flex; }
.est-walls div { display: flex; gap: 12px; }
.est-range { display: none; max-width: 420px; margin: 26px auto 0; text-align: left; }
.js .est-range { display: block; }
.est-range label { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-2); }
.est-range input { accent-color: var(--blue); width: 100%; height: 44px; margin: 0; }
@media (prefers-reduced-motion: reduce) { .est-cur { transition: none; } }

/* Formulários (orçamento e Área Profissional) */
.quote-page { padding: clamp(40px, 6vw, 88px) 0 clamp(80px, 10vw, 120px); }
.quote-wrap { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 88px); }
.quote-aside { flex: 1 1 320px; min-width: 0; }
.quote-aside .headline { font-size: clamp(40px, 5vw, 64px); }
.quote-aside .lead { margin-top: 20px; max-width: 420px; }
.quote-aside .checklist { margin-top: 36px; gap: 12px; }
.quote-page .quote { flex: 1.5 1 520px; min-width: 0; }
.quote { display: flex; flex-direction: column; gap: 28px; background: var(--bg-alt); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 48px); }
.quote fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.q-step + .q-step { padding-top: 28px; border-top: 1px solid var(--line); }
.q-title { padding: 0; font-size: 32px; font-weight: 600; line-height: 1.1; letter-spacing: 0; }
.q-hint { color: var(--text-2); font-size: 14px; }
legend.q-title { margin-bottom: 20px; }  /* o gap do fieldset não se aplica à legenda */
legend.q-title + .q-hint { margin-top: -12px; }
.q-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.opt { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: #fff; cursor: pointer; transition: border-color .2s var(--ease), box-shadow .3s var(--ease); }
.opt:hover { box-shadow: 2px 4px 16px rgba(0, 0, 0, .08); }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt strong { font-weight: 600; }
.opt span { font-size: 14px; color: var(--text-2); }
.opt:has(input:checked) { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.opt:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.q-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.fld { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.fld input, .fld textarea, .fld select { font: inherit; font-weight: 400; font-size: 17px; padding: 13px 16px; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff; color: var(--text); width: 100%; }
.fld input:focus, .fld textarea:focus, .fld select:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.q-files { display: grid; gap: 8px; }
.q-files input { font-size: 14px; padding: 10px 12px; }
.q-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-2); }
.q-consent input { width: 22px; height: 22px; margin: 0; accent-color: var(--blue); flex: none; }
.q-error { color: #b3261e; font-size: 14px; }
.q-error:empty { display: none; }
.q-nav { display: flex; flex-wrap: wrap; gap: 12px; }
.q-nav [data-submit], .q-nav [data-next] { margin-left: auto; }
.q-progress, .q-nav [data-back], .q-nav [data-next] { display: none; }
/* Com JavaScript: um passo de cada vez, com barra de progresso */
.js [data-steps] .q-progress { display: block; }
.js [data-steps] .q-step { display: none; padding-top: 0; border-top: 0; animation: q-in .5s var(--ease) both; }
.js [data-steps] .q-step.on { display: flex; }
.js [data-steps] .q-nav [data-next] { display: inline-flex; }
.js [data-steps] .q-nav [data-submit] { display: none; }
.js [data-steps].last .q-nav [data-next] { display: none; }
.js [data-steps].last .q-nav [data-submit] { display: inline-flex; }
.js [data-steps].past1 .q-nav [data-back] { display: inline-flex; }
.js [data-steps].back .q-step { animation-name: q-back; }  /* "Voltar" entra pelo lado contrário */
@keyframes q-in { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes q-back { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
.q-progress-text { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-2); margin-bottom: 10px; }
.q-bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.q-bar i { display: block; height: 100%; width: 33%; background: var(--blue); transition: width .6s cubic-bezier(.6, 0, .2, 1); }
@media (prefers-reduced-motion: reduce) { .js [data-steps] .q-step { animation: none; } .q-bar i { transition: none; } }

/* Página "Pedido enviado" */
.sent .title { margin-top: 20px; }
.ok-badge { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; animation: pop .7s var(--ease) both; }
.ok-badge svg { width: 32px; height: 32px; }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ok-badge { animation: none; } }

/* Área Profissional */
.pro-wrap { display: flex; flex-wrap: wrap; }
.pro-intro { position: relative; overflow: hidden; flex: 1 1 420px; min-width: 0; background: var(--dark); color: var(--dark-text); padding: clamp(48px, 7vw, 112px) clamp(22px, 6vw, 88px); display: flex; flex-direction: column; justify-content: center; }
.pro-intro::before { content: ""; position: absolute; inset: 0; opacity: .06; background: repeating-linear-gradient(to bottom, #fff 0, #fff 22px, transparent 22px, transparent 26px); }
.pro-intro > * { position: relative; }
.pro-kicker { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dark-2); }
.pro-intro .headline { margin-top: 14px; font-size: clamp(40px, 5vw, 64px); }
.pro-intro .lead { margin-top: 20px; max-width: 460px; color: var(--dark-2); }
.pro-intro .checklist { margin-top: 36px; gap: 12px; color: #d2d2d7; }
.pro-form { flex: 1 1 460px; min-width: 0; padding: clamp(48px, 7vw, 112px) clamp(22px, 6vw, 88px); display: flex; justify-content: center; }
.pro-form .quote { width: 100%; max-width: 480px; gap: 18px; }

.pro-side { width: 100%; max-width: 480px; }
.pro-side .seg { margin-bottom: 24px; width: 100%; }
.pro-side .seg button { flex: 1; }
.pro-side .quote { max-width: none; }
.pro-side .mode-panel + .mode-panel { margin-top: 24px; }
.js .pro-side .mode-panel + .mode-panel { margin-top: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Barra da sessão (documentação e gestão de acessos) */
.pro-bar { border-bottom: 1px solid rgba(0, 0, 0, .06); background: var(--bg-alt); font-size: 12px; }
.pro-bar .container { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; min-height: 44px; }
.pro-tag { font-weight: 600; color: #fff; background: var(--text); border-radius: 999px; padding: 4px 10px; margin-right: auto; }
.pro-tag.admin { background: var(--blue); }
.pro-who { color: var(--text-2); }
.pro-who strong { color: var(--text); }
.pro-bar a, .pro-bar button { color: var(--text); font: inherit; font-size: 12px; background: none; border: 0; padding: 14px 0; cursor: pointer; }
.pro-bar button:hover { text-decoration: underline; }

/* Documentação técnica */
.pro-docs { background: var(--bg-alt); padding: clamp(48px, 6vw, 80px) 0 clamp(80px, 10vw, 120px); }
.pro-docs > .container > .lead { margin-top: 16px; max-width: 640px; }
.search { position: relative; margin: 32px 0 40px; max-width: 520px; }
.search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--text-2); stroke-width: 2; stroke-linecap: round; }
.search input { font: inherit; font-size: 17px; width: 100%; padding: 13px 16px 13px 44px; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff; color: var(--text); }
.search input:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.pcs, .docs { list-style: none; margin: 0; padding: 0; }
.pcs { display: grid; gap: 16px; }
.pc { display: flex; flex-wrap: wrap; background: #fff; border-radius: var(--r-md); overflow: hidden; }
.pc[hidden] { display: none; }
.pc-pic { flex: 0 0 220px; min-height: 180px; background: #e8e8ed; }
.pc-pic img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .pc-pic { flex-basis: 100%; height: 200px; } }
.pc-text { flex: 1 1 380px; min-width: 0; padding: 26px 28px; }
.pc-text h2 { font-size: 24px; line-height: 1.17; margin-top: 2px; }
.docs { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.doc { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--bg-alt); font-size: 15px; }
.doc svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--text); stroke-width: 1.6; stroke-linecap: round; }
.doc span:first-of-type { flex: 1; }
.soon { font-size: 12px; font-weight: 600; color: #48484a; background: #e8e8ed; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.pc-none { text-align: center; color: var(--text-2); padding: 40px 0; }
.pro-help { margin-top: 40px; background: var(--dark); color: var(--dark-text); border-radius: var(--r-md); padding: 32px 36px; display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.pro-help h2 { font-size: 24px; }
.pro-help p { margin-top: 8px; color: var(--dark-2); max-width: 520px; }
.pro-help > div:last-child { display: grid; gap: 6px; }
.pro-help a { color: #2997ff; }

/* Gestão de acessos */
.pro-admin { background: var(--bg-alt); padding: clamp(40px, 5vw, 64px) 0 clamp(80px, 10vw, 120px); }
.pro-admin .lead { margin-top: 12px; max-width: 640px; }
.pro-admin > .container > .q-error { margin-top: 16px; }
.admin-grid { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.admin-main { flex: 1.4 1 560px; min-width: 0; display: grid; gap: 20px; }
.panel { background: #fff; border-radius: var(--r-md); padding: 28px 30px; }
.panel h2 { font-size: 21px; }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 16px 0; border-top: 1px solid #e8e8ed; }
.row > div { flex: 1 1 240px; min-width: 0; }
.row p { font-size: 14px; color: var(--text-2); overflow-wrap: anywhere; }
.row.empty { color: var(--text-2); }
.row .btn { font-size: 15px; padding: 10px 20px; min-height: 44px; }
.pill { font-size: 12px; font-weight: 600; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.pill.wait { background: #fff3d6; color: #7a4b00; }
.pill.on { background: #e8f6ec; color: #1d7a3a; }
.pill.off { background: #e8e8ed; color: #6e6e73; }
.admin-new { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.admin-new form { display: flex; flex-direction: column; gap: 16px; }
.creds { background: #e8f6ec; border-radius: var(--r-sm); padding: 14px 16px; font-size: 14px; display: grid; gap: 12px; }
.creds[hidden] { display: none; }
.creds pre { margin: 0; padding: 12px; background: #fff; border-radius: 8px; font: 14px/1.5 ui-monospace, Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }

/* ---------- Animação de entrada: brisa-solar (~6 s) ----------
   0,45 s dois dedos agarram a lâmina do meio e dobram-na · 0,75 s o logótipo espreita pela fresta, meio palhaço
   (estica-se, inclina a cabeça, dá saltinhos) · 2,45 s esconde-se e a lâmina volta ao sítio com ressalto
   · 2,9 s as lâminas abrem · 3,8 s sobem · 4,25 s o logótipo aparece no tamanho normal, com o nome · 5,5 s tudo sai.
   Tudo em CSS; no fim fica invisível mesmo que o JavaScript falhe. */
.splash { display: none; }
.splash-on .splash { display: block; position: fixed; inset: 0; z-index: 1000; overflow: hidden; animation: splash-end 0s 6.25s forwards; }
.splash-panel { position: absolute; inset: 0; background: #fff; overflow: hidden; animation: splash-up .75s cubic-bezier(.65, 0, .25, 1) 5.5s forwards; will-change: transform; }
/* Caixa do topo */
.bs-head { position: absolute; left: 0; right: 0; top: 0; height: 2.4%; z-index: 5; background: linear-gradient(#50555b, #2c2f33); box-shadow: 0 2px 5px rgba(0, 0, 0, .3); }
/* Lâminas: <b> sobe, <i> roda (cada uma com a sua perspetiva) */
.bs-slats { --gw: 80px; position: absolute; left: 0; right: 0; top: 2.4%; bottom: 0; z-index: 2; display: flex; flex-direction: column; }
@media (min-width: 735px) { .bs-slats { --gw: 120px; } }
.bs-slats b { flex: 1; position: relative; perspective: 900px; animation: bs-lift .65s cubic-bezier(.6, 0, .3, 1) calc(3.8s + (15 - var(--i)) * 25ms) forwards; }
.bs-slats i {
  display: block; height: 100%;
  background: linear-gradient(to bottom, #767c84 0, #5d6269 30%, #43474d 75%, #2a2d31 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 0 rgba(0, 0, 0, .35);
  animation: bs-tilt .8s cubic-bezier(.65, 0, .35, 1) 2.9s forwards;
}
/* Régua de baixo, mais grossa (não roda) */
.bs-slats u { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(#6a7077, #3a3d42 60%, #222428); box-shadow: 0 4px 10px rgba(0, 0, 0, .3); }
@keyframes bs-tilt { to { rotate: x 80deg; } }
@keyframes bs-lift { to { translate: 0 calc(var(--i) * -88%); } }
/* A lâmina dobrada: a aresta de cima afunda numa curva suave (--d = profundidade); volta como uma mola */
@property --d { syntax: "<percentage>"; inherits: true; initial-value: 0%; }
.bs-slats .bend, .bs-slats .bend-up {
  animation: bs-bend 2.45s .5s both, bs-lift .65s cubic-bezier(.6, 0, .3, 1) calc(3.8s + (15 - var(--i)) * 25ms) forwards;
}
/* A lâmina de cima levanta a aresta de baixo (um pouco menos), para a fresta abrir dos dois lados */
.bend-up i {
  clip-path: polygon(0 0, 100% 0, 100% 100%, calc(50% + var(--gw)) 100%,
    calc(50% + var(--gw) * .75) calc(100% - var(--d) * .27), calc(50% + var(--gw) * .45) calc(100% - var(--d) * .51),
    calc(50% + var(--gw) * .2) calc(100% - var(--d) * .59), 50% calc(100% - var(--d) * .6),
    calc(50% - var(--gw) * .2) calc(100% - var(--d) * .59), calc(50% - var(--gw) * .45) calc(100% - var(--d) * .51),
    calc(50% - var(--gw) * .75) calc(100% - var(--d) * .27), calc(50% - var(--gw)) 100%, 0 100%);
}
.bend i {
  clip-path: polygon(0 0, calc(50% - var(--gw)) 0,
    calc(50% - var(--gw) * .75) calc(var(--d) * .45), calc(50% - var(--gw) * .45) calc(var(--d) * .85),
    calc(50% - var(--gw) * .2) calc(var(--d) * .98), 50% var(--d),
    calc(50% + var(--gw) * .2) calc(var(--d) * .98), calc(50% + var(--gw) * .45) calc(var(--d) * .85),
    calc(50% + var(--gw) * .75) calc(var(--d) * .45), calc(50% + var(--gw)) 0, 100% 0, 100% 100%, 0 100%);
}
@keyframes bs-bend {
  0% { --d: 0%; }
  6% { --d: 0%; animation-timing-function: cubic-bezier(.3, 0, .2, 1); }
  24%, 78% { --d: 74%; animation-timing-function: cubic-bezier(.5, 0, .7, .4); }
  85% { --d: 0%; animation-timing-function: ease-out; }
  90% { --d: 16%; animation-timing-function: ease-in-out; }
  95% { --d: 0%; animation-timing-function: ease-in-out; }
  98% { --d: 5%; }
  100% { --d: 0%; }
}
/* Os dedos: aparecem na aresta, descem com ela e largam */
.bs-finger {
  position: absolute; top: var(--d); width: 30px; height: auto; translate: -50% -62%;
  fill: none; stroke: #173468; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  opacity: 0; animation: bs-fingers 2.1s ease-out .4s;
}
.bs-finger.l { left: calc(50% - var(--gw) * .55); }
.bs-finger.r { left: calc(50% + var(--gw) * .55); }
@media (min-width: 735px) { .bs-finger { width: 42px; } }
@keyframes bs-fingers { 0% { opacity: 0; translate: -50% -20%; } 8%, 90% { opacity: 1; translate: -50% -62%; } 100% { opacity: 0; translate: -50% -20%; } }
/* Cordões das lâminas e cabos-guia de lado; desaparecem quando as lâminas sobem */
.bs-cords {
  position: absolute; left: 0; right: 0; top: 2.4%; bottom: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(#26282b, #26282b) 22% 0 / 2px 100% no-repeat, linear-gradient(#26282b, #26282b) 78% 0 / 2px 100% no-repeat,
    linear-gradient(to right, #d5d8dc, #8b8f95) 2.5% 0 / 3px 100% no-repeat, linear-gradient(to right, #d5d8dc, #8b8f95) 97.5% 0 / 3px 100% no-repeat;
  animation: bs-fade .3s 3.8s forwards;
}
@keyframes bs-fade { to { opacity: 0; } }
/* O logótipo, atrás das lâminas, encostado à aresta da lâmina dobrada.
   --hy: escondido por baixo da fresta; --py: a espreitar (o topo do logótipo na fresta) */
.bs-man {
  --hy: 112px; --py: 38px;
  position: absolute; left: 50%; top: calc(2.4% + 97.6% * 8 / 16); z-index: 1;
  width: 200px; height: 200px; margin: -60px 0 0 -100px;
  transform-origin: 100px 60px; scale: 1.25;
  animation: bs-peek 1.95s cubic-bezier(.45, 0, .25, 1) .75s both, bs-end .75s cubic-bezier(.34, 1.56, .64, 1) 4.25s forwards;
}
@media (min-width: 735px) { .bs-man { scale: 1.8; --hy: 142px; --py: 56px; } }
.bs-man img { position: absolute; left: 45px; top: 15px; width: 110px; height: 110px; transform-origin: 50% 100%; animation: bs-squash .55s ease-in-out 2.05s; }
/* Meio palhaço: estica-se para cima, inclina a cabeça para um lado e para o outro, dá dois saltinhos e esconde-se */
@keyframes bs-peek {
  0% { translate: 0 var(--hy); rotate: 0deg; opacity: 1; }
  18% { translate: 0 calc(var(--py) - 14px); }
  26% { translate: 0 var(--py); rotate: 0deg; }
  36%, 50% { rotate: -13deg; }
  60%, 66% { rotate: 15deg; translate: 0 var(--py); }
  72% { rotate: 0deg; translate: 0 calc(var(--py) - 12px); }
  78% { translate: 0 var(--py); }
  83% { translate: 0 calc(var(--py) - 6px); }
  87% { translate: 0 var(--py); }
  97% { translate: 0 var(--hy); opacity: 1; }
  100% { translate: 0 var(--hy); opacity: 0; }
}
@keyframes bs-squash { 25% { scale: 1.07 .9; } 50% { scale: .94 1.07; } 75% { scale: 1.04 .95; } }
/* No fim aparece no tamanho normal, com um saltinho */
@keyframes bs-end { from { opacity: 0; translate: 0 36px; scale: .5; } to { opacity: 1; translate: 0 0; scale: 1; } }
/* O nome por baixo do logótipo */
.bs-name {
  position: absolute; left: 0; right: 0; top: calc(2.4% + 97.6% * 8 / 16 + 84px); z-index: 6; margin: 0;
  text-align: center; font-size: clamp(26px, 4vw, 40px); font-weight: 700; letter-spacing: -0.02em; color: var(--text);
  opacity: 0; animation: bs-name .7s var(--ease) 4.55s forwards;
}
@keyframes bs-name { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: none; } }
@keyframes splash-up { to { transform: translateY(-100%); } }
@keyframes splash-end { to { visibility: hidden; } }
/* As animações do topo da página só começam quando o brisa-solar já saiu */
.splash-on .wipe { animation-delay: 5.9s; }
@media (prefers-reduced-motion: reduce) { .splash-on .splash { display: none; } }

/* ---------- Liquid Glass (versão leve) na barra do topo e na barra dos produtos ----------
   Vidro mais transparente e "vivo": desfoque com mais saturação, brilho nas arestas e um reflexo suave.
   O fundo nunca baixa de ~55% de branco, para o texto continuar legível por cima de fotografias. */
.gnav::before, .lnav {
  background:
    radial-gradient(120% 160% at 12% -60%, rgba(255,255,255,.55), rgba(255,255,255,0) 55%),
    linear-gradient(to bottom, rgba(255,255,255,.70), rgba(250,250,252,.56));
  -webkit-backdrop-filter: blur(24px) saturate(190%) brightness(1.05);
  backdrop-filter: blur(24px) saturate(190%) brightness(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.85),
    inset 0 -1px 0 rgba(255,255,255,.40),
    0 1px 0 rgba(0,0,0,.06),
    0 10px 30px rgba(0,0,0,.06);
}
.gnav, .lnav { border-bottom: 0; }
.menu-open .gnav::before { background: rgba(250,250,252,.98); }
/* Sem desfoque disponível, ou se a pessoa pediu menos transparência: barra opaca */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .gnav::before, .lnav { background: rgba(250,250,252,.97); }
}
@media (prefers-reduced-transparency: reduce) {
  .gnav::before, .lnav { background: rgba(250,250,252,.97); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- Cores: estore e todas as cores à vista ao mesmo tempo ----------
   Computador: estore à esquerda (fica fixo ao rolar), cores à direita.
   Telemóvel: o estore fica fixo no topo enquanto se escolhem as cores por baixo. */
.colors { max-width: none; display: grid; gap: 28px 56px; }
.colors .seg { margin-bottom: 24px; }
.colors-pick .sw-name { margin-top: 0; }
.colors-pick .sw-groups { margin-top: 20px; }
@media (min-width: 900px) {
  .colors { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; }
  .colors-stage { position: sticky; top: 76px; }
  .colors-pick { text-align: left; padding-top: 60px; }
  .colors-pick .sw-groups { display: grid; gap: 22px; justify-content: stretch; text-align: left; }
  .colors-pick .sw-group ul { justify-content: flex-start; gap: 10px; }
  .colors-pick .sw-group h3 { margin-bottom: 10px; }
}
@media (max-width: 899px) {
  .colors[data-mode="estore"] .colors-stage {
    position: sticky; top: 52px; z-index: 5; background: var(--bg);
    margin: 0 -22px; padding: 10px 22px 12px; box-shadow: 0 10px 18px -14px rgba(0, 0, 0, .35);
  }
  .section.alt .colors[data-mode="estore"] .colors-stage { background: var(--bg-alt); }
  .colors .seg { margin-bottom: 10px; }
  .colors .est-walls { margin-top: 10px; }
  .colors .est-range { margin-top: 4px; }
  .colors .est-range input { height: 32px; }
  .colors-pick .sw-group ul { gap: 10px; }
}

/* ---------- Parede realista à volta do estore ----------
   Reboco com grão e manchas (multiplicado pela cor escolhida), luz do sol vinda de cima à esquerda,
   sombra na espessura da janela, peitoril e rodapé em pedra. */
.est::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(130% 110% at 18% -10%, rgba(255,255,255,0) 40%, rgba(0,0,0,.10) 100%),
    url(/imagens/estore/reboco.svg) 0 0 / 320px 320px;
  mix-blend-mode: multiply;
}
/* A caixa do estore é parte da parede: só a aresta de baixo se vê */
.est-box { background: transparent; box-shadow: inset 0 -2px 0 rgba(0,0,0,.12), 0 1px 0 rgba(255,255,255,.45); }
/* Espessura da parede no vão da janela: sombra em cima e do lado esquerdo, por cima da sala e do estore */
.est-win::after {
  background: linear-gradient(115deg, rgba(255,255,255,.16), rgba(255,255,255,0) 45%);
  box-shadow: inset 0 14px 16px -10px rgba(0,0,0,.45), inset 12px 0 14px -10px rgba(0,0,0,.28), inset -6px 0 10px -8px rgba(0,0,0,.18);
}
.est-sill {
  left: 14%; width: 72%; top: 85%; height: 3.2%;
  background: linear-gradient(to bottom, #f6f3ec, #d9d3c7 70%, #c4bdb0), url(/imagens/estore/reboco.svg) 0 0 / 160px 160px;
  background-blend-mode: multiply; border-radius: 2px;
  box-shadow: 0 6px 8px -2px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.8);
}
.est-plinth {
  left: 0; right: 0; bottom: 0; height: 7%;
  background: linear-gradient(to bottom, #cfc8bb, #bdb5a6), url(/imagens/estore/reboco.svg) 0 0 / 200px 200px;
  background-blend-mode: multiply;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.35), 0 -1px 0 rgba(0,0,0,.10);
}
