body.catalog-page { background: #0b0b0b; color: #f7f2ea; }
.catalog-page .site-header { z-index: 100; }
.catalog-page .hero { min-height: 0; padding: 0; }
.catalog-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, 47%); align-items: stretch; min-height: min(760px, 88vh); padding-top: 0; overflow: hidden; background: #11100e; }
.catalog-hero-photo { position: absolute; z-index: 0; inset: 0; overflow: hidden; }
.catalog-slide { position: absolute; inset: 0; opacity: 0; overflow: hidden; transition: opacity 2400ms cubic-bezier(.4,0,.2,1); }
.catalog-slide.is-active { opacity: 1; z-index: 2; }
.catalog-slide.is-leaving { opacity: 1; z-index: 1; }
.catalog-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1); }
.catalog-slide.is-active img, .catalog-slide.is-leaving img { animation: catalogHeroDrift 9s linear both; }
@keyframes catalogHeroDrift { from { transform: scale(1); } to { transform: scale(1.06); } }
.catalog-hero-photo::after { content: ''; position: absolute; z-index: 3; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.79), rgba(0,0,0,.45) 42%, rgba(0,0,0,.05) 77%), linear-gradient(0deg, rgba(0,0,0,.38), transparent 32%); }
.catalog-hero-content { grid-column: 1; position: relative; z-index: 2; align-self: center; max-width: 670px; padding: 120px 24px 100px max(5vw, 28px); }
.catalog-hero-content h1 { max-width: 620px; margin-bottom: 18px; font-size: 4rem; line-height: 1.05; text-wrap: balance; overflow-wrap: break-word; text-shadow: 0 3px 20px rgba(0,0,0,.55); }
.catalog-hero-subtitle { margin: 0 0 22px; font-size: 1.2rem; font-weight: 500; color: #fff; }
.catalog-offers { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.catalog-offers a { position: relative; display: inline-block; overflow: hidden; isolation: isolate; border: 1px solid rgba(255,255,255,.45); border-radius: 3px; padding: 8px 11px; background: rgba(0,0,0,.72); color: #fff; font-size: .84rem; font-weight: 700; text-decoration: none; }
.catalog-offers a::before { content: ''; position: absolute; z-index: 0; top: -20%; bottom: -20%; left: 0; width: 29%; transform: translate3d(-150%,0,0) skewX(-22deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.28) 30%, rgba(255,255,255,.9) 50%, rgba(255,255,255,.28) 70%, transparent); opacity: .8; pointer-events: none; animation: catalog-offer-shimmer 3.6s ease-in-out infinite; }
.catalog-offers a:nth-child(2)::before { animation-delay: -1.8s; }
.catalog-offers a > span { position: relative; z-index: 1; }
.catalog-offers a:hover::before { opacity: 1; animation-duration: .95s; }
.catalog-offers a:focus-visible { outline: 2px solid #f3cf63; outline-offset: 4px; }
@keyframes catalog-offer-shimmer { from { transform: translate3d(-150%,0,0) skewX(-22deg); } to { transform: translate3d(450%,0,0) skewX(-22deg); } }
.catalog-page .commercial-conditions { scroll-margin-top: 100px; }
.catalog-hero-content .button { width: auto; min-width: 238px; }
.catalog-arrow { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(0,0,0,.55); color: white; font-size: 1.5rem; cursor: pointer; }
.catalog-arrow:hover { background: #d4af37; color: #0b0b0b; }
.catalog-details, .catalog-featured { padding: 78px max(5vw, 22px) 88px; scroll-margin-top: 72px; }
.catalog-details { background: #0d0d0d; }
.catalog-featured { background: #161512; }
.catalog-section-heading { max-width: 780px; margin: 0 auto 42px; text-align: center; }
.catalog-section-heading h2 { margin-bottom: 13px; }
.catalog-section-heading > p:not(.eyebrow) { color: #c9c5bf; }
.catalog-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; max-width: 1500px; margin: 0 auto; }
.catalog-detail-card { min-width: 0; overflow: hidden; border: 1px solid rgba(212,175,55,.22); border-radius: 6px; background: #191816; }
.catalog-detail-photo { aspect-ratio: var(--detail-photo-ratio, 16 / 9); overflow: hidden; background: #25221e; }
.catalog-detail-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.catalog-page[data-page-slug="cozinhas-moduladas"] { --detail-photo-ratio: 32 / 15; }
.catalog-page[data-page-slug="quartos-modulados"] { --detail-photo-ratio: 3 / 2; }
.catalog-page[data-page-slug="sofas"] { --detail-photo-ratio: 3 / 2; }
.catalog-page[data-page-slug="racks-e-paineis"] { --detail-photo-ratio: 1 / 1; }
.catalog-page[data-page-slug="guarda-roupas"] { --detail-photo-ratio: 5 / 4; }
.catalog-page[data-page-slug="camas-e-colchoes"] { --detail-photo-ratio: 2 / 1; }
.catalog-page[data-page-slug="armarios-de-cozinha"] { --detail-photo-ratio: 3 / 2; }
.catalog-detail-body { padding: 20px 22px 24px; }
.catalog-detail-card h3 { margin: 0 0 9px; color: #fff; font-family: 'Playfair Display', Georgia, serif; font-size: 1.5rem; line-height: 1.2; letter-spacing: 0; text-transform: none; }
.catalog-detail-card p { margin: 0; color: #d5d1cc; font-size: .92rem; line-height: 1.55; }
.catalog-card { min-width: 0; border: 1px solid rgba(255,255,255,.13); border-radius: 6px; overflow: hidden; background: #191816; transition: border-color .2s ease, transform .2s ease; }
.catalog-card:hover, .catalog-card:focus-within { border-color: rgba(212,175,55,.78); transform: translateY(-3px); }
.catalog-card-link { display: flex; flex-direction: column; height: 100%; }
.catalog-card-photo { aspect-ratio: 4 / 3; overflow: hidden; background: #25221e; }
.catalog-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.catalog-card-body { display: flex; flex: 1; flex-direction: column; padding: 20px 20px 18px; }
.catalog-card-kicker { margin-bottom: 8px; color: #d4af37; font-size: .67rem; font-weight: 800; text-transform: uppercase; }
.catalog-card h3 { margin: 0 0 11px; color: #fff; font-family: 'Playfair Display', Georgia, serif; font-size: 1.3rem; font-weight: 600; line-height: 1.2; letter-spacing: 0; text-transform: none; overflow-wrap: anywhere; }
.catalog-description { color: #d5d1cc; font-size: .83rem; line-height: 1.55; }
.catalog-spec { margin: 0 0 7px; color: #c9c5bf; font-size: .78rem; line-height: 1.5; overflow-wrap: anywhere; }
.catalog-spec strong { color: #fff; }
.catalog-card-cta { align-self: flex-start; display: inline-flex; gap: 10px; align-items: center; margin-top: auto; padding-top: 20px; color: #65e196; font-size: .78rem; font-weight: 800; }
.catalog-card-cta span { font-size: 1.1rem; }
.catalog-carousel { display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; justify-content: center; align-items: center; gap: clamp(10px,2vw,26px); max-width: 1240px; margin: auto; }
.catalog-carousel-viewport { min-width: 0; overflow-x: auto; overflow-y: hidden; padding: 34px 0 28px; scroll-snap-type: x mandatory; scrollbar-width: none; touch-action: pan-y; cursor: grab; }
.catalog-carousel-viewport:active { cursor: grabbing; }
.catalog-carousel-viewport::-webkit-scrollbar { display: none; }
.catalog-carousel-track { display: flex; gap: 18px; }
.catalog-carousel .catalog-card { flex: 0 0 calc((100% - 36px) / 3); min-height: 375px; border-color: rgba(212,175,55,.24); border-radius: 8px; background: #11110f; scroll-snap-align: start; transition: border-color .28s ease, box-shadow .36s ease, transform .42s cubic-bezier(.22,1,.36,1); }
.catalog-carousel .catalog-card.is-featured { border-color: rgba(243,207,99,.72); box-shadow: 0 20px 46px rgba(0,0,0,.52), 0 0 32px rgba(212,175,55,.1); transform: translateY(-24px); }
.catalog-carousel .catalog-card:hover, .catalog-carousel .catalog-card:focus-within { border-color: rgba(243,207,99,.82); box-shadow: 0 18px 38px rgba(0,0,0,.48), 0 0 28px rgba(212,175,55,.14); transform: translateY(-8px); }
.catalog-carousel .catalog-card.is-featured:hover, .catalog-carousel .catalog-card.is-featured:focus-within { transform: translateY(-28px); }
.catalog-carousel .catalog-card-photo { height: 295px; aspect-ratio: auto; }
.catalog-carousel .catalog-card-photo img { height: 100%; }
.catalog-carousel .catalog-card-body { gap: 8px; padding: 14px; }
.catalog-carousel .catalog-card h3 { margin: 0; font-size: 1.17rem; font-weight: 700; line-height: 1.12; }
.catalog-carousel .catalog-description { margin: 0; color: rgba(247,242,234,.7); font-size: .84rem; line-height: 1.42; }
.catalog-carousel .catalog-card-cta { align-self: stretch; justify-content: center; min-height: 40px; margin-top: auto; padding: 8px 12px; border-radius: 999px; background: #25d366; color: #06120a; font-size: .7rem; font-weight: 800; text-align: center; text-transform: uppercase; }
.catalog-carousel .catalog-card:hover .catalog-card-cta, .catalog-carousel .catalog-card:focus-within .catalog-card-cta { background: #5ae58b; }
.catalog-carousel-dots { grid-column: 1 / -1; display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 12px; }
.catalog-carousel-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: #5b5b5b; cursor: pointer; }
.catalog-carousel-dot.is-active { width: 34px; border-radius: 999px; background: #25d366; }
.catalog-visit { display: grid; grid-template-columns: 1fr 1fr; min-height: 490px; align-items: stretch; background: #0c0c0c; }
.catalog-visit > div { align-self: center; padding: 70px max(5vw, 24px); }
.catalog-visit h2 { max-width: 600px; }
.catalog-visit p:not(.eyebrow) { max-width: 550px; color: #d0cbc5; }
.catalog-visit img { width: 100%; height: 100%; max-height: 580px; object-fit: cover; }
.catalog-visit-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 26px; }
.catalog-map-link { border-bottom: 1px solid #d4af37; padding-bottom: 4px; font-size: .8rem; font-weight: 700; }
.catalog-page .floating-whatsapp.is-hidden-while-hero { opacity: 0; pointer-events: none; transform: translateY(12px); }
@media (max-width: 960px) {
  .catalog-hero { display: block; min-height: 0; }
  .catalog-hero-photo { position: relative; aspect-ratio: 16 / 10; }
  .catalog-hero-photo::after { background: linear-gradient(0deg, rgba(0,0,0,.28), transparent 32%); }
  .catalog-hero-content { padding: 32px 5vw 42px; max-width: 100%; }
  .catalog-hero-content h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
  .catalog-carousel .catalog-card { flex-basis: calc((100% - 18px) / 2); }
}
@media (max-width: 700px) {
  .catalog-detail-grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 600px) {
  .catalog-hero-photo { margin-top: 72px; aspect-ratio: 4 / 3; }
  .catalog-page[data-page-slug="cozinhas-moduladas"] .catalog-hero-photo { aspect-ratio: 32 / 15; }
  .catalog-page[data-page-slug="quartos-modulados"] .catalog-hero-photo { aspect-ratio: 1832 / 859; }
  .catalog-page[data-page-slug="guarda-roupas"] .catalog-hero-photo { aspect-ratio: 1832 / 859; }
  .catalog-page[data-page-slug="mesas-de-jantar"] .catalog-hero-photo { aspect-ratio: 1832 / 859; }
  .catalog-page[data-page-slug="camas-e-colchoes"] .catalog-hero-photo { aspect-ratio: 1832 / 859; }
  .catalog-page[data-page-slug="sofas"] .catalog-hero-photo { aspect-ratio: 32 / 15; }
  .catalog-page[data-page-slug="racks-e-paineis"] .catalog-hero-photo { aspect-ratio: 1832 / 859; }
  .catalog-page[data-page-slug="armarios-de-cozinha"] .catalog-hero-photo { aspect-ratio: 1832 / 859; }
  .catalog-slide img { object-position: center top; }
  .catalog-hero-content { padding: 24px 20px 32px; }
  .catalog-hero-content h1 { font-size: clamp(2rem, 9vw, 2.75rem); }
  .catalog-hero-subtitle { font-size: 1rem; }
  .catalog-offers a { font-size: .7rem; }
  .catalog-hero-content .button { width: 100%; min-width: 0; }
  .catalog-details, .catalog-featured { padding: 56px 16px 64px; }
  .catalog-section-heading { margin-bottom: 30px; }
  .catalog-detail-body { padding: 17px 18px 20px; }
  .catalog-card-photo { aspect-ratio: 4 / 3; }
  .catalog-carousel { grid-template-columns: 32px minmax(0,1fr) 32px; gap: 5px; }
  .catalog-carousel-viewport { padding-top: 18px; padding-bottom: 20px; }
  .catalog-arrow { width: 32px; height: 32px; font-size: 1.2rem; }
  .catalog-carousel .catalog-card { flex-basis: 100%; }
  .catalog-carousel .catalog-card.is-featured, .catalog-carousel .catalog-card.is-featured:hover, .catalog-carousel .catalog-card.is-featured:focus-within { transform: translateY(-10px); }
  .catalog-carousel .catalog-card-body { padding: 15px; }
  .catalog-carousel .catalog-card h3 { font-size: 1.1rem; }
  .catalog-visit { grid-template-columns: 1fr; }
  .catalog-visit > div { padding: 56px 20px; }
  .catalog-visit img { height: 260px; }
  .catalog-page .floating-whatsapp { bottom: 18px; right: 18px; }
}
@media (prefers-reduced-motion: reduce) { .catalog-card, .catalog-carousel-viewport { scroll-behavior: auto !important; transition: none; } .catalog-slide { transition-duration: 900ms; } .catalog-slide.is-active img, .catalog-slide.is-leaving img { animation: none; } .catalog-offers a::before { display: none; animation: none; } }

/* Carrossel no celular: cards de detalhe, sem repetir, começando no primeiro card */
@media (max-width: 700px) {
  .catalog-detail-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .catalog-detail-grid::-webkit-scrollbar { display: none; }
  .catalog-detail-grid > .catalog-detail-card {
    flex: 0 0 84%;
    min-width: 0;
    scroll-snap-align: start;
  }
}
