/* =========================================================
   JB Magnéticos — Landing Page de Captação
   Paleta: azul-marinho profundo + dourado, fundo claro
   Tipografia: Playfair Display (títulos) + Inter (corpo)
   ========================================================= */

:root {
  --navy-900: #0E2038;
  --navy-800: #142A47;
  --navy-700: #1C3B60;
  --gold-500: #C9963F;
  --gold-400: #D9AE66;
  --gold-100: #F3E4C8;
  --cream: #FAF6EF;
  --cream-dark: #F1EAD9;
  --white: #FFFFFF;
  --ink: #1B2430;
  --ink-soft: #4B5768;
  --line: #E4DCC9;

  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", -apple-system, sans-serif;

  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 20px 45px -20px rgba(14, 32, 56, 0.25);
  --shadow-card: 0 10px 30px -12px rgba(14, 32, 56, 0.18);

  --container-max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.15; margin: 0; }

p { margin: 0; }

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
}

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

.container--narrow { max-width: 780px; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-900);
  color: var(--gold-100);
  text-align: center;
  padding: 8px 16px;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.topbar p { margin: 0; }

/* ---------- Header ---------- */
.header {
  background: var(--navy-900);
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(201, 150, 63, 0.25);
}

.header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.1;
  min-width: 0;
}

.header__logo-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}

.header__logo-text {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--gold-500);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.header__tagline {
  font-size: 0.62rem;
  color: rgba(243, 228, 200, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
  white-space: nowrap;
}

.header__cta {
  white-space: nowrap;
  font-size: 0.78rem;
  padding: 9px 14px;
  flex-shrink: 0;
}

.header__cta-full { display: none; }
.header__cta-short { display: inline; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 15px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  text-align: center;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--navy-900);
  box-shadow: 0 12px 28px -10px rgba(201, 150, 63, 0.55);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -10px rgba(201, 150, 63, 0.65);
}

.btn--navy {
  background: var(--navy-900);
  color: var(--white);
}

.btn--navy:hover {
  background: var(--navy-700);
  transform: translateY(-2px);
}

.btn--outline-light {
  border-color: rgba(201, 150, 63, 0.6);
  color: var(--gold-100);
  background: transparent;
}

.btn--outline-light:hover {
  background: rgba(201, 150, 63, 0.12);
}

.btn--lg {
  padding: 18px 38px;
  font-size: 1.02rem;
}

.microcopy {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.microcopy--light {
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-500);
  margin-bottom: 14px;
  display: block;
}

.eyebrow--light { color: var(--gold-400); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Hero com produto: empilha texto + colchão + selos verticalmente */
.hero--product {
  flex-direction: column;
  justify-content: center;
  padding: 118px 0 40px;
  min-height: auto;
}
.hero--product .hero__content {
  padding-top: 0;
  padding-bottom: 0;
}

/* Camada de ambiente: luz quente vinda de baixo, como um quarto ao entardecer */
.hero__ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 118%, rgba(201, 150, 63, 0.28) 0%, rgba(201, 150, 63, 0.08) 30%, rgba(14, 32, 56, 0) 62%),
    radial-gradient(90% 60% at 50% -10%, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 60%);
}

/* Vitrine do colchão no hero */
.hero__product-shot {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 860px;
  margin: 4px auto 8px;
  padding: 0 16px;
}
.hero__product-shot picture,
.hero__product-shot img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 40px 55px rgba(0, 0, 0, 0.55));
}
.hero__product-glow {
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: 6%;
  width: 82%;
  height: 60%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(201, 150, 63, 0.42) 0%, rgba(201, 150, 63, 0.12) 55%, rgba(201, 150, 63, 0) 100%);
  filter: blur(8px);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 32, 56, 0.78) 0%, rgba(14, 32, 56, 0.72) 45%, rgba(14, 32, 56, 0.9) 100%);
}

/* ---------- Hero — fundo CSS premium (sem foto) ----------
   Substitui a foto de baixa resolução (colchobel-5.jpg, esticada
   4x no hero, ficava pixelada). Gradiente azul-marinho com textura
   dourada sutil (radial-gradients a 3-4% opacidade) + padrão fino
   de linhas diagonais. Reativar HERO-FOTO no HTML quando chegar
   imagem ambiente >=1920px. */
.hero--css-bg {
  background-color: var(--navy-900);
  background-image:
    radial-gradient(circle at 15% 20%, rgba(201, 150, 63, 0.16) 0%, rgba(201, 150, 63, 0) 45%),
    radial-gradient(circle at 85% 78%, rgba(201, 150, 63, 0.12) 0%, rgba(201, 150, 63, 0) 50%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0px, rgba(255, 255, 255, 0.025) 1px, transparent 1px, transparent 34px),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 100%);
}

.hero--css-bg .hero__overlay,
.hero--css-bg .hero__bg { display: none; }

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 32px;
  text-align: center;
  color: var(--white);
}

.hero__title {
  font-size: clamp(1.9rem, 5.6vw, 3.1rem);
  color: var(--white);
  margin-bottom: 20px;
  text-wrap: balance;
}

.hero__subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 34px;
}

.trust-strip {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  text-align: left;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.trust-strip li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.92);
}

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--gold-400);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-strip .icon:first-child { fill: var(--gold-400); stroke: none; }

/* ---------- Sections ---------- */
.section {
  padding: 88px 0;
}

.section--white { background: var(--white); }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy-900); color: var(--white); }

.section__title {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  color: var(--navy-900);
  margin-bottom: 26px;
  text-wrap: balance;
}

.section__title--light { color: var(--white); }
.section__title--center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }

.section__header--center { text-align: center; max-width: 640px; margin: 0 auto 56px; }

.section__lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.section__lead--light { color: var(--gold-100); }

/* ---------- Prose ---------- */
.prose {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.prose--center { text-align: center; max-width: 700px; margin: 0 auto; }
.prose--light { color: rgba(255, 255, 255, 0.88); }

.prose__highlight {
  font-weight: 600;
  color: var(--navy-900);
}

.prose__highlight--light { color: var(--gold-100); }

.bridge {
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--navy-900);
  margin-top: 40px;
}

/* ---------- Split layout (image + text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.split__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* Media de PRODUTO recortado (PNG/WebP transparente da fábrica).
   Sem moldura/box-shadow/crop: o colchão "flutua" com sombra própria. */
.split__media--product img,
.diff-grid__media--product img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  background: none;
  filter: drop-shadow(0 26px 34px rgba(14, 32, 56, 0.28));
}
.diff-grid__media--product { max-width: 100%; }
.diff-grid__media--product img {
  /* fundo navy: sombra mais suave e escura para não "sujar" */
  filter: drop-shadow(0 24px 32px rgba(0, 0, 0, 0.45));
}

.split__caption {
  margin-top: 14px;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.eyebrow--center { text-align: center; }

.split__text .btn { margin-top: 8px; }

.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px 0;
}

.check-list li {
  padding-left: 28px;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
}

/* ---------- Diferenciais ---------- */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.diff-grid__media img {
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px -18px rgba(0,0,0,0.5);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.diff-grid__caption {
  margin-top: 16px;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold-400);
}

.diff-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.diff-item {
  display: flex;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(201, 150, 63, 0.2);
}

.diff-item:last-child { border-bottom: none; padding-bottom: 0; }

.diff-item__number {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--gold-500);
  flex-shrink: 0;
  width: 42px;
}

.diff-item h3 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 8px;
}

.diff-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- Steps (trade-in) ---------- */
.steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 8px 0 32px;
}

.steps__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.steps__number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-400);
  font-family: var(--font-serif);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps__item p {
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.5;
  padding-top: 5px;
}

/* ---------- Proof grid ---------- */
.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 44px 0 56px;
}

.proof-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 26px;
}

.proof-card h3 {
  font-size: 1.15rem;
  color: var(--navy-900);
  margin-bottom: 12px;
}

.proof-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ---------- Video proof (hidden, ready to activate) ---------- */
.video-proof {
  margin-top: 48px;
  text-align: center;
}

.video-proof__title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--navy-900);
  margin-bottom: 20px;
}

.video-proof__frame {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.video-proof__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-proof__sub {
  color: var(--ink-soft, #4a5568);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

/* Shorts verticais (9:16) em grade */
.video-proof__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 280px;
  margin: 0 auto;
}

.video-proof__frame--short {
  aspect-ratio: 9 / 16;
  max-width: 280px;
}

@media (min-width: 720px) {
  .video-proof__grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 880px;
  }
}

/* ---------- Testimonials (hidden, ready to activate) ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
}

.testimonial-card__quote {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--navy-900);
  margin-bottom: 10px;
}

.testimonial-card__author {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---------- Accordion (FAQ) ----------
   Implementado com <details>/<summary> nativo: acessível por teclado
   e leitor de tela por padrão do navegador, e o conteúdo permanece
   disponível mesmo se script.js falhar ou não carregar (progressive
   enhancement). A transição suave (grid-template-rows 0fr -> 1fr)
   só é aplicada quando o JS adiciona a classe .accordion--enhanced;
   sem JS, o <details> abre/fecha instantaneamente (sem animação) mas
   continua 100% funcional e acessível — inclusive por teclado. Como
   o wrapper tem overflow:hidden só no miolo (.accordion__panel-inner),
   o texto nunca é cortado — mesmo com zoom de fonte alto, o grid
   recalcula a altura da linha 1fr automaticamente. */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 36px;
}

.accordion__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

/* Remove o marcador padrão do <summary> (seta/triângulo nativo) */
.accordion__trigger {
  list-style: none;
  cursor: pointer;
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy-900);
}

.accordion__trigger::-webkit-details-marker { display: none; }
.accordion__trigger::marker { content: ""; }

.accordion__trigger::after {
  content: "+";
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--gold-500);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.accordion__item[open] > .accordion__trigger::after {
  transform: rotate(45deg);
}

.accordion__panel {
  padding: 0 24px 22px;
}

/* Progressive enhancement: com JS ativo (.accordion--enhanced), o
   painel some do fluxo via grid 0fr e ganha transição suave; o
   <details open> continua controlando a exibição real via CSS
   nativo do navegador, então mesmo sem JS o conteúdo abre/fecha. */
.accordion--enhanced .accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  padding-top: 0;
  padding-bottom: 0;
  transition: grid-template-rows 0.3s ease, padding 0.3s ease;
}

.accordion--enhanced .accordion__item[open] > .accordion__panel {
  grid-template-rows: 1fr;
  padding-bottom: 22px;
}

.accordion__panel-inner {
  overflow: hidden;
  min-height: 0;
}

.accordion__panel p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.faq-cta {
  text-align: center;
  margin-top: 44px;
}

/* ---------- CTA final (hero variant) ---------- */
.hero--cta {
  min-height: auto;
  padding: 0;
}

.hero--cta .hero__content--cta {
  padding: 100px 24px;
  max-width: 680px;
}

.hero--cta .hero__title {
  margin-bottom: 24px;
}

.hero--cta .prose {
  margin-bottom: 36px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 32px;
  border-top: 2px solid var(--gold-500);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
  align-items: center;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer__logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--gold-500);
}

/* ---------- Monograma JB (selo da marca) ---------- */
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-500);
  color: var(--gold-400);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.brand-mark--lg {
  width: 46px;
  height: 46px;
  font-size: 1.05rem;
}

.footer__brand p {
  margin-top: 6px;
  font-size: 0.85rem;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
}

.footer__list a:hover { color: var(--gold-400); }

.footer__copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  width: 100%;
  max-width: 400px;
}

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px -6px rgba(0, 0, 0, 0.4);
  z-index: 50;
  animation: float-pulse 2.6s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.06);
}

@keyframes float-pulse {
  0%, 100% { box-shadow: 0 10px 26px -6px rgba(0,0,0,0.4), 0 0 0 0 rgba(37, 211, 102, 0.55); }
  50% { box-shadow: 0 10px 26px -6px rgba(0,0,0,0.4), 0 0 0 10px rgba(37, 211, 102, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { animation: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive — tablet & desktop
   ========================================================= */

@media (min-width: 480px) {
  .header__cta-full { display: inline; }
  .header__cta-short { display: none; }
  .header__logo-text { font-size: 1.3rem; }
  .header__tagline { font-size: 0.65rem; letter-spacing: 0.14em; }
  .header__cta { font-size: 0.82rem; padding: 10px 18px; }
}

@media (min-width: 640px) {
  .proof-grid { grid-template-columns: repeat(3, 1fr); }
  /* Diferenciais em 2 colunas: quebra o monobloco vertical sobre navy */
  .diff-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 34px;
  }
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .split--reverse .split__media { order: 2; }
  .split--reverse .split__text { order: 1; }

  .diff-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 64px;
    align-items: start;
  }

  .diff-grid__media {
    position: sticky;
    top: 110px;
  }

  .hero__content { padding: 140px 24px 90px; }

  .section { padding: 120px 0; }

  .hero--product { padding: 128px 0 48px; }
  .hero--product .hero__product-shot { max-width: 940px; margin-top: 10px; }
}

@media (min-width: 1024px) {
  .container { padding: 0 32px; }
}


/* ============================================================
   GUIA DE MODELOS — Luxury Collection / World Signature
   Anexado ao styles.css do site da JB Magnéticos
   ============================================================ */

.guia__intro {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 1.03rem;
  line-height: 1.7;
}

.guia {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

/* ---------- filtros de firmeza ---------- */
.guia__filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 20px 0;
  justify-content: center;
}

.guia__filtro {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.guia__filtro span { opacity: 0.6; font-weight: 500; }
.guia__filtro:hover { border-color: var(--gold-400); color: var(--ink); }

.guia__filtro.is-active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}
.guia__filtro.is-active span { opacity: 0.75; }

/* ---------- abas de modelo ---------- */
.guia__tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 18px 20px;
  margin-top: 4px;
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.guia__tabs::-webkit-scrollbar { height: 6px; }
.guia__tabs::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

.guia__tab {
  flex: none;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s;
}

.guia__tab:hover { background: var(--cream); color: var(--ink); }

.guia__tab.is-active {
  background: var(--gold-100);
  border-color: var(--gold-400);
  color: var(--navy-900);
}

.guia__tab:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
}

.guia__tab[hidden] { display: none; }

/* ---------- painel do modelo ---------- */
.guia__painel { display: none; }
.guia__painel.is-active { display: grid; }

.guia__painel {
  grid-template-columns: 1fr;
  gap: 0;
}

.guia__figura {
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.guia__figura img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
}

.guia__dados { padding: 28px 24px 32px; }

.guia__linha {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin: 0 0 6px;
}

.guia__nome {
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.1;
  color: var(--navy-900);
  margin: 0 0 10px;
}

.guia__destaque {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 18px;
}

/* ---------- selos ---------- */
.guia__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}

.guia__badge {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
}

.guia__badge--macio { background: #EAF4FB; border-color: #BFDCEF; color: #1D5E86; }
.guia__badge--intermediario { background: var(--gold-100); border-color: var(--gold-400); color: #7A5716; }
.guia__badge--firme { background: #ECEEF2; border-color: #C8CEDA; color: #34435C; }

/* ---------- ficha técnica ---------- */
.guia__specs {
  margin: 0 0 24px;
  border-top: 1px solid var(--line);
}

.guia__specs > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.guia__specs dt {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.guia__specs dd {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink);
}

.guia__specs dd span { color: var(--ink-soft); font-size: 0.86rem; }

.guia__nota {
  margin: 14px 0 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ---------- responsivo ---------- */
@media (min-width: 860px) {
  .guia__painel.is-active { grid-template-columns: 1.05fr 1fr; }
  .guia__figura { padding: 32px; }
  .guia__dados { padding: 36px 34px 38px; }
  .guia__nome { font-size: 2.3rem; }
  .guia__specs > div { grid-template-columns: 190px 1fr; gap: 16px; align-items: baseline; }
  .guia__specs dt { padding-top: 2px; }
}

@media (max-width: 520px) {
  .guia__filtros { padding: 16px 14px 0; }
  .guia__filtro { font-size: 0.8rem; padding: 8px 14px; }
  .guia__tabs { padding: 14px; }
  .guia__dados { padding: 24px 18px 28px; }
  .guia__nome { font-size: 1.7rem; }
}

