@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,500&display=swap');

/* Triunfar Móveis — vermelho (dominante), branco e preto */
:root {
    --red: #d6141f;
    --red-dark: #a80e17;
    --red-soft: #fdecec;
    --black: #111111;
    --ink: #1c1c1c;
    --muted: #6a6a6a;
    --white: #ffffff;
    --paper: #f6f5f4;
    --line: #e4e2e0;
    --ok: #1f8a4c;
    --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
::selection { background: var(--red); color: #fff; }
h1, h2, h3 { font-family: var(--font); color: var(--black); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.lead { font-size: 1.1rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.eyebrow { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }

/* Botões */
.btn { display: inline-block; padding: .85em 1.7em; border: 2px solid var(--black); background: var(--white); color: var(--black);
    font: 600 .9rem var(--font); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: .25s var(--ease); border-radius: 0; }
.btn:hover { background: var(--black); color: #fff; }
.btn-primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn-primary:hover { background: var(--black); border-color: var(--black); }
.btn-outline { background: transparent; }
.btn-whatsapp { background: var(--black); border-color: var(--black); color: #fff; }
.btn-whatsapp:hover { background: var(--red); border-color: var(--red); }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-lg { font-size: 1rem; padding: 1.05em 2em; }

/* Barra superior + header */
.topbar { background: var(--black); color: #d9d9d9; font-size: .75rem; letter-spacing: .04em; }
.topbar .container { display: flex; justify-content: space-between; gap: 12px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar span:last-child { display: none; }
.site-header { background: var(--white); position: sticky; top: 0; z-index: 50; border-bottom: 3px solid var(--red); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; }
.brand { text-decoration: none; color: var(--black); display: flex; align-items: center; }
.brand-text { font-weight: 800; font-size: 1.45rem; letter-spacing: -.04em; text-transform: uppercase; }
.brand-text::first-letter { color: var(--red); }
.brand-logo { max-height: 48px; width: auto; }
.nav-toggle { background: var(--red); border: 0; padding: 12px 11px; cursor: pointer; display: flex; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 22px; height: 2px; background: #fff; display: block; }
.main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 8px 20px 18px; border-bottom: 3px solid var(--red); box-shadow: 0 18px 30px rgba(0,0,0,.12); }
.main-nav.open { display: flex; flex-direction: column; }
.main-nav a { color: var(--black); text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; font-size: .92rem; text-transform: uppercase; letter-spacing: .06em; }
.main-nav a:hover { color: var(--red); }

/* Hero */
.hero { position: relative; background: var(--red); color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
    repeating-linear-gradient(-45deg, rgba(0,0,0,.06) 0 2px, transparent 2px 26px); pointer-events: none; }
.hero-slide { display: none; position: relative; min-height: 440px; align-items: center; }
.hero-slide.is-active { display: flex; }
/* Banner só com imagem: exibe inteira, sem cortes, na proporção original */
.hero-slide.has-image { min-height: 0; display: none; }
.hero-slide.has-image.is-active { display: block; }
.hero-slide.has-image .hero-img { position: static; display: block; width: 100%; height: auto; object-fit: initial; }
.hero-link { display: block; }
.hero-content { position: relative; z-index: 2; padding-top: 64px; padding-bottom: 80px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 9vw, 5.6rem); font-weight: 800; letter-spacing: -.05em; line-height: .95; max-width: 14ch; animation: rise .9s var(--ease) both; }
.hero p { font-size: 1.1rem; max-width: 44ch; color: #fff; font-weight: 300; animation: rise .9s .15s var(--ease) both; }
.hero .btn-primary { background: #fff; color: var(--red); border-color: #fff; animation: rise .9s .3s var(--ease) both; }
.hero .btn-primary:hover { background: var(--black); color: #fff; border-color: var(--black); }
.hero-slide.has-image .btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.hero-dots { position: absolute; bottom: 20px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.hero-dot { width: 28px; height: 4px; border: 0; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; }
.hero-dot.is-active { background: #fff; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* Faixa de valores */
.strip { background: var(--black); color: #fff; }
.strip .container { display: grid; grid-template-columns: 1fr; }
.strip-item { padding: 16px 0; border-bottom: 1px solid #2c2c2c; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.strip-item b { color: var(--red); margin-right: 10px; font-weight: 700; }

/* Seções */
.section { padding: 56px 0; }
.section-alt { background: var(--paper); }
.section-head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; }
.section-title { font-size: clamp(1.8rem, 5vw, 3rem); margin: 0; }
.section-title::after { content: ""; display: block; width: 56px; height: 5px; background: var(--red); margin-top: 14px; }
.about { font-size: 1.1rem; font-weight: 300; }
.empty { text-align: center; color: var(--muted); padding: 32px 0; }

/* Chips */
.chips { display: flex; gap: 0; margin: 8px 0 32px; overflow-x: auto; overflow-y: hidden; border-bottom: 2px solid var(--line); }
.chip { padding: .8em 1.3em; text-decoration: none; color: var(--black); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; border-bottom: 4px solid transparent; margin-bottom: -2px; }
.chip:hover { color: var(--red); }
.chip.active { color: var(--red); border-bottom-color: var(--red); }

/* Grid e cards */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 32px; }
.card { background: var(--white); display: flex; flex-direction: column; border: 1px solid var(--line); transition: .3s var(--ease); position: relative; }
.card:hover { border-color: var(--black); transform: translateY(-4px); box-shadow: 8px 8px 0 var(--red); }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--paper); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; color: var(--red); font-weight: 600; }
.card-title { font-size: .98rem; margin: 0; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.card-title a { color: var(--black); text-decoration: none; }
.card .btn { margin-top: auto; padding: .65em 1em; font-size: .75rem; }
.badge { display: inline-block; font-size: .7rem; font-weight: 700; padding: .2em .6em; letter-spacing: .06em; text-transform: uppercase; }
.badge-promo { position: absolute; top: 0; left: 0; background: var(--red); color: #fff; padding: .45em .9em; }
.badge-off { background: var(--black); color: #fff; margin-left: 4px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.price-old { color: var(--muted); text-decoration: line-through; font-size: .85rem; }
.price-now { font-size: 1.2rem; font-weight: 700; color: var(--black); letter-spacing: -.02em; }
.price-lg .price-now { font-size: 2.4rem; color: var(--red); }

/* Filtros e paginação */
.filters { display: grid; gap: 8px; margin: 22px 0 30px; }
.filters input, .filters select { padding: .85em 1em; border: 2px solid var(--black); font: inherit; background: #fff; width: 100%; border-radius: 0; }
.filters input:focus, .filters select:focus, .comment-form input:focus, .comment-form textarea:focus { outline: 0; border-color: var(--red); }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.pagination a { min-width: 42px; text-align: center; padding: .55em .9em; border: 2px solid var(--black); background: #fff; text-decoration: none; color: var(--black); font-weight: 600; }
.pagination a.active, .pagination a:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* Produto */
.breadcrumb { font-size: .8rem; color: var(--muted); margin-bottom: 18px; text-transform: uppercase; letter-spacing: .06em; }
.breadcrumb a { color: var(--black); text-decoration: none; }
.product { display: grid; gap: 28px; }
.gallery-main { background: var(--paper); aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; padding-bottom: 4px; }
.thumb { flex: 0 0 76px; height: 76px; border: 2px solid var(--line); padding: 0; overflow: hidden; background: var(--paper); cursor: pointer; }
.thumb.active, .thumb:hover { border-color: var(--red); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
.stock { font-weight: 600; font-size: .9rem; }
.stock.in { color: var(--ok); }
.stock.out { color: var(--red); }
.specs { width: 100%; border-collapse: collapse; margin-top: 24px; }
.specs th, .specs td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.specs th { width: 40%; color: var(--muted); font-weight: 500; text-transform: uppercase; font-size: .72rem; letter-spacing: .12em; }
.block { margin-top: 48px; padding-top: 28px; border-top: 3px solid var(--black); }
.block h2 { font-size: 1.5rem; }
.videos { display: grid; gap: 12px; }
.videos video { width: 100%; background: #000; }

/* Comentários */
.comments { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.comments li { background: var(--paper); border-left: 5px solid var(--red); padding: 14px 18px; }
.comments time { color: var(--muted); font-size: .78rem; margin-left: 8px; }
.comments p { margin: 6px 0 0; }
.comment-form { display: grid; gap: 14px; max-width: 640px; }
.comment-form label { display: grid; gap: 4px; font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.comment-form input[type=text], .comment-form textarea { padding: .85em 1em; border: 2px solid var(--black); font: inherit; width: 100%; border-radius: 0; text-transform: none; letter-spacing: 0; font-weight: 400; }

/* Alertas */
.alert { max-width: 1200px; margin: 12px auto; padding: 14px 18px; border-left: 5px solid; }
.alert-success { background: #e8f6ee; color: #145c33; border-color: var(--ok); }
.alert-error { background: var(--red-soft); color: var(--red-dark); border-color: var(--red); }

/* Footer */
.site-footer { background: var(--black); color: #cfcfcf; margin-top: 56px; border-top: 6px solid var(--red); }
.footer-grid { display: grid; gap: 28px; padding-top: 44px; padding-bottom: 32px; }
.footer-title { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .92rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--red); }
.social { display: flex; gap: 16px; }
.footer-bottom { border-top: 1px solid #2c2c2c; padding: 16px 0; font-size: .8rem; text-align: center; color: #8a8a8a; }
.wa-float { position: fixed; right: 16px; bottom: 16px; background: var(--red); color: #fff !important; text-decoration: none; font-weight: 700; font-size: .8rem;
    letter-spacing: .08em; text-transform: uppercase; padding: 14px 20px; box-shadow: 5px 5px 0 var(--black); z-index: 60; transition: .2s; }
.wa-float:hover { background: var(--black); box-shadow: 5px 5px 0 var(--red); }

@media (min-width: 640px) {
    .grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .filters { grid-template-columns: 2fr 1fr 1fr auto; }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-slide { min-height: 520px; }
    .videos { grid-template-columns: repeat(2, 1fr); }
    .strip .container { grid-template-columns: repeat(3, 1fr); }
    .strip-item { border-bottom: 0; border-right: 1px solid #2c2c2c; padding-left: 20px; }
    .strip-item:first-child { padding-left: 0; }
    .topbar span:last-child { display: inline; }
}
@media (min-width: 960px) {
    .nav-toggle { display: none; }
    .main-nav { display: flex; position: static; flex-direction: row; gap: 26px; padding: 0; border: 0; background: none; box-shadow: none; }
    .main-nav a { border: 0; padding: 6px 0; font-size: .8rem; border-bottom: 3px solid transparent; }
    .main-nav a:hover { border-bottom-color: var(--red); }
    .grid { grid-template-columns: repeat(4, 1fr); }
    .product { grid-template-columns: 1.15fr 1fr; gap: 56px; }
    .hero-slide { min-height: 640px; }
    .section { padding: 84px 0; }
    .section-head { flex-direction: row; justify-content: space-between; align-items: flex-end; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
