/* Homepage C — opt-in presentation. Shared renderers and other pages stay intact. */
body.design-c-home {
  --c-chalk: #F2F1ED;
  --c-graphite: #16191C;
  --c-petrol: #3F5B5A;
  --c-plate: #E4E4DE;
  --c-line: #D2D1CB;
  --c-muted: #626866;
  --color-primary: var(--c-graphite);
  --color-text: var(--c-graphite);
  --color-bg: var(--c-chalk);
  --color-surface: var(--c-chalk);
  --color-accent: var(--c-petrol);
  --color-muted: var(--c-muted);
  --color-border: var(--c-line);
  --bs-body-color: var(--c-graphite);
  --bs-secondary-color: var(--c-muted);
  margin: 0;
  color: var(--c-graphite);
  background: var(--c-chalk);
  font-family: Arial, Helvetica, sans-serif;
}
.design-c-home .container { width: min(1280px, calc(100% - 48px)); max-width: 1280px; padding-inline: 0; }
.design-c-home h1, .design-c-home main h2, .design-c-home .card-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  letter-spacing: -.035em;
  color: var(--c-graphite);
}
.design-c-home a:focus-visible, .design-c-home button:focus-visible {
  outline: 2px solid var(--c-petrol);
  outline-offset: 4px;
}
.design-c-home .topbar { background: var(--c-petrol); color: var(--c-chalk); border: 0; }
.design-c-home .topbar .container::before { content: 'JAIMOB · OFICINA E ARQUIVO'; font-size: 10px; letter-spacing: .1em; }
.design-c-home .topbar-text { display: none; }
.design-c-home .topbar-link { color: var(--c-chalk); font-size: 10px; }
.design-c-home .navbar { background: var(--c-chalk) !important; border-bottom: 1px solid var(--c-graphite) !important; padding-block: 20px; }
.design-c-home .navbar-brand { font: 800 35px/1.15 Arial, sans-serif; letter-spacing: .17em; text-transform: uppercase; color: var(--c-graphite); }
.design-c-home .navbar-brand::after { content: 'MOBILIÁRIO / LEIRIA'; display: block; font-size: 8px; font-weight: 400; letter-spacing: .16em; margin-top: 6px; color: var(--c-muted); }
.design-c-home .nav-link { font-size: 11px; letter-spacing: .07em; text-transform: uppercase; padding: 12px 16px !important; min-height: 44px; color: var(--c-graphite); }
.design-c-home .navbar-toggler { width: 44px; height: 44px; padding: 8px; border: 1px solid var(--c-line); border-radius: 2px; }
.design-c-home .nav-count { background: var(--c-petrol); }
.design-c-home .btn { min-height: 44px; border-radius: 2px; font-size: 12px; letter-spacing: .04em; padding: 12px 18px; }
.design-c-home .btn-dark { background: var(--c-graphite); border-color: var(--c-graphite); color: var(--c-chalk); }
.design-c-home .btn-dark:hover { background: var(--c-petrol); border-color: var(--c-petrol); }
.design-c-home .btn-outline-dark { color: var(--c-graphite); border-color: var(--c-line); }
.design-c-home .btn-outline-dark:hover { background: var(--c-graphite); color: var(--c-chalk); }
/* Full-bleed hero. The current closed desktop header occupies about 133px. */
.design-c-home .hero-showcase {
  width: 100%;
  margin: 0;
  height: calc(100vh - 133px);
  height: calc(100svh - 133px);
  min-height: 560px;
  display: block;
  overflow: hidden;
  isolation: isolate;
  background: var(--c-chalk);
}
/* Fade only the foreground floor into chalk; the sofa remains above this strip. */
.design-c-home .hero-showcase::after {
  content: ''; display: block; position: absolute; inset: auto 0 0;
  height: clamp(32px, 5svh, 56px); z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, rgba(242,241,237,0), rgba(242,241,237,.18) 45%, var(--c-chalk));
}
.design-c-home .hero-showcase-bg::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse at 0% 0%, rgba(22,25,28,.82) 0%, rgba(22,25,28,.56) 30%, rgba(22,25,28,.08) 60%, transparent 80%);
}
.design-c-home .hero-showcase-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.design-c-home .hero-showcase-bg img {
  display: block; width: 100%; height: 100%; max-height: none;
  object-fit: cover; object-position: center 85%; filter: none;
}
.design-c-home .hero-showcase .hero-showcase-content {
  position: absolute;
  left: max(24px, calc((100% - 1280px) / 2));
  top: clamp(28px, 4svh, 48px);
  width: min(620px, calc(100% - 48px));
  max-width: none;
  margin: 0;
  padding: 0;
  z-index: 2;
  color: #fff;
  background: transparent;
}
.design-c-home .hero-showcase .hero-kicker { color: #D5DFDC; font-size: 10px; letter-spacing: .12em; margin-bottom: 12px; }
.design-c-home .hero-showcase .hero-title { font-size: clamp(36px, 3.2vw, 56px); line-height: 1.07; color: #fff; max-width: none; margin: 0 0 22px; }
.design-c-home .hero-actions { margin: 0; gap: 0; }
.design-c-home .hero-actions .btn { background: var(--c-chalk); color: var(--c-graphite); border-color: var(--c-chalk); font-size: 11px; letter-spacing: .065em; text-transform: uppercase; }
.design-c-home .hero-actions .btn:hover { background: var(--c-plate); border-color: var(--c-plate); }
.design-c-home .hero-actions .btn:focus-visible { outline-color: var(--c-chalk); }
.design-c-home .home-intro { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 20px; border-bottom: 1px solid var(--c-line); }
.design-c-home .home-intro p { margin: 0; font: 16px/1.4 Georgia, serif; }
.design-c-home .home-intro span { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--c-muted); }
.design-c-home .section-pad, .design-c-home .home-featured-section { padding-block: 40px; }
.design-c-home .hero-showcase + .home-intro { padding-top: 20px; }
.design-c-home .section-heading { flex-direction: row; align-items: end; gap: 24px; margin-bottom: 24px; }
.design-c-home .section-heading h2 { font-size: 38px; line-height: 1.12; }
.design-c-home .section-heading p { font-size: 13px; margin-top: 10px; }
.design-c-home .home-section-label { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-petrol); margin: 0 0 12px; }
.design-c-home .section-heading > .btn { width: auto; flex-shrink: 0; padding: 8px 0; border: 0; border-bottom: 1px solid var(--c-line); font-size: 12px; color: var(--c-petrol); background: transparent; white-space: nowrap; }
.design-c-home #grid-destaques { --bs-gutter-x: 28px; --bs-gutter-y: 28px; }
.design-c-home #grid-destaques .product-card { background: transparent; border: 0; border-radius: 2px; box-shadow: none !important; transform: none; }
.design-c-home #grid-destaques .product-card:hover { transform: none; }
.design-c-home #grid-destaques .product-card-image { aspect-ratio: 3 / 2; background: var(--c-plate); border-radius: 2px; overflow: hidden; }
.design-c-home #grid-destaques .card-img-top { width: 100%; height: 100%; object-fit: contain; border-radius: 2px; background: var(--c-plate); }
.design-c-home #grid-destaques .card-body { padding: 16px 0 0; min-height: 0; }
.design-c-home #grid-destaques .card-body small { font-size: 9px; letter-spacing: .09em; }
.design-c-home #grid-destaques .badge { display: none; }
.design-c-home #grid-destaques .card-title { font-size: 24px; line-height: 1.15; }
.design-c-home #grid-destaques .card-title a { color: var(--c-graphite) !important; }
.design-c-home #grid-destaques .card-text { font-size: 13px; line-height: 1.5; min-height: 0; margin-bottom: 16px !important; }
.design-c-home #grid-destaques .card-body > .d-grid { display: flex !important; gap: 12px !important; margin-top: auto !important; border-top: 1px solid var(--c-line); padding-top: 4px; }
.design-c-home #grid-destaques .card-body > .d-grid .btn { flex: 1; padding-inline: 0; border: 0; min-height: 44px; font-size: 12px; letter-spacing: 0; }
.design-c-home #grid-destaques .card-body > .d-grid a { font-weight: 600; color: var(--c-graphite); text-align: left; background: transparent; }
.design-c-home #grid-destaques [data-ref-toggle] { background: transparent; color: var(--c-petrol); text-align: right; }
.design-c-home #grid-destaques [data-ref-toggle].is-saved { background: var(--c-petrol); color: var(--c-chalk); padding-inline: 10px; }
.design-c-home .home-division-section { border-top: 1px solid var(--c-line); }
.design-c-home .home-division-section .quick-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.design-c-home .home-division-section .quick-link { display: block; padding: 0 0 14px; background: transparent; border: 0; border-bottom: 1px solid var(--c-line); border-radius: 0; box-shadow: none; font-weight: 600; }
.design-c-home .home-division-section .quick-link img { display: block; width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: contain; background: var(--c-plate); margin-bottom: 16px; }
.design-c-home .home-division-section .quick-link span { display: block; font-size: 21px; }
.design-c-home .home-division-section .quick-link:hover { border-color: var(--c-petrol); box-shadow: none; }
.design-c-home .home-measure-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; margin-top: 12px; color: var(--c-petrol); text-underline-offset: 4px; }
.design-c-home .home-project { border-top: 1px solid var(--c-line); display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 48px; }
.design-c-home .home-project h2 { font-size: 38px; line-height: 1.15; }
.design-c-home .home-project p { color: var(--c-muted); font-size: 15px; max-width: 48ch; }
/* The offset keeps the light ring adjacent to the graphite footer, including light buttons. */
.design-c-home .site-footer a:focus-visible,
.design-c-home .site-footer button:focus-visible {
  outline: 2px solid var(--c-chalk);
  outline-offset: 4px;
}
.design-c-home .site-footer { margin-top: 0 !important; background: var(--c-graphite); border-top: 0; }
.design-c-home .footer-brand { font: 800 40px/1.15 Arial, sans-serif; text-transform: uppercase; letter-spacing: .1em; color: var(--c-chalk); }
.design-c-home .footer-text, .design-c-home .footer-links, .design-c-home .site-footer .text-secondary { color: #C8CDCB !important; }
.design-c-home .footer-links a, .design-c-home .footer-note { color: #C8CDCB; }
.design-c-home .footer-title, .design-c-home .footer-links a:hover { color: var(--c-chalk); }
.design-c-home .footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.design-c-home .site-footer .btn-dark { background: var(--c-chalk); color: var(--c-graphite); border-color: var(--c-chalk); }
.design-c-home .site-footer .btn-outline-dark { color: var(--c-chalk); border-color: #626866; }
.design-c-home .footer-note, .design-c-home .footer-bottom { border-color: #424B4A; }
/* A static featured fallback remains visible with scripts unavailable. */
.design-c-home .reveal { opacity: 1; transform: none; }
@media (max-width: 1000px) {
  /* A wide frame on narrow screens preserves both arms instead of a tall desktop crop. */
  .design-c-home .hero-showcase { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .design-c-home .hero-showcase .hero-showcase-content { left: 24px; top: 32px; width: min(420px, calc(100% - 48px)); }
  .design-c-home .hero-showcase-bg img { object-position: center; }
  .design-c-home .hero-showcase .hero-title { font-size: 33px; }
}
@media (max-width: 600px) {
  .design-c-home .container { width: calc(100% - 40px); padding-inline: 0; }
  .design-c-home .navbar { padding-block: 14px; }
  .design-c-home .navbar-brand { font-size: 27px; letter-spacing: .13em; }
  .design-c-home .navbar-brand::after { font-size: 6px; }
  .design-c-home .topbar .container::before, .design-c-home .topbar-link { font-size: 8px; }
  .design-c-home .hero-showcase .hero-showcase-content { left: 20px; right: 20px; top: 20px; width: auto; }
  .design-c-home .hero-showcase::after { height: 24px; }
  .design-c-home .hero-showcase-bg::after { background: linear-gradient(180deg, rgba(22,25,28,.82) 0%, rgba(22,25,28,.55) 28%, rgba(22,25,28,.06) 54%, transparent 70%); }
  .design-c-home .hero-showcase .hero-title { font-size: 24px; line-height: 1.08; margin-bottom: 10px; }
  .design-c-home .hero-showcase .hero-kicker { display: none; }
  .design-c-home .hero-actions { display: block; }
  .design-c-home .hero-actions .btn { width: auto; font-size: 10px; }
  .design-c-home .home-intro { padding-block: 16px; }
  .design-c-home .home-intro p { font-size: 15px; }
  .design-c-home .home-intro span { display: none; }
  .design-c-home .section-pad, .design-c-home .home-featured-section { padding-block: 30px; }
  .design-c-home .section-heading { flex-direction: row; align-items: end; gap: 18px; }
  .design-c-home .section-heading h2 { font-size: 29px; }
  .design-c-home .section-heading > .btn { width: auto; font-size: 10px; }
  .design-c-home #grid-destaques > div { width: 100%; }
  .design-c-home #grid-destaques .card-title { font-size: 23px; }
  .design-c-home .home-division-section .quick-links { grid-template-columns: 1fr; gap: 14px; }
  .design-c-home .home-division-section .quick-link { display: grid; grid-template-columns: 120px minmax(0, 1fr); align-items: center; gap: 16px; }
  .design-c-home .home-division-section .quick-link img { margin-bottom: 0; }
  .design-c-home .home-division-section .quick-link span { font-size: 19px; line-height: 1.2; }
  .design-c-home .home-project { grid-template-columns: 1fr; gap: 18px; }
  .design-c-home .home-project h2 { font-size: 32px; }
  .design-c-home .footer-brand { font-size: 35px; }
}
@media (prefers-reduced-motion: reduce) {
  .design-c-home *, .design-c-home *::before, .design-c-home *::after { transition: none !important; animation: none !important; }
}
