/* Maison Revestimentos — landing standalone */

.rev-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.rev-header.scrolled {
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.rev-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.rev-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-accent);
}

.rev-brand-main {
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 0.2em;
}

.rev-brand-divider {
    width: 1px;
    height: 20px;
    background: rgba(201, 169, 110, 0.5);
}

.rev-brand-tag {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0.85;
}

.rev-nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.rev-nav-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.rev-nav-links a:hover,
.rev-nav-links a.active {
    color: var(--color-accent);
}

.rev-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rev-experience-return {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-accent);
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: opacity 0.2s;
}

.rev-experience-return:hover {
    opacity: 0.85;
}

.rev-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.rev-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-accent);
}

.rev-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: linear-gradient(135deg, #0a0a14 0%, #1a1a2e 50%, #16213e 100%);
    color: #fff;
}

.rev-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(201, 169, 110, 0.08) 0%, transparent 60%);
}

.rev-hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.rev-hero-badge {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid rgba(201, 169, 110, 0.4);
    border-radius: 4px;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 24px;
}

.rev-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 20px;
}

.rev-hero-title .accent {
    color: var(--color-accent);
    display: block;
}

.rev-hero-sub {
    font-size: 1.05rem;
    opacity: 0.8;
    margin-bottom: 32px;
    line-height: 1.7;
}

.rev-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.rev-hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.rev-hero-stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-accent);
}

.rev-hero-stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.65;
}

.rev-footer {
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.6);
    padding: 48px 0 32px;
    text-align: center;
    font-size: 0.85rem;
    line-height: 1.7;
}

.rev-footer-copy {
    margin-top: 16px;
    font-size: 0.75rem;
}

body.revestimentos-page {
    background: var(--color-off-white);
    color: var(--color-text);
}

/* ---- Light mode: header scrolled ---- */
[data-theme="light"] .rev-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(201, 169, 110, 0.15);
    box-shadow: var(--shadow-soft);
}

[data-theme="light"] .rev-header.scrolled .rev-nav-links a {
    color: var(--color-text-light);
}

[data-theme="light"] .rev-header.scrolled .rev-nav-links a:hover,
[data-theme="light"] .rev-header.scrolled .rev-nav-links a.active {
    color: var(--color-accent);
}

/* ---- Dark mode: page-specific ---- */
[data-theme="dark"] .rev-header.scrolled {
    background: rgba(14, 14, 26, 0.97);
    border-bottom: 1px solid rgba(201, 169, 110, 0.1);
}

[data-theme="dark"] body.revestimentos-page {
    background: var(--color-off-white);
}

[data-theme="dark"] .rev-hero-overlay {
    background: radial-gradient(ellipse at 30% 50%, rgba(201, 169, 110, 0.12) 0%, transparent 55%);
}

[data-theme="dark"] .rev-footer {
    background: #0a0a14;
    border-top: 1px solid rgba(201, 169, 110, 0.12);
}

/* Market section (revestimentos only) */
body.revestimentos-page .market-card h3 {
    color: var(--color-heading);
}

body.revestimentos-page .market-card p {
    color: var(--color-text-light);
}

body.revestimentos-page .market-compare-col span {
    color: var(--color-text-muted);
    display: block;
    margin-top: 4px;
}

[data-theme="dark"] body.revestimentos-page .market-compare-col {
    background: var(--color-light);
}

[data-theme="dark"] body.revestimentos-page .market-compare-col strong {
    color: var(--color-text);
}

[data-theme="dark"] body.revestimentos-page .market-link {
    color: var(--color-accent);
}

[data-theme="dark"] body.revestimentos-page .contact-detail h4 {
    color: var(--color-text);
}

[data-theme="dark"] body.revestimentos-page .contact-detail p {
    color: var(--color-text-light);
}

/* ---- New content sections ---- */

.rev-lines { background: var(--color-off-white); }

.rev-lines-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.rev-line-card {
    background: var(--color-white);
    border: 1px solid rgba(201, 169, 110, 0.15);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.rev-line-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.rev-line-card--featured {
    border-color: rgba(201, 169, 110, 0.35);
    background: linear-gradient(160deg, var(--color-white) 0%, rgba(201, 169, 110, 0.06) 100%);
}

.rev-line-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.rev-line-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--color-heading);
}

.rev-line-card p {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--color-text-light);
    margin-bottom: 16px;
}

.rev-line-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

.rev-line-list li {
    padding: 4px 0 4px 16px;
    position: relative;
}

.rev-line-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
}

.rev-line-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-accent);
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}

.rev-values {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.rev-value {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(201, 169, 110, 0.1);
    border: 1px solid rgba(201, 169, 110, 0.2);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-light);
}

.rev-value i { color: var(--color-accent); }

.rev-benefits { background: var(--color-cream); }

.rev-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.rev-benefit-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(201, 169, 110, 0.1);
}

.rev-benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.rev-benefit-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--color-heading);
}

.rev-benefit-card p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--color-text-light);
    margin: 0;
}

.rev-applications { background: var(--color-off-white); }

.rev-app-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.rev-app-tags span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: var(--color-white);
    border: 1px solid rgba(201, 169, 110, 0.15);
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    color: var(--color-text-light);
    box-shadow: var(--shadow-soft);
}

.rev-app-tags i { color: var(--color-accent); }

.rev-wpc-edu { background: var(--color-off-white); }

.rev-wpc-box {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 48px;
    border: 1px solid rgba(201, 169, 110, 0.15);
    box-shadow: var(--shadow-soft);
}

.rev-wpc-text p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--color-text-light);
    margin-bottom: 16px;
}

.rev-wpc-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 28px;
}

.rev-wpc-col {
    padding: 24px;
    border-radius: var(--radius-md);
    background: var(--color-cream);
}

.rev-wpc-col--win {
    background: rgba(201, 169, 110, 0.12);
    border: 1px solid rgba(201, 169, 110, 0.25);
}

.rev-wpc-col h4 {
    font-family: var(--font-display);
    margin-bottom: 14px;
    color: var(--color-heading);
}

.rev-wpc-col ul {
    margin: 0;
    padding-left: 18px;
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--color-text-light);
}

.rev-wpc-note {
    margin-top: 16px;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-style: italic;
}

.rev-categories { background: var(--color-cream); }

.rev-cat-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 80px;
}

.rev-cat-block:last-child { margin-bottom: 0; }

.rev-cat-block--reverse .rev-cat-content { order: 2; }
.rev-cat-block--reverse .rev-cat-visual { order: 1; }

.rev-cat-content p {
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--color-text-light);
    margin-bottom: 14px;
}

.rev-cat-highlights {
    list-style: none;
    padding: 0;
    margin: 20px 0 28px;
}

.rev-cat-highlights li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--color-text-light);
}

.rev-cat-highlights i { color: var(--color-accent); }

.rev-cat-content .btn { margin-right: 12px; margin-top: 8px; }

.rev-cat-visual img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
}

.rev-compare-table-wrap {
    overflow-x: auto;
    margin-top: 32px;
}

.rev-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.rev-compare-table th,
.rev-compare-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(201, 169, 110, 0.12);
}

.rev-compare-table th {
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.rev-compare-table td { color: var(--color-text-light); }

.rev-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.rev-testimonials-grid .testimonial-card {
    height: 100%;
}

.rev-faq { background: var(--color-off-white); }

.rev-faq-list { max-width: 820px; margin: 0 auto; }

.rev-faq-item {
    border-bottom: 1px solid rgba(201, 169, 110, 0.15);
}

.rev-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--color-heading);
    transition: color 0.2s;
}

.rev-faq-q::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--color-accent);
    flex-shrink: 0;
    transition: transform 0.3s;
}

.rev-faq-item.open .rev-faq-q::after { content: '−'; }

.rev-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.rev-faq-item.open .rev-faq-a { max-height: 400px; }

.rev-faq-a p {
    padding: 0 0 20px;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--color-text-light);
}

.rev-cta-band {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: rgba(255, 255, 255, 0.9);
    padding: 64px 0;
}

.rev-cta-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.rev-cta-band h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 12px;
    color: #fff;
}

.rev-cta-band p {
    max-width: 520px;
    opacity: 0.85;
    line-height: 1.7;
    margin: 0;
}

.rev-cta-band-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.rev-contact-lead {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 24px;
    max-width: 420px;
}

.rev-wa-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 890;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.rev-wa-float:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
    color: #fff;
}

/* WhatsApp + voltar ao topo — empilhados no canto inferior direito */
.revestimentos-page .rev-wa-float {
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    right: calc(24px + env(safe-area-inset-right, 0px));
    z-index: 890;
}

.revestimentos-page .back-to-top {
    bottom: calc(92px + env(safe-area-inset-bottom, 0px));
    right: calc(28px + env(safe-area-inset-right, 0px));
    z-index: 895;
}

[data-theme="dark"] .rev-line-card,
[data-theme="dark"] .rev-benefit-card,
[data-theme="dark"] .rev-wpc-box,
[data-theme="dark"] .rev-compare-table {
    background: var(--color-white);
    border-color: rgba(201, 169, 110, 0.12);
}

[data-theme="dark"] .rev-app-tags span {
    background: var(--color-white);
}

[data-theme="dark"] .rev-compare-table td {
    color: var(--color-text-light);
}

@media (max-width: 1024px) {
    .rev-lines-grid,
    .rev-benefits-grid,
    .rev-testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }
    .rev-cat-block,
    .rev-cat-block--reverse {
        grid-template-columns: 1fr;
    }
    .rev-cat-block--reverse .rev-cat-content,
    .rev-cat-block--reverse .rev-cat-visual { order: unset; }
}

@media (max-width: 640px) {
    .rev-lines-grid,
    .rev-benefits-grid,
    .rev-testimonials-grid,
    .rev-wpc-compare {
        grid-template-columns: 1fr;
    }
    .rev-wpc-box { padding: 28px 20px; }
    .rev-cta-band-inner { flex-direction: column; text-align: center; }
    .rev-cta-band-actions { justify-content: center; }
    .revestimentos-page .rev-wa-float {
        bottom: calc(20px + env(safe-area-inset-bottom, 0px));
        right: calc(20px + env(safe-area-inset-right, 0px));
    }
    .revestimentos-page .back-to-top {
        bottom: calc(88px + env(safe-area-inset-bottom, 0px));
        right: calc(24px + env(safe-area-inset-right, 0px));
    }
}

/* Theme transition */
body.revestimentos-page.theme-transitioning,
body.revestimentos-page.theme-transitioning .rev-header,
body.revestimentos-page.theme-transitioning .rev-footer,
body.revestimentos-page.theme-transitioning .market-card,
body.revestimentos-page.theme-transitioning .section {
    transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

@media (max-width: 900px) {
    .rev-nav { display: none; }
    .rev-nav.mobile-open {
        display: block;
        position: fixed;
        inset: 70px 0 0;
        background: rgba(10, 10, 20, 0.98);
        padding: 24px;
    }
    .rev-nav.mobile-open .rev-nav-links {
        flex-direction: column;
        gap: 20px;
    }
    .rev-menu-toggle { display: flex; }

    [data-theme="light"] .rev-nav.mobile-open {
        background: rgba(255, 255, 255, 0.98);
    }

    [data-theme="light"] .rev-nav.mobile-open .rev-nav-links a {
        color: var(--color-text);
    }

    [data-theme="dark"] .rev-nav.mobile-open {
        background: rgba(14, 14, 26, 0.98);
    }
}

/* ---- Ripados: páginas inteiras do catálogo (proporção original) ---- */
.revestimentos-page .property-card[data-category="ripados-wpc"] .property-media {
    aspect-ratio: 496 / 701;
    background: #f4f2ef;
}

[data-theme="dark"] .revestimentos-page .property-card[data-category="ripados-wpc"] .property-media {
    background: #1a1a24;
}

.revestimentos-page .property-card[data-category="ripados-wpc"] .property-img {
    object-fit: contain;
    object-position: center top;
}

.revestimentos-page .property-card[data-category="ripados-wpc"]:hover .property-img {
    transform: none;
}

.revestimentos-page .modal-gallery-main {
    aspect-ratio: auto;
    max-height: min(88vh, 920px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a14;
}

.revestimentos-page .modal-gallery-main img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: min(88vh, 920px);
    object-fit: contain;
}

.revestimentos-page .modal-content {
    max-width: min(96vw, 720px);
}

.revestimentos-page .modal-gallery-thumbs img {
    width: auto;
    height: 72px;
    aspect-ratio: 496 / 701;
    object-fit: contain;
    background: #1a1a24;
}

/* ---- Catálogo ripado: visualizador unificado ---- */
.revestimentos-page .rev-catalog-modal .modal-content {
    max-width: min(96vw, 760px);
}

.revestimentos-page .rev-catalog-stage {
    aspect-ratio: auto;
    min-height: min(78vh, 820px);
    max-height: min(82vh, 860px);
    background: #0c0c14;
    display: flex;
    align-items: center;
    justify-content: center;
}

.revestimentos-page .rev-catalog-viewport {
    position: absolute;
    inset: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    touch-action: none;
}

.revestimentos-page .rev-catalog-viewport.is-dragging,
.revestimentos-page .rev-catalog-viewport.is-zoomed {
    cursor: grab;
}

.revestimentos-page .rev-catalog-viewport.is-dragging {
    cursor: grabbing;
}

.revestimentos-page .rev-catalog-viewport img {
    max-width: 100%;
    max-height: min(78vh, 820px);
    width: auto;
    height: auto;
    object-fit: contain;
    transform-origin: center center;
    user-select: none;
    pointer-events: none;
    will-change: transform;
}

.revestimentos-page .rev-catalog-counter {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(10, 10, 20, 0.72);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    pointer-events: none;
}

.revestimentos-page .rev-catalog-zoom-level {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(10, 10, 20, 0.65);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.68rem;
    font-variant-numeric: tabular-nums;
    pointer-events: none;
}

.revestimentos-page .rev-catalog-zoom-btn {
    position: absolute;
    z-index: 6;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(12, 12, 22, 0.75);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.revestimentos-page .rev-catalog-zoom-btn:hover {
    background: var(--color-accent, #c9a962);
    color: #0a0a14;
    border-color: transparent;
}

.revestimentos-page #revCatalogZoomIn { top: 14px; right: 14px; }
.revestimentos-page #revCatalogZoomOut { top: 58px; right: 14px; }
.revestimentos-page #revCatalogZoomReset { top: 102px; right: 14px; }

.revestimentos-page .rev-catalog-hint {
    margin: 10px 0 0;
    text-align: center;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
    transition: opacity 0.4s ease;
}

.revestimentos-page .rev-catalog-hint.is-hidden {
    opacity: 0;
    height: 0;
    margin: 0;
    overflow: hidden;
}

.revestimentos-page .rev-catalog-thumbs {
    margin-top: 12px;
    padding-bottom: 4px;
    gap: 6px;
}

.revestimentos-page .property-card[data-category="ripados-wpc"] .property-overlay span {
    font-size: 0.7rem;
}

/* Legendas de dimensão — ripados */
.revestimentos-page .property-specs--ripado {
    gap: 12px 16px;
}

.revestimentos-page .property-spec--labeled {
    align-items: flex-start;
}

.revestimentos-page .property-spec--labeled span {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.25;
    color: var(--color-text);
    font-weight: 500;
}

.revestimentos-page .property-spec--labeled span small {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.revestimentos-page .property-dim-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: -8px 0 18px;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(201, 169, 98, 0.1);
    border: 1px solid rgba(201, 169, 98, 0.22);
    font-size: 0.78rem;
    color: var(--color-text-light);
    line-height: 1.4;
}

.revestimentos-page .property-dim-banner i {
    color: var(--color-accent);
    flex-shrink: 0;
}

.revestimentos-page .property-dim-banner strong {
    color: var(--color-text);
    font-weight: 600;
}

[data-theme="dark"] .revestimentos-page .property-dim-banner {
    background: rgba(201, 169, 98, 0.08);
    border-color: rgba(201, 169, 98, 0.18);
}

@media (max-width: 600px) {
    .revestimentos-page .rev-catalog-stage {
        min-height: 62vh;
        max-height: 70vh;
    }

    .revestimentos-page .rev-catalog-viewport img {
        max-height: 62vh;
    }

    .revestimentos-page .rev-catalog-zoom-btn {
        width: 32px;
        height: 32px;
        font-size: 0.72rem;
    }

    .revestimentos-page #revCatalogZoomOut { top: 52px; }
    .revestimentos-page #revCatalogZoomReset { top: 90px; }

    .revestimentos-page .rev-filter-row--sub {
        gap: 8px;
    }

    .revestimentos-page .filter-btn--sub {
        font-size: 0.65rem;
        padding: 8px 12px;
    }
}

/* ---- Acabamentos & filtros agrupados ---- */

.rev-lines-group-label {
    margin: 36px 0 16px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.rev-lines-group-label--acab {
    margin-top: 48px;
}

.rev-lines-grid--acab {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.rev-line-card--compact {
    padding: 24px 20px;
}

.rev-line-card--compact h3 {
    font-size: 1.05rem;
}

.rev-line-card--compact p {
    font-size: 0.82rem;
    margin-bottom: 14px;
}

.rev-acabamentos {
    background: var(--color-off-white);
}

.rev-acab-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.rev-acab-card {
    background: var(--color-white);
    border: 1px solid rgba(201, 169, 110, 0.15);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.rev-acab-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.rev-acab-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.rev-acab-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--color-heading);
}

.rev-acab-card p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.55;
    margin-bottom: 14px;
}

.rev-acab-card ul {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
}

.rev-acab-card ul li {
    font-size: 0.8rem;
    color: var(--color-text-light);
    padding: 4px 0 4px 18px;
    position: relative;
}

.rev-acab-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
}

.revestimentos-page .properties-filter--grouped {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 36px;
}

.revestimentos-page .rev-filter-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.revestimentos-page .rev-filter-row--sub {
    padding-top: 4px;
    border-top: 1px solid rgba(201, 169, 110, 0.12);
}

.revestimentos-page .filter-btn--sub {
    font-size: 0.72rem;
    padding: 9px 16px;
    opacity: 0.92;
}

@media (max-width: 1100px) {
    .rev-lines-grid--acab {
        grid-template-columns: repeat(3, 1fr);
    }

    .rev-acab-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .rev-lines-grid--acab {
        grid-template-columns: 1fr;
    }

    .rev-acab-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- Forro Vinílico Wood Nature ---- */

.rev-forro-hero-visual {
    position: relative;
    min-height: 320px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(165deg, #2c2416 0%, #5c4033 45%, #8b6914 100%);
}

.rev-forro-hero-slats {
    position: absolute;
    inset: 0;
    --forro-active: #c4a574;
    background:
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 18px,
            rgba(0, 0, 0, 0.12) 18px,
            rgba(0, 0, 0, 0.12) 20px
        ),
        linear-gradient(180deg, color-mix(in srgb, var(--forro-active) 85%, #000) 0%, var(--forro-active) 50%, color-mix(in srgb, var(--forro-active) 70%, #000) 100%);
    transition: background 0.4s ease;
}

.rev-forro-hero-slats--wpc {
    --forro-active: #6b4423;
}

.rev-forro-hero-dim {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.rev-forro-hero-dim-w,
.rev-forro-hero-dim-l {
    position: absolute;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(10, 10, 20, 0.55);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(201, 169, 110, 0.3);
}

.rev-forro-hero-dim-w {
    top: 50%;
    left: 12px;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: center;
}

.rev-forro-hero-dim-l {
    bottom: 56px;
    left: 50%;
    transform: translateX(-50%);
}

.rev-forro-hero-badge {
    position: absolute;
    left: 24px;
    bottom: 24px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(10, 10, 20, 0.72);
    color: var(--color-accent);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border: 1px solid rgba(201, 169, 110, 0.35);
}

.rev-forro-wood {
    margin-top: 56px;
    padding-top: 48px;
    border-top: 1px solid rgba(201, 169, 110, 0.15);
}

.rev-forro-wood-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px;
}

.rev-forro-wood-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--color-heading);
    margin: 12px 0;
}

.rev-forro-wood-header p {
    color: var(--color-text-light);
    line-height: 1.65;
    margin: 0;
}

.rev-forro-subtitle {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--color-heading);
    margin: 0 0 20px;
    text-align: center;
}

.rev-forro-palette {
    margin-bottom: 48px;
}

/* Legenda padrão */
.rev-forro-legend {
    margin-bottom: 48px;
    padding: 28px 24px;
    background: var(--color-off-white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(201, 169, 110, 0.15);
}

.rev-forro-legend-intro {
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.88rem;
    margin: -8px 0 24px;
    line-height: 1.6;
}

.rev-forro-legend-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.rev-forro-legend-item {
    background: var(--color-white);
    border: 1px solid rgba(201, 169, 110, 0.15);
    border-radius: 12px;
    padding: 18px 16px;
    text-align: center;
}

.rev-forro-legend-key {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.rev-forro-legend-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--color-heading);
    margin-bottom: 4px;
}

.rev-forro-legend-item small {
    font-size: 0.72rem;
    color: var(--color-text-light);
    line-height: 1.4;
}

.rev-forro-legend-formula {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 24px 0 0;
    padding: 14px 18px;
    background: rgba(201, 169, 110, 0.1);
    border-radius: 10px;
    font-size: 0.82rem;
    color: var(--color-text-light);
    line-height: 1.55;
}

.rev-forro-legend-formula i {
    color: var(--color-accent);
    margin-top: 2px;
}

/* Modelos PVC / WPC */
.rev-forro-models {
    margin-bottom: 48px;
}

.rev-forro-model-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.rev-forro-model {
    background: var(--color-white);
    border: 2px solid rgba(201, 169, 110, 0.15);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    box-shadow: var(--shadow-soft);
}

.rev-forro-model:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.rev-forro-model.is-active {
    border-color: var(--color-accent);
    box-shadow: 0 8px 28px rgba(201, 169, 110, 0.18);
}

.rev-forro-model--pvc.is-active {
    border-color: #4a90a4;
}

.rev-forro-model--wpc.is-active {
    border-color: #8b6914;
}

.rev-forro-model-tag {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 10px;
}

.rev-forro-model-head h5 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin: 0 0 10px;
    color: var(--color-heading);
}

.rev-forro-model-head p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.55;
    margin: 0 0 16px;
}

.rev-forro-model-list {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.rev-forro-model-list li {
    font-size: 0.82rem;
    color: var(--color-text-light);
    padding: 5px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.rev-forro-model-list i {
    color: var(--color-accent);
    margin-top: 3px;
    font-size: 0.7rem;
}

.rev-forro-model-use {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin: 0;
    padding-top: 14px;
    border-top: 1px solid rgba(201, 169, 110, 0.12);
    line-height: 1.5;
}

.rev-forro-model-active {
    text-align: center;
    margin: 20px 0 0;
    font-size: 0.88rem;
    color: var(--color-text-light);
}

.rev-forro-model-active strong {
    color: var(--color-accent);
}

.rev-forro-compare-table-wrap {
    margin-bottom: 48px;
}

.rev-forro-compare-table {
    margin-top: 0;
}

.rev-forro-swatches {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 12px;
    max-width: 900px;
    margin: 0 auto 16px;
}

.rev-forro-swatch {
    appearance: none;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 0;
    cursor: pointer;
    background: var(--swatch);
    aspect-ratio: 1;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.rev-forro-swatch span {
    position: absolute;
    left: 50%;
    bottom: -26px;
    transform: translateX(-50%);
    font-size: 0.62rem;
    white-space: nowrap;
    color: var(--color-text-light);
    letter-spacing: 0.04em;
}

.rev-forro-swatch:hover,
.rev-forro-swatch.is-active {
    transform: translateY(-3px);
    border-color: var(--color-accent);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.rev-forro-swatch-active {
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin: 36px 0 0;
}

.rev-forro-swatch-active strong {
    color: var(--color-accent);
}

.rev-forro-benefits {
    margin-bottom: 48px;
}

.rev-forro-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.rev-forro-benefit {
    background: var(--color-white);
    border: 1px solid rgba(201, 169, 110, 0.15);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.rev-forro-benefit i {
    font-size: 1.3rem;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.rev-forro-benefit h5 {
    font-family: var(--font-display);
    font-size: 1rem;
    margin: 0 0 8px;
    color: var(--color-heading);
}

.rev-forro-benefit p {
    font-size: 0.82rem;
    color: var(--color-text-light);
    line-height: 1.55;
    margin: 0;
}

.rev-forro-specs {
    margin-bottom: 48px;
    background: var(--color-off-white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
}

.rev-forro-specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.rev-forro-spec-item {
    margin: 0;
    padding: 16px;
    background: var(--color-white);
    border-radius: 10px;
    border: 1px solid rgba(201, 169, 110, 0.12);
}

.rev-forro-spec-item dt {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 6px;
}

.rev-forro-spec-item dd {
    margin: 0;
    font-size: 0.88rem;
    color: var(--color-text);
    font-weight: 500;
    line-height: 1.4;
}

.rev-forro-note,
.rev-forro-acc-note {
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin: 20px 0 0;
    text-align: center;
}

.rev-forro-install {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    margin-bottom: 48px;
    align-items: start;
}

.rev-forro-install-text p {
    color: var(--color-text-light);
    line-height: 1.65;
    margin-bottom: 20px;
}

.rev-forro-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rev-forro-steps li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.88rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

.rev-forro-steps li span {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.15);
    color: var(--color-accent);
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rev-forro-install-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.rev-forro-accessories {
    margin-bottom: 48px;
    text-align: center;
}

.rev-forro-acc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 720px;
    margin: 0 auto;
}

.rev-forro-acc {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 12px;
    background: var(--color-white);
    border: 1px solid rgba(201, 169, 110, 0.15);
    border-radius: var(--radius-lg);
    font-size: 0.8rem;
    color: var(--color-text);
    font-weight: 500;
}

.rev-forro-acc i {
    font-size: 1.2rem;
    color: var(--color-accent);
}

.rev-forro-faq {
    max-width: 760px;
    margin: 0 auto 40px;
}

.rev-forro-faq-list .rev-faq-item {
    border-bottom: 1px solid rgba(201, 169, 110, 0.15);
}

.rev-forro-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    padding-top: 8px;
}

[data-theme="dark"] .rev-forro-benefit,
[data-theme="dark"] .rev-forro-spec-item,
[data-theme="dark"] .rev-forro-acc,
[data-theme="dark"] .rev-forro-legend-item,
[data-theme="dark"] .rev-forro-model {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(201, 169, 110, 0.12);
}

[data-theme="dark"] .rev-forro-specs,
[data-theme="dark"] .rev-forro-legend {
    background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 1024px) {
    .rev-forro-legend-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rev-forro-swatches {
        grid-template-columns: repeat(5, 1fr);
    }

    .rev-forro-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rev-forro-specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rev-forro-install {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .rev-forro-swatches {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .rev-forro-swatch span {
        font-size: 0.58rem;
        bottom: -22px;
    }

    .rev-forro-benefits-grid,
    .rev-forro-specs-grid,
    .rev-forro-acc-grid,
    .rev-forro-install-compare,
    .rev-forro-model-grid,
    .rev-forro-legend-grid {
        grid-template-columns: 1fr;
    }

    .rev-forro-hero-visual {
        min-height: 240px;
    }
}

/* Equipe — alinhado à Soluções Imobiliárias */
.revestimentos-page .section.team.alt {
    background:
        radial-gradient(ellipse 80% 40% at 50% 0%, rgba(201, 169, 110, 0.03) 0%, transparent 50%),
        linear-gradient(180deg, rgba(15, 15, 26, 0.5) 0%, transparent 30%, rgba(15, 15, 26, 0.3) 100%);
}

.revestimentos-page .section.team .section-head .section-title {
    color: #f4f4f8;
}

.revestimentos-page .section.team .section-head .section-subtitle {
    color: rgba(255, 255, 255, 0.58);
}

.revestimentos-page .rev-catalog-hint {
    display: none;
}
