/*
Theme Name: Nipon Live 2026
Description: Tema leve (sem page builder) para niponlive.com.br — direto da fábrica, sem intermediário.
Author: Nipon Live
Version: 1.0.0
Text Domain: nipon-live-2026
*/

:root {
  --paper: #faf7f2;
  --paper-raised: #ffffff;
  --ink: #17181c;
  --ink-soft: #4a4b52;
  --line: rgba(23,24,28,0.11);
  --brand-red: #c0321a;
  --brand-red-deep: #8f2513;
  --brand-navy: #1b3f6e;
  --brand-navy-deep: #12294a;
  --gold: #b4831f;
  --whatsapp: #25d366;
  --whatsapp-deep: #1da851;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(23,24,28,0.06), 0 8px 24px -12px rgba(23,24,28,0.18);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #15171b; --paper-raised: #1c1f25; --ink: #f3f1ec; --ink-soft: #b7b8bf;
    --line: rgba(243,241,236,0.13); --gold: #d4a53a; color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-weight: 900; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-red); }
p { line-height: 1.55; color: var(--ink-soft); margin: 0; }
.tabular { font-variant-numeric: tabular-nums; }

/* Header */
header.site { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 40px; width: auto; max-width: none; flex-shrink: 0; }
nav.links { display: flex; gap: 28px; font-size: 14px; font-weight: 600; list-style: none; margin: 0; padding: 0; white-space: nowrap; }
nav.links li { display: inline-block; margin-right: 28px; }
nav.links li:last-child { margin-right: 0; }
nav.links a { text-decoration: none; opacity: 0.82; }
nav.links a:hover { opacity: 1; }
.cta-whatsapp {
  display: inline-flex; align-items: center; gap: 8px; background: var(--whatsapp); color: #fff;
  font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 999px; text-decoration: none; box-shadow: var(--shadow);
}
.cta-whatsapp:hover { background: var(--whatsapp-deep); color: #fff; }

/* Floating WhatsApp button — global, todas as telas */
.float-whats {
  position: fixed; right: 22px; bottom: 22px; z-index: 999;
  width: 56px; height: 56px; border-radius: 999px;
  background: var(--whatsapp); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; box-shadow: 0 10px 26px -8px rgba(0,0,0,0.35);
  text-decoration: none;
}

/* Hero */
.hero { position: relative; min-height: 560px; display: flex; align-items: flex-end; background: #0d0f12; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: 0.55; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,15,18,0.35) 0%, rgba(13,15,18,0.55) 45%, rgba(13,15,18,0.92) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding-top: 90px; padding-bottom: 56px; }
.hero .eyebrow { color: #ffcf8f; }
.hero h1 { color: #fff; font-size: clamp(34px, 5.4vw, 60px); line-height: 1.03; max-width: 15ch; margin-top: 10px; text-transform: uppercase; }
.hero .sub { color: rgba(255,255,255,0.86); font-size: 17px; max-width: 46ch; margin-top: 16px; }
.hero .actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.btn-primary {
  background: var(--brand-red); color: #fff; font-weight: 800; font-size: 15px; padding: 14px 26px;
  border-radius: 10px; text-decoration: none; display: inline-block; box-shadow: 0 10px 24px -10px rgba(192,50,26,0.65); border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--brand-red-deep); color: #fff; }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.65); background: rgba(255,255,255,0.14); color: #fff; font-weight: 700; font-size: 15px; padding: 13px 24px; border-radius: 10px; text-decoration: none; }
.btn-ghost:hover { background: rgba(255,255,255,0.24); }

/* Banner promocional */
.promo-slot { background: linear-gradient(135deg, var(--brand-navy-deep) 0%, var(--brand-navy) 55%, #2a5694 100%); color: #fff; position: relative; overflow: hidden; }
.promo-slot .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 30px 24px; flex-wrap: wrap; }
.promo-slot .tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.28); padding: 5px 12px; border-radius: 999px; margin-bottom: 10px; }
.promo-slot h3 { color: #fff; font-size: clamp(19px, 2.6vw, 26px); max-width: 28ch; }
.promo-slot .bullets { display: flex; gap: 18px; margin-top: 10px; flex-wrap: wrap; font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.88); }
.promo-slot .bullets span { white-space: nowrap; }
.promo-slot .bullets .gift { color: #ffd98a; }

/* Trust strip */
.trust { background: var(--paper-raised); border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 22px 24px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; }
.trust-item .ic { width: 34px; height: 34px; border-radius: 999px; background: color-mix(in srgb, var(--brand-red) 12%, transparent); color: var(--brand-red); display: flex; align-items: center; justify-content: center; font-size: 16px; flex: none; }

section { padding: 72px 0; }
.section-head { max-width: 60ch; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(24px, 3.2vw, 34px); margin-top: 8px; }

/* Prova social */
.reviews-agg { display: flex; align-items: center; gap: 14px; margin-bottom: 32px; padding: 16px 20px; background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius); width: fit-content; }
.stars { color: var(--gold); font-size: 20px; letter-spacing: 2px; }
.reviews-agg .num { font-weight: 900; font-size: 22px; }
.reviews-agg .meta { font-size: 13px; color: var(--ink-soft); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card { background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.review-card .stars { font-size: 15px; margin-bottom: 10px; display: block; }
.review-card p.quote { color: var(--ink); font-size: 14.5px; line-height: 1.6; }
.review-card .who { margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
.google-g { width: 16px; height: 16px; border-radius: 4px; background: #fff; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 900; color: #4285F4; }

/* Categorias */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow); text-decoration: none; display: block; }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-card.cutout img { object-fit: contain; background: #efe9df; padding: 26px; }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,17,20,0) 40%, rgba(15,17,20,0.82) 100%); }
.cat-card .label { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 1; color: #fff; }
.cat-card .label .kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #ffcf8f; }
.cat-card .label h3 { color: #fff; font-size: 21px; margin-top: 4px; }
.cat-card .label .arrow { font-size: 13px; font-weight: 700; margin-top: 8px; opacity: 0.9; }

/* Diferenciais */
.band-navy { background: linear-gradient(160deg, var(--brand-navy) 0%, var(--brand-navy-deep) 100%); color: #fff; }
.band-navy .section-head .eyebrow { color: #ffcf8f; }
.band-navy h2 { color: #fff; }
.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.diff-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius); padding: 24px 20px; }
.diff-card .n { font-size: 26px; margin-bottom: 10px; }
.diff-card h4 { font-size: 15.5px; margin: 0 0 6px; font-weight: 800; color: #fff; }
.diff-card p { font-size: 13.5px; color: rgba(255,255,255,0.82); }

/* Oferta */
.offer-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; flex-wrap: wrap; }
.offer-strip .price { font-size: 34px; font-weight: 900; color: var(--brand-red); }
.offer-strip .price small { font-size: 15px; color: var(--ink-soft); font-weight: 700; }
.offer-strip .old { text-decoration: line-through; color: var(--ink-soft); font-size: 15px; }

/* Quem Somos */
.about { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.about .stat-row { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.about .stat b { display: block; font-size: 26px; font-weight: 900; color: var(--brand-red); }
.about .stat span { font-size: 12.5px; color: var(--ink-soft); }
.about .card { background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); text-align: center; }

/* Vídeos */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.video-card { position: relative; display: block; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; }
.video-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,15,18,0) 45%, rgba(13,15,18,0.85) 100%); }
.video-card .play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 1; width: 52px; height: 52px; border-radius: 999px; background: rgba(255,255,255,0.94); color: var(--brand-red); display: flex; align-items: center; justify-content: center; font-size: 19px; box-shadow: 0 8px 20px -6px rgba(0,0,0,0.4); }
.video-card .cap { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; color: #fff; font-size: 13.5px; font-weight: 800; }
.video-card .cap span { display: block; font-size: 11px; font-weight: 600; opacity: 0.78; margin-top: 2px; }

footer.site { background: #101215; color: rgba(255,255,255,0.72); padding: 48px 0 28px; font-size: 13.5px; }
footer.site .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
footer.site h5 { color: #fff; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 14px; }
footer.site .brand-foot { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
footer.site .brand-foot img { height: 30px; width: auto; max-width: none; flex-shrink: 0; filter: brightness(0) invert(1); opacity: 0.92; }
footer.site a { text-decoration: none; opacity: 0.82; }
footer.site .bottom { max-width: 1180px; margin: 32px auto 0; padding: 20px 24px 0; border-top: 1px solid rgba(255,255,255,0.12); font-size: 12px; opacity: 0.6; }

/* Contato */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; padding: 50px 0 70px; align-items: start; }
.contact-info h1 { font-size: clamp(26px, 3.4vw, 34px); }
.contact-info p { margin-top: 12px; max-width: 42ch; }
.contact-badges { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.contact-badges .item { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; }
.contact-badges .item .ic { width: 34px; height: 34px; border-radius: 999px; background: color-mix(in srgb, var(--brand-navy) 12%, transparent); color: var(--brand-navy); display: flex; align-items: center; justify-content: center; font-size: 16px; flex: none; }
.contact-form { background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 18px; }
.contact-form .sub { font-size: 13px; margin-top: 6px; }
.field { margin-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12.5px; font-weight: 700; color: var(--ink-soft); }
.field label .opt { font-weight: 500; opacity: 0.7; }
.field input, .field select, .field textarea { font: inherit; font-size: 14.5px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); }
.field-row { display: flex; gap: 14px; }
.field-row .field { flex: 1; }
.contact-form button.btn-primary { width: 100%; text-align: center; font: inherit; margin-top: 22px; }
.contact-form .privacy { font-size: 11.5px; color: var(--ink-soft); margin-top: 14px; text-align: center; }
.form-msg { margin-top: 16px; padding: 12px 16px; border-radius: 10px; font-size: 13.5px; }
.form-msg.ok { background: color-mix(in srgb, var(--whatsapp) 14%, transparent); color: #0d6b3f; }
.form-msg.err { background: color-mix(in srgb, var(--brand-red) 12%, transparent); color: var(--brand-red-deep); }

/* WooCommerce — estilização básica pra bater com a marca */
.woocommerce ul.products li.product .price { color: var(--brand-red); font-weight: 900; }
.woocommerce a.button, .woocommerce button.button, .woocommerce #respond input#submit,
.woocommerce-page a.button, .woocommerce-page button.button {
  background: var(--brand-navy) !important; color: #fff !important; border-radius: 10px !important;
  font-weight: 800 !important; border: none !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--brand-navy-deep) !important; }
.woocommerce div.product form.cart .button, .woocommerce #respond input#submit.alt,
.woocommerce a.button.alt, .woocommerce button.button.alt {
  background: var(--brand-red) !important;
}
.woocommerce div.product form.cart .button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--brand-red-deep) !important; }
.woo-page-wrap { padding: 40px 0 70px; }

/* Banner promocional compacto — reutilizado em todas as páginas de produto de colchão */
.promo-slot-sm {
  background: linear-gradient(135deg, var(--brand-navy-deep) 0%, var(--brand-navy) 55%, #2a5694 100%);
  color: #fff; border-radius: var(--radius); padding: 16px 22px; margin: 18px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.promo-slot-sm .tag {
  display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.28);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 6px;
}
.promo-slot-sm h3 { color: #fff; font-size: 15.5px; max-width: 42ch; margin: 0; }
.promo-slot-sm .bullets { display: flex; gap: 14px; margin-top: 6px; flex-wrap: wrap; font-size: 11.5px; font-weight: 700; color: rgba(255,255,255,0.9); }
.promo-slot-sm .bullets .gift { color: #ffd98a; }
@media (max-width: 880px) { .promo-slot-sm { flex-direction: column; align-items: flex-start; } }

@media (max-width: 880px) {
  nav.links { display: none; }
  .trust .wrap { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  footer.site .wrap { grid-template-columns: 1fr; }
  .offer-strip { flex-direction: column; align-items: flex-start; }
  .about { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .promo-slot .wrap { flex-direction: column; align-items: flex-start; }
  .contact-grid { grid-template-columns: 1fr; }
  .field-row { flex-direction: column; }
}
