/* ============================================================
   product-page.css — esqueleto COMPARTILHADO das páginas de produto
   (regeneradores). Classes genéricas .product-* / .hero-product*.
   Cada página define só seu :root (--accent + derivados) no seu CSS
   e carrega ESTE arquivo. Molde extraído de pdrn-factors (piloto).
   ============================================================ */

/* botão = base unificada do landing.css (acento + texto escuro) */

/* ── HERO — imagem full-screen (sem vídeo) ─────────────── */
.hero-product {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 100px 0 80px; background: var(--bg-dark); overflow: hidden;
}
.hero-product-video { position: absolute; inset: 0; pointer-events: none; }
.hero-product-video img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  display: block;
}
.hero-product-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(8,4,18,.92) 0%,
    rgba(8,4,18,.78) 45%,
    rgba(8,4,18,.50) 75%,
    rgba(8,4,18,.62) 100%
  );
}
@media (max-width: 768px) {
  .hero-product-video img { object-position: center 25%; }
  .hero-product-overlay {
    background: linear-gradient(
      to bottom,
      rgba(8,4,18,.12) 0%,
      rgba(8,4,18,.42) 50%,
      rgba(8,4,18,.85) 78%,
      rgba(8,4,18,.94) 100%
    );
  }
  .hero-product-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    animation: heroSlideUp .9s ease .35s both;
  }
  .hero-product .hero-title { margin-top: 85px; }
  /* o .hero-product-content é flex/align-items:flex-start (encolhe os filhos);
     forçar o container dos CTAs a ocupar a largura total p/ os botões 100% não
     ficarem com largura-de-conteúdo alinhados à esquerda */
  .hero-product .hero-ctas { flex-direction: column; width: 100%; }
  .hero-product .hero-ctas .btn { width: 100%; justify-content: center; }
}
@keyframes heroSlideUp {
  from { transform: translateY(14px); }
  to   { transform: translateY(0); }
}
@keyframes heroFadeUp {
  from { opacity: 0.05; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-product-content { position: relative; z-index: 1; max-width: 580px; }
.hero-product .hero-eyebrow { color: var(--regen); }
.hero-product .hero-title   { color: var(--white); }
.hero-product .hero-title em { color: color-mix(in srgb, var(--accent) 55%, #fff); font-style: italic; }
.hero-product .hero-sub     { color: rgba(255,255,255,.78); }
.product-stat-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,0,0,0.3); border: 1px solid var(--regen-border);
  border-radius: 99px; padding: 8px 20px; margin-bottom: 28px;
  font-size: .82rem; color: var(--regen); font-weight: 600; letter-spacing: .06em;
}
.product-stat-badge strong { font-size: 1.4rem; font-weight: 700; color: color-mix(in srgb, var(--accent) 55%, #fff); white-space: nowrap; }

/* ── AUTORIDADE CAMILA ─────────────────────────────────── */
.autoridade-imcas {
  position: relative; overflow: hidden;
  min-height: 420px; display: flex; align-items: center;
  background: var(--bg-dark);
}
.autoridade-imcas-img { position: absolute; inset: 0; }
.autoridade-imcas-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: right center; display: block;
}
.autoridade-imcas-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(20,10,30,.92) 0%,
    rgba(20,10,30,.80) 38%,
    rgba(20,10,30,.35) 62%,
    rgba(20,10,30,.05) 100%
  );
}
.autoridade-imcas-content {
  position: relative; z-index: 1;
  max-width: 520px; padding: 72px 0;
}
.autoridade-imcas-label {
  display: block; font-size: .72rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--regen); margin-bottom: 14px;
}
.autoridade-imcas-content h2 {
  font-family: var(--font-serif); font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 500; color: #fff; line-height: 1.15; margin-bottom: 18px;
}
.autoridade-imcas-content h2 em { color: color-mix(in srgb, var(--accent) 55%, #fff); font-style: italic; }
.autoridade-imcas-content p {
  font-size: .93rem; color: rgba(255,255,255,.68); line-height: 1.8; margin-bottom: 14px;
}
.autoridade-imcas-content .btn-primary { margin-top: 8px; }
.autoridade-imcas-portrait { display: none; }
@media (max-width: 768px) {
  .autoridade-imcas { min-height: unset; flex-direction: column; align-items: stretch; }
  .autoridade-imcas-img, .autoridade-imcas-overlay { display: none; }
  .autoridade-imcas-portrait {
    display: block; width: 100%; height: 340px; overflow: hidden;
  }
  .autoridade-imcas-portrait img {
    width: 100%; height: 100%; object-fit: cover; object-position: center 38%; display: block;
  }
  .autoridade-imcas-content { padding: 32px 0 48px; max-width: 100%; }
}

/* ── SELOS CONGRESSOS ──────────────────────────────────── */
.comunidade-selos {
  padding: 28px 0;
  background: var(--bg-dark);
  border-top: 1px solid var(--regen-dim);
  border-bottom: 1px solid var(--regen-dim);
}
.comunidade-selos-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 32px; flex-wrap: wrap;
}
.comunidade-selos-label {
  font-size: .68rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.4);
  flex-basis: 100%; text-align: center; margin-bottom: 4px;
}
.comunidade-selo {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .68rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: rgba(255,255,255,.65);
  text-decoration: none;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); border-radius: 99px;
  padding: 5px 12px;
  transition: border-color .2s, color .2s;
  white-space: nowrap;
}
.comunidade-selo:hover { border-color: var(--regen); color: #fff; }
.comunidade-selo svg { flex-shrink: 0; }
@media (max-width: 480px) {
  .comunidade-selos-inner { gap: 8px; }
  .comunidade-selo { font-size: .62rem; padding: 4px 10px; }
}

/* ── TECNOLOGIA ────────────────────────────────────────── */
.product-tech { padding: var(--section-py) 0; background: var(--bg-alt); }
.product-tech-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: center; }
@media (max-width: 860px) { .product-tech-inner { grid-template-columns: 1fr; gap: 36px; } }
.product-tech-img {
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 1;
  background: #000;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 80px color-mix(in srgb, var(--accent) 14%, transparent);
}
.product-tech-img img { width: 78%; height: 78%; object-fit: contain; }
.product-tech-texto .section-label {
  display: block; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--regen); margin-bottom: 14px;
}
.product-tech-texto h2 {
  font-family: var(--font-serif); font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 500; color: var(--text); line-height: 1.15; margin-bottom: 20px;
}
.product-tech-texto p { font-size: .93rem; color: var(--text-muted); line-height: 1.75; }
.product-tech-texto p + p { margin-top: 14px; }

/* ── DIFERENCIAIS ──────────────────────────────────────── */
.product-difs { padding: var(--section-py) 0; background: var(--bg-dark); }
.product-difs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
@media (max-width: 640px) { .product-difs-grid { grid-template-columns: 1fr; } }
.product-dif-card {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius); padding: 28px 24px; transition: border-color .25s;
}
.product-dif-card:hover { border-color: var(--regen-border); }
.product-dif-icon {
  width: 36px; height: 36px; background: var(--regen-dim); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--regen);
}
.product-dif-icon svg { width: 18px; height: 18px; }
.product-dif-card h3 { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.product-dif-card p { font-size: .85rem; color: rgba(255,255,255,.5); line-height: 1.65; }

/* ── CAMPANHA ──────────────────────────────────────────── */
.product-campanha { padding: var(--section-py) 0; background: var(--bg-alt); }
.product-campanha-inner {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: center;
}
@media (max-width: 860px) {
  .product-campanha-inner { grid-template-columns: 1fr; gap: 36px; }
  .product-campanha-visual { order: -1; }
}
.product-campanha-visual { margin: 0; border-radius: var(--radius); overflow: hidden; }
.product-campanha-visual img { width: 100%; height: auto; display: block; }
.product-campanha-video { border-radius: var(--radius); overflow: hidden; margin-top: 20px; }
.product-campanha-video video,
.product-campanha-video img { width: 100%; height: auto; display: block; }
.product-campanha-label {
  display: block; font-size: .72rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--regen); margin-bottom: 14px;
}
.product-campanha-texto h2 {
  font-family: var(--font-serif); font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 500; color: var(--text); line-height: 1.15; margin-bottom: 20px;
}
.product-campanha-texto h2 em { font-style: italic; color: var(--regen); }
.product-campanha-texto p { font-size: .93rem; color: var(--text-muted); line-height: 1.75; }
.product-campanha-texto p + p { margin-top: 14px; }
.product-campanha-texto .btn { margin-top: 28px; }

/* ── PROTOCOLO ─────────────────────────────────────────── */
.product-protocolo { padding: var(--section-py) 0; background: var(--bg-alt); }
.product-protocolo-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 860px) { .product-protocolo-inner { grid-template-columns: 1fr; gap: 40px; } }
.product-protocolo h2 {
  font-family: var(--font-serif); font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 500; color: var(--text); line-height: 1.15; margin-bottom: 24px;
}
.product-protocolo-steps { display: flex; flex-direction: column; gap: 20px; }
.product-step { display: flex; gap: 16px; align-items: flex-start; }
.product-step-num {
  flex-shrink: 0; width: 32px; height: 32px;
  background: var(--regen-dim); border: 1px solid var(--regen-border);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 700; color: var(--regen);
}
.product-step-text h3 { font-size: .9rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.product-step-text p  { font-size: .84rem; color: var(--text-muted); line-height: 1.6; }
.product-protocolo-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.product-stat-card {
  background: var(--bg-dark); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius); padding: 24px 20px;
}
.product-stat-card .stat-n { font-size: 2rem; font-weight: 700; color: var(--regen); line-height: 1; font-family: var(--font-sans); margin-bottom: 6px; }
.product-stat-card .stat-l { font-size: .78rem; font-weight: 500; color: var(--text-muted); letter-spacing: .06em; }

/* ── FICHA TÉCNICA ─────────────────────────────────────── */
.product-ficha { padding: var(--section-py) 0; background: var(--bg-dark); }
.product-ficha-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 860px) { .product-ficha-inner { grid-template-columns: 1fr; gap: 40px; } }
.product-specs-list { display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); overflow: hidden; }
.product-spec-row { display: grid; grid-template-columns: 160px 1fr; border-bottom: 1px solid rgba(255,255,255,.06); }
.product-spec-row:last-child { border-bottom: none; }
.product-spec-label { padding: 14px 18px; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--regen); background: var(--regen-dim); border-right: 1px solid rgba(255,255,255,.06); }
.product-spec-value { padding: 14px 18px; font-size: .88rem; color: rgba(255,255,255,.75); line-height: 1.5; }

/* ── CTA FINAL ─────────────────────────────────────────── */
.product-cta { padding: 90px 0; background: var(--bg-alt); text-align: center; }
.product-cta h2 { font-family: var(--font-serif); font-size: clamp(2rem, 5vw, 3rem); font-weight: 500; color: var(--text); margin-bottom: 14px; }
.product-cta p { font-size: 1rem; color: var(--text-muted); margin-bottom: 40px; }
.product-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.composicao-pill { color: var(--accent-ink); }

/* ─── CONTENT-VISIBILITY: pula layout de seções abaixo do fold ── */
.product-tech,
.product-difs,
.product-protocolo,
.product-ficha,
.product-campanha,
.product-cta {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}
