@font-face {
    font-family: 'Urbanist';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/urbanist/urbanist-variable.woff2') format('woff2-variations'), url('../fonts/urbanist/urbanist-variable.woff2') format('woff2');
}

:root {
    --color-bg: #faf9f7;
    --color-bg-alt: #f1ede6;
    --color-surface: #ffffff;
    --color-text: #23201c;
    --color-muted: #74695c;
    --color-brand: #8a5a3b;
    --color-brand-dark: #6d4429;
    --color-border: #e3dcd0;
    --max-width: 1200px;
    --font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font-family);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--color-brand-dark); }

h1, h2, h3 { letter-spacing: -0.01em; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    background: rgba(250, 249, 247, 0.92);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid transparent;
    z-index: 40;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
    border-color: var(--color-border);
    box-shadow: 0 8px 24px -18px rgba(35, 32, 28, 0.4);
}

/* Header transparente sobre a hero, na home — vira sólido ao rolar */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: none;
    border-bottom: 1px solid transparent;
    box-shadow: none;
}

#site-header .logo-img,
#site-header .nav-links a,
#site-header .switch-link,
#site-header .header-actions .btn-secondary,
#site-header .burger {
    transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease, filter 0.3s ease;
}

#site-header .logo-img { filter: brightness(0) invert(1); }
#site-header .nav-links a { color: #fff; }
#site-header .nav-links a::after { background: #fff; }
#site-header .switch-link { color: rgba(255, 255, 255, 0.85); border-color: rgba(255, 255, 255, 0.45); }
#site-header .header-actions .btn-secondary { color: #fff; border-color: #fff; }
#site-header .burger { background: rgba(255, 255, 255, 0.18); }
#site-header .burger span { background: #fff; }

#site-header.is-scrolled {
    background: rgba(250, 249, 247, 0.94);
    backdrop-filter: blur(8px);
}

#site-header.is-scrolled .logo-img { filter: none; }
#site-header.is-scrolled .nav-links a { color: var(--color-text); }
#site-header.is-scrolled .nav-links a::after { background: var(--color-brand); }
#site-header.is-scrolled .switch-link { color: var(--color-muted); border-color: var(--color-border); }
#site-header.is-scrolled .header-actions .btn-secondary { color: var(--color-text); border-color: var(--color-text); }
#site-header.is-scrolled .burger { background: var(--color-text); }

html { scroll-padding-top: 90px; }

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    padding-bottom: 18px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-text);
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: 192px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0; right: 100%;
    bottom: 0;
    height: 1.5px;
    background: var(--color-brand);
    transition: right 0.25s ease;
}

.nav-links a:hover::after { right: 0; }

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

.switch-link {
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--color-muted);
    border: 1px solid var(--color-border);
    padding: 9px 16px;
    border-radius: 100px;
    white-space: nowrap;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.switch-link:hover { color: var(--color-text); border-color: var(--color-text); }

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 3px;
    background: var(--color-text);
    cursor: pointer;
    flex-shrink: 0;
}

.burger span { display: block; width: 18px; height: 2px; background: var(--color-bg); margin: 0 auto; }

.mobile-panel {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 50;
    background: var(--color-bg);
    padding: 100px 32px 40px;
}

.mobile-panel.is-open { display: block; }

.mobile-panel ul { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-direction: column; gap: 26px; }
.mobile-panel ul a { text-decoration: none; font-size: 1.6rem; font-weight: 700; color: var(--color-text); }
.mobile-close { position: absolute; top: 22px; right: 24px; width: 40px; height: 40px; border-radius: 3px; border: 1px solid var(--color-border); background: var(--color-surface); cursor: pointer; font-size: 1.2rem; }

.btn {
    display: inline-block;
    padding: 12px 26px;
    background: var(--color-text);
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    border: none;
    font-size: 0.95rem;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: center;
    transition: background 0.15s ease;
}

.btn:hover { background: var(--color-brand-dark); }

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-text);
}

.btn-secondary:hover { background: var(--color-text); color: #fff; }

.cart-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.9rem;
}

.cart-count {
    background: var(--color-brand);
    color: #fff;
    border-radius: 999px;
    min-width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    padding: 0 5px;
}

/* Hero */
.hero {
    position: relative;
    min-height: 94vh;
    display: flex;
    align-items: center;
    padding: 140px 0 90px;
    background-image:
        linear-gradient(100deg, rgba(250, 249, 247, 0) 0%, rgba(250, 249, 247, 0.6) 48%, rgba(250, 249, 247, 0.93) 78%),
        url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 180px;
    background: linear-gradient(180deg, rgba(20, 16, 12, 0.42) 0%, rgba(20, 16, 12, 0) 100%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    display: flex;
    justify-content: flex-end;
    max-width: 1720px;
    padding: 0 24px;
    margin-right: 330px;
}

.hero-text { max-width: 760px; text-align: right; }

.hero .eyebrow, .hero h1, .hero p {
    text-shadow: 0 1px 24px rgba(250, 249, 247, 0.8);
}

.hero .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.8rem;
    color: var(--color-brand-dark);
    font-weight: 700;
    margin-bottom: 18px;
    justify-content: flex-end;
}

.hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    margin: 0 0 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.15rem;
    color: var(--color-muted);
    margin: 0 0 36px;
    margin-left: auto;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* Faixa de diferenciais */
.diff-strip {
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: var(--color-surface);
    padding: 0;
}

.diff-strip .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.diff-item {
    padding: 28px 20px;
    text-align: center;
    border-right: 1px solid var(--color-border);
}

.diff-item:last-child { border-right: none; }

.diff-item .diff-title {
    font-weight: 700;
    margin-bottom: 4px;
}

.diff-item .diff-desc {
    font-size: 0.88rem;
    color: var(--color-muted);
}

section { padding: 90px 0; }

section h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    text-align: center;
    margin: 0 0 12px;
}

.section-intro {
    text-align: center;
    color: var(--color-muted);
    max-width: 620px;
    margin: 0 auto 52px;
}

/* Categorias — tiles grandes */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.category-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    aspect-ratio: 3/4;
    background: var(--color-bg-alt);
}

.category-card .image-placeholder {
    position: absolute;
    inset: 0;
    background: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover img { transform: scale(1.08); }

.category-card .category-overlay {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 30px 28px 32px;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.28) 55%, rgba(0,0,0,0) 100%);
    color: #fff;
    z-index: 2;
}

.category-card h3 {
    margin: 0;
    font-size: 2.1rem;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1;
}

/* Faixa promocional */
.promo-banner { padding: 40px 0; overflow: hidden; }

.promo-banner .container {
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    gap: 64px;
    align-items: center;
}

.promo-visual { position: relative; display: flex; justify-content: center; padding: 30px 0; }

.promo-blob {
    position: absolute;
    inset: 4% 8%;
    background: radial-gradient(closest-side, var(--color-bg-alt) 0%, rgba(241, 237, 230, 0) 78%);
    border-radius: 50%;
    z-index: 0;
}

.promo-photo {
    position: relative;
    z-index: 1;
    max-width: 380px;
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 34px 60px -28px rgba(35, 32, 28, 0.4);
}

.promo-copy .eyebrow { margin-bottom: 16px; }
.promo-copy h2 { text-align: left; font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 20px; line-height: 1.08; }
.promo-copy p { color: var(--color-muted); max-width: 460px; margin: 0 0 32px; font-size: 1.05rem; }

/* Sobre */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-brand-dark);
}

.eyebrow::before {
    content: '';
    width: 22px;
    height: 1px;
    background: var(--color-brand);
}

.accent { color: var(--color-brand); }

.about-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.about-copy { text-align: left; }

.about-heading {
    font-size: clamp(1.9rem, 3.4vw, 2.8rem);
    line-height: 1.12;
    margin: 18px 0 22px;
    text-align: left;
}

.about-copy .lead {
    font-size: 1.05rem;
    color: var(--color-muted);
    margin: 0 0 32px;
}

.about-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    padding-top: 26px;
    border-top: 1px solid var(--color-border);
}

.about-stats div { display: flex; flex-direction: column; gap: 2px; }
.about-stats strong { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; }
.about-stats span { font-size: 0.78rem; color: var(--color-muted); }

.about-visual { position: relative; }

.about-frame {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 30px 60px -24px rgba(35, 32, 28, 0.35);
}

.about-frame img { width: 100%; height: 100%; object-fit: cover; }

.about-badge {
    position: absolute;
    left: -28px;
    bottom: -24px;
    background: var(--color-surface);
    border-radius: 6px;
    padding: 18px 20px;
    box-shadow: 0 20px 40px -18px rgba(35, 32, 28, 0.3);
    max-width: 220px;
}

.about-badge .badge-label {
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-brand-dark);
    font-weight: 700;
    margin-bottom: 6px;
}

.about-badge .badge-text { font-size: 0.86rem; font-weight: 600; line-height: 1.35; }

/* Área do representante (destaque no institucional) */
.rep-cta {
    background: var(--color-text);
    color: #fff;
    text-align: center;
}

.rep-cta h2 { color: #fff; }
.rep-cta .section-intro { color: #d8d2c8; }
.rep-cta .btn { background: var(--color-brand); }
.rep-cta .btn:hover { background: var(--color-brand-dark); }

/* Footer */
.site-footer-rich { background: var(--color-text); color: #f6f1e9; padding: 76px 0 28px; }

.footer-top {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 52px;
    border-bottom: 1px solid rgba(246, 241, 233, 0.12);
}

.footer-brand .footer-logo { height: 36px; margin-bottom: 18px; filter: invert(1); opacity: 0.95; }
.footer-brand p { color: #b8b0a3; max-width: 300px; font-size: 0.92rem; }

.footer-col h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: #b8b0a3; margin-bottom: 20px; font-weight: 700; }

.footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.footer-list a { text-decoration: none; color: #f6f1e9; font-size: 0.95rem; }
.footer-list a:hover { color: var(--color-brand); }
.footer-list .muted { color: #b8b0a3; font-size: 0.95rem; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 26px;
    font-size: 0.82rem;
    color: #b8b0a3;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom a { text-decoration: underline; color: #b8b0a3; }
.footer-bottom a:hover { color: var(--color-brand); }

/* Forms (login, catálogo, admin) */
.form-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
}

.form-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 40px;
    width: 100%;
    max-width: 380px;
}

.form-card h1 { margin-top: 0; font-size: 1.5rem; }

.field { margin-bottom: 18px; }

.field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.field input, .field select, .field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--color-surface);
}

.alert {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 18px;
    font-size: 0.95rem;
}

.alert-error { background: #fbeaea; color: #a12626; border: 1px solid #f0c1c1; }
.alert-success { background: #eaf7ee; color: #1f7a3a; border: 1px solid #c1e8cc; }

/* Catálogo */
.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.catalog-intro { padding: 40px 0 8px; max-width: 620px; }
.catalog-intro h1 { margin-bottom: 8px; }
.catalog-intro p { color: var(--color-muted); }

.breadcrumb { padding-top: 24px; }
.breadcrumb a { text-decoration: none; color: var(--color-muted); font-size: 0.9rem; }

.catalog-category { margin: 44px 0; }
.catalog-category h2 { text-align: left; font-size: 1.5rem; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 24px;
}

.product-card {
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background: var(--color-surface);
    padding: 16px;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.product-card:hover {
    box-shadow: 0 8px 24px rgba(35, 32, 28, 0.08);
    transform: translateY(-2px);
}

.product-card .image-placeholder,
.product-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    background: var(--color-bg-alt);
    border-radius: 3px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    font-size: 0.85rem;
    overflow: hidden;
}

.product-card img { transition: transform 0.5s ease; }
.product-card:hover img { transform: scale(1.06); }

.product-card h3 { margin: 0 0 4px; font-size: 1.05rem; }
.product-card .sku { color: var(--color-muted); font-size: 0.8rem; margin-bottom: 14px; }
.product-card-cta { width: 100%; padding: 9px; font-size: 0.85rem; }

.empty-state { text-align: center; color: var(--color-muted); padding: 60px 0; }

/* Página de produto */
.product-detail {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    padding: 24px 0 80px;
}

.gallery-main-wrap { position: relative; margin-bottom: 14px; }

.gallery-main {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 8px;
    cursor: zoom-in;
    background: var(--color-bg-alt);
}

.gallery-zoom-btn {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 20px -8px rgba(35, 32, 28, 0.4);
    transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-zoom-btn:hover { background: #fff; transform: scale(1.06); }

.gallery-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.gallery-thumbs img {
    width: 78px;
    height: 78px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.gallery-thumbs img:hover { opacity: 1; }
.gallery-thumbs img.is-active { opacity: 1; border-color: var(--color-brand); }

.product-info h1 { margin: 0 0 6px; font-size: 1.8rem; }
.product-info .sku { color: var(--color-muted); font-size: 0.85rem; margin-bottom: 16px; }
.product-description { color: var(--color-muted); margin-bottom: 28px; }

.variant-group { margin-bottom: 24px; }
.variant-group-label { font-weight: 700; font-size: 0.9rem; margin-bottom: 10px; }

.swatch-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.swatch-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 0.78rem;
    color: var(--color-muted);
    width: 64px;
    text-align: center;
}

.swatch-option input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.swatch-visual {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    background-color: var(--color-bg-alt);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--color-text);
    text-transform: uppercase;
    font-size: 1.1rem;
    cursor: zoom-in;
}

.swatch-option input:checked + .swatch-visual {
    border-color: var(--color-brand);
    box-shadow: 0 0 0 2px var(--color-surface), 0 0 0 4px var(--color-brand);
}

.swatch-name { line-height: 1.2; }

/* Seção de acabamentos (showcase, abaixo do produto) */
.finishes-section, .related-section { padding: 56px 0; border-top: 1px solid var(--color-border); }
.finishes-section h2, .related-section h2 { text-align: left; font-size: 1.5rem; margin: 0 0 8px; }

.finish-group { margin-top: 32px; }
.finish-group:first-of-type { margin-top: 24px; }
.finish-group-head h3 { margin: 0 0 4px; font-size: 1.05rem; }
.finish-group-head p { margin: 0 0 20px; color: var(--color-muted); font-size: 0.92rem; }

.finish-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 18px;
}

.finish-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-muted);
    cursor: zoom-in;
}

.finish-card-visual {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-alt);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--color-text);
    text-transform: uppercase;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.finish-card:hover .finish-card-visual {
    transform: scale(1.04);
    box-shadow: 0 14px 30px -14px rgba(35, 32, 28, 0.35);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(20, 16, 12, 0.92);
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox.is-open { display: flex; }

.lightbox img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 6px;
    box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

.lightbox-close:hover { background: rgba(255, 255, 255, 0.24); }

/* Carrinho */
/* Carrinho */
.cart-items { display: flex; flex-direction: column; gap: 14px; }

.cart-item-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 18px;
}

.cart-item-img { width: 84px; height: 84px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 700; font-size: 1.02rem; margin-bottom: 8px; }

.cart-item-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.cart-tag {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--color-brand-dark);
    background: var(--color-bg-alt);
    padding: 4px 10px;
    border-radius: 100px;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 28px;
    align-items: start;
}

.field-row { display: flex; gap: 14px; }
.field-row .field { flex: 1; margin-bottom: 18px; }

.review-card { position: sticky; top: 90px; }

.review-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 18px; }

.review-item { display: flex; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--color-border); }
.review-item:last-child { border-bottom: none; padding-bottom: 0; }

.review-item img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.review-item-body { flex: 1; min-width: 0; font-size: 0.9rem; }
.review-item-body strong { display: inline; }
.review-qty { color: var(--color-muted); margin-left: 6px; font-size: 0.85rem; }
.review-item-body .cart-item-tags { margin-top: 6px; }
.review-note { margin: 8px 0 0; font-size: 0.82rem; color: var(--color-muted); font-style: italic; }

.review-total {
    padding-top: 14px;
    border-top: 1px solid var(--color-border);
    font-size: 0.95rem;
    color: var(--color-muted);
}

@media (max-width: 800px) {
    .checkout-grid { grid-template-columns: 1fr; }
    .review-card { position: static; }
    .cart-item-card { flex-wrap: wrap; }
    .cart-item-actions { flex-direction: row; align-items: center; width: 100%; }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero .reveal:nth-child(2) { transition-delay: 0.1s; }
.hero .reveal:nth-child(3) { transition-delay: 0.2s; }
.hero .reveal:nth-child(4) { transition-delay: 0.3s; }

.diff-item.reveal:nth-child(2) { transition-delay: 0.08s; }
.diff-item.reveal:nth-child(3) { transition-delay: 0.16s; }
.diff-item.reveal:nth-child(4) { transition-delay: 0.24s; }

.category-card.reveal:nth-child(2) { transition-delay: 0.1s; }
.category-card.reveal:nth-child(3) { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Blog */
.blog-intro { padding: 70px 0 20px; text-align: center; }
.blog-intro .eyebrow { justify-content: center; }
.blog-intro h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 16px 0; }
.blog-intro .lead { color: var(--color-muted); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

.blog-list { padding: 40px 0 100px; }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.blog-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.blog-card:hover { box-shadow: 0 16px 40px -20px rgba(35, 32, 28, 0.3); transform: translateY(-3px); }

.blog-card img,
.blog-card .image-placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    background: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    overflow: hidden;
}

.blog-card-body { padding: 22px 24px 26px; }

.blog-date {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-brand-dark);
    font-weight: 700;
    margin-bottom: 10px;
}

.blog-card h3 { font-size: 1.2rem; margin: 0 0 10px; line-height: 1.3; }
.blog-card p { margin: 0 0 14px; color: var(--color-muted); font-size: 0.92rem; }
.blog-read-more { font-size: 0.85rem; font-weight: 700; color: var(--color-text); }

/* Post detail */
.post-detail { padding: 24px 0 100px; }
.post-detail .container { max-width: 760px; }

.post-header { text-align: center; margin: 22px 0 32px; }
.post-header h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 10px 0 0; line-height: 1.2; }

.post-cover {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 40px;
}

.post-content { font-size: 1.08rem; color: var(--color-ink-soft, var(--color-text)); line-height: 1.8; }
.post-content p { margin: 0 0 22px; }

/* Teaser de blog na home */
.blog-teaser-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 44px;
    flex-wrap: wrap;
}

.blog-teaser-head h2 { text-align: left; margin: 0; }
.blog-teaser-head a { font-size: 0.9rem; font-weight: 700; text-decoration: none; white-space: nowrap; }

/* Badges de status (reaproveitado no admin e no catálogo) */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

.badge-active { background: #eaf7ee; color: #1f7a3a; }
.badge-inactive { background: #f3f1ec; color: #857c6f; }
.badge-novo { background: #fef3e0; color: #a1650a; }
.badge-em_andamento { background: #e6f0fb; color: #1c5fa8; }
.badge-concluido { background: #eaf7ee; color: #1f7a3a; }

/* Fotos e vídeos ambientados (catálogo) */
.ambientadas-section { padding: 56px 0; border-top: 1px solid var(--color-border); }
.ambientadas-section h2 { text-align: left; font-size: 1.5rem; margin: 0 0 8px; }

.ambientada-form {
    display: flex;
    gap: 14px;
    align-items: flex-end;
    flex-wrap: wrap;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 28px;
}

.my-media-list { margin-bottom: 32px; }
.my-media-list h3 { font-size: 1rem; margin-bottom: 14px; }

.my-media-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

.my-media-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    background: var(--color-bg-alt);
}

.my-media-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    font-size: 1.2rem;
}

.my-media-info { font-size: 0.9rem; }
.my-media-date { color: var(--color-muted); margin-left: 8px; font-size: 0.82rem; }

.ambientadas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}

.ambientada-card {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
}

.ambientada-card img, .ambientada-card video {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    cursor: zoom-in;
    background: #000;
}

.ambientada-caption {
    padding: 10px 14px;
    font-size: 0.82rem;
    color: var(--color-muted);
}

/* Catálogos em PDF no topo do catálogo */
.catalog-files {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 8px 0 40px;
}

.catalog-file-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.92rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.catalog-file-card:hover {
    border-color: var(--color-brand);
    box-shadow: 0 10px 24px -14px rgba(35, 32, 28, 0.3);
}

.catalog-file-card svg { color: var(--color-brand); flex-shrink: 0; }
.catalog-file-cta { color: var(--color-muted); font-weight: 500; font-size: 0.82rem; }

/* Responsivo — mantido ao final do arquivo para vencer o cascade por ordem de origem */
@media (max-width: 760px) {
    .hero { background-attachment: scroll; min-height: auto; padding: 170px 0 90px; }
    .hero .container { justify-content: center; padding: 0 22px; margin-right: 0; max-width: 100%; }
    .hero-text { max-width: 100%; text-align: center; }
    .hero p { margin-left: 0; }
    .hero .eyebrow { justify-content: center; }
    .hero-actions { justify-content: center; }
    .promo-banner .container { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .promo-copy h2, .promo-copy .eyebrow { text-align: center; }
    .promo-copy p { margin-left: auto; margin-right: auto; }
    .about-hero { grid-template-columns: 1fr; gap: 32px; }
    .about-visual { order: -1; max-width: 420px; margin: 0 auto; }
    .about-badge { left: 0; }
    .nav-links { display: none; }
    .header-actions .btn-secondary,
    .header-actions .switch-link { display: none; }
    .burger { display: flex; }
    .product-detail { grid-template-columns: 1fr; }
    .diff-item { border-right: none; border-bottom: 1px solid var(--color-border); }
    .footer-top { grid-template-columns: 1fr; gap: 36px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}
