/* ═══════════════════════════════════════════════════════
   STB JAPAN — conteúdo das páginas internas (v3, set/2026)
   Substitui style.css + site2.css + home.css + products.css:
   só as regras que as páginas geradas usam, nos tokens da
   casca (css/site.css, carregado depois deste arquivo).
   ═══════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { font-size: 16px; }
body { line-height: 1.6; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, svg { display: block; }
table { border-collapse: collapse; }
button, input, textarea, select { font: inherit; color: inherit; }

.container { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.page-content { padding-block: var(--band); background: var(--paper); }

/* ═══════════ SOBRE (about) ═══════════ */
.about-subnav {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 0;
  border-bottom: 1px solid var(--line); background: var(--paper);
}
.about-subnav a {
  position: relative; padding: 22px clamp(18px, 3vw, 40px);
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.08em; color: var(--ink-soft);
  transition: color 0.3s;
}
.about-subnav a::after {
  content: ''; position: absolute; left: 50%; right: 50%; bottom: -1px; height: 1px; background: var(--navy);
  transition: left 0.45s var(--ease-expo), right 0.45s var(--ease-expo);
}
.about-subnav a:hover { color: var(--navy); }
.about-subnav a:hover::after { left: 18%; right: 18%; }

.about-section {
  max-width: 940px; margin: 0 auto;
  padding: clamp(72px, 11vh, 128px) var(--gutter) 0;
  scroll-margin-top: calc(var(--hdr-h) + 12px);
}
.about-section:has(+ .closing-sec), .about-section:last-child { padding-bottom: var(--band); }
.mv-block + .mv-block { margin-top: clamp(72px, 10vh, 112px); }
.mv-h2 {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px;
  padding-top: 18px; margin-bottom: 40px; border-top: 1px solid var(--navy);
  font-family: var(--font-display); font-weight: 300; font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.1;
  letter-spacing: 0.02em; color: var(--navy);
}
.mv-h2 span { font-family: var(--font-body); font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; color: var(--ink-soft); }
.mv-title {
  font-family: var(--font-mincho); font-weight: 600; color: var(--navy);
  font-size: clamp(1.35rem, 2.3vw, 1.85rem); line-height: 1.6; letter-spacing: 0.05em;
  margin-bottom: 34px;
}
.mv-title:lang(pt), .mv-title:lang(en) { font-family: var(--font-display); font-weight: 400; letter-spacing: 0; line-height: 1.3; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.mv-sub { margin: -18px 0 44px; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.9; }
/* fotos sangradas de ponta a ponta, saindo da coluna de leitura */
.mv-img, .prof-img {
  width: 100%; height: clamp(240px, 36vw, 440px); object-fit: cover; border-radius: 2px; margin-bottom: 44px;
}
.mv-img--message { margin: 56px 0 0; object-position: 50% 30%; }
.mv-text p { line-height: 2.05; margin-bottom: 18px; }
.mv-text p:last-child { margin-bottom: 0; }
.mv-text--letter p { font-size: 1.04rem; margin-bottom: 22px; }

.leaders { display: flex; justify-content: flex-end; gap: 40px; margin-top: 44px; }
.leader-item { padding-left: 22px; border-left: 1px solid var(--navy); }
.leader-title { margin-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: var(--ink-soft); }
.leader-name { font-family: var(--font-mincho); font-weight: 600; font-size: 1.35rem; letter-spacing: 0.08em; color: var(--navy); }

.profile-table { width: 100%; border-top: 1px solid var(--navy); }
.profile-table tr { border-bottom: 1px solid var(--line); }
.profile-table th {
  width: 26%; padding: 20px 20px 20px 0; vertical-align: top; text-align: left; white-space: nowrap;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; color: var(--ink-soft);
}
.profile-table td { padding: 18px 0; font-size: 0.98rem; line-height: 1.85; color: var(--navy); }
.profile-table__en { font-size: 0.9rem; color: var(--ink-soft); }

/* ═══════════ NEGÓCIOS (business): faixas .biz da casca + lista ═══════════ */
.business-list { margin-top: 26px; border-top: 1px solid var(--line); }
.business-list li { position: relative; padding: 13px 0 13px 22px; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--navy); }
.business-list li::before { content: ''; position: absolute; left: 0; top: 50%; top: calc(13px + 0.5lh); width: 10px; height: 1px; background: var(--navy); }

/* ═══════════ CONTATO ═══════════ */
.contact-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-info-block { padding: clamp(32px, 4vw, 52px); background: var(--mist); border-top: 1px solid var(--navy); }
.contact-co { margin-bottom: 30px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 2.4vw, 2.2rem); color: var(--navy); }
.info-item + .info-item { margin-top: 22px; }
.info-item h3 { margin-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: var(--ink-soft); }
.info-item p { font-size: 1.02rem; line-height: 1.8; color: var(--navy); }
.info-item a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; transition: text-decoration-color 0.3s; }
.info-item a:hover { text-decoration-color: var(--navy); }
.info-item--hours { margin-top: 30px !important; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-intro { margin-bottom: 30px; color: var(--ink-soft); line-height: 1.9; }
.contact-form .form-group { margin-bottom: 24px; }
.contact-form label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: var(--navy); }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 15px 18px;
  font-size: 16px; /* 16px: o iPhone não dá zoom ao focar */
  color: var(--ink); background: var(--mist);
  border: 1px solid transparent; border-bottom-color: rgba(10, 25, 47, 0.28); border-radius: 0;
  -webkit-appearance: none; appearance: none;
  transition: border-color 0.3s, background-color 0.3s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #6B7482; opacity: 1; }
.contact-form input:hover, .contact-form textarea:hover { border-bottom-color: var(--navy); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; background: #fff; border-color: var(--navy); }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.contact-form textarea { min-height: 170px; resize: vertical; }
/* campo-armadilha para robôs: fora da tela, nunca visível nem focável */
.contact-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 54px; padding: 0 30px; cursor: pointer;
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.1em;
  color: var(--navy); background: transparent; border: 1px solid var(--navy); border-radius: 2px;
  transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out);
}
.btn-submit:hover { background: var(--navy); color: #fff; }
.btn-submit:disabled { opacity: 0.55; cursor: progress; }
.form-status { margin-top: 16px; min-height: 1.7em; font-size: 0.95rem; line-height: 1.7; }
.form-status.is-ok { color: #1f6f4a; }
.form-status.is-err { color: #b3261e; }

/* ═══════════ PERFIL (padrão madeinbrazil.jp) ═══════════ */
.pprof { padding: 0; }
.pprof__body { max-width: var(--wrap); margin: 0 auto; padding: clamp(36px, 6vh, 64px) var(--gutter) 0; }
.pback {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; padding: 8px 0;
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft);
  transition: color 0.3s;
}
.pback:hover { color: var(--navy); }
.pback__arr { transition: transform 0.35s var(--ease-out); }
.pback:hover .pback__arr { transform: translateX(-4px); }
/* foto do perfil sangrada no topo, sob o header transparente */
.pfig { position: relative; width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: clamp(16px, 2.4vw, 28px) auto 0; height: clamp(300px, 38vw, 520px); overflow: hidden; border-radius: 2px; background: var(--navy-deep); }
.pfig img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); animation: tile-settle 2.4s var(--ease-expo) both; }
.pid { display: flex; align-items: center; gap: 32px; margin-bottom: 30px; }
.pid__logo { flex-shrink: 0; width: auto; height: auto; max-width: 150px; max-height: 64px; }
.pid__title {
  font-family: var(--font-mincho); font-weight: 600; color: var(--navy);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.3; letter-spacing: 0.04em;
}
.pid__title:lang(pt), .pid__title:lang(en) { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; line-height: 1.1; font-size: clamp(2.2rem, 4vw, 3.4rem); }
.pid__meta:lang(ja) { word-break: auto-phrase; }
.pid__meta { margin-top: 12px; font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }
.plead { max-width: 46em; line-height: 2.05; color: var(--ink); }
.plead p + p { margin-top: 18px; }
.pchips { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 4px; }
.pchips span { padding: 8px 14px; font-size: 12.5px; color: var(--navy); background: var(--mist); border-radius: 2px; }
.pctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 34px 0 4px; }
.pbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-align: center;
  min-height: 50px; padding: 0 28px;
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.06em;
  color: #fff; background: var(--navy); border: 1px solid var(--navy); border-radius: 2px;
  transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out);
}
.pbtn:hover { background: var(--navy-2); border-color: var(--navy-2); }
.pbtn--line { color: var(--navy); background: transparent; }
.pbtn--line:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.pbtn__ext { opacity: 0.8; }
.psec { max-width: var(--wrap); margin: 0 auto; padding: clamp(72px, 10vh, 104px) var(--gutter) 0; }
main > .psec:has(+ .closing-sec), main > .psec:last-child { padding-bottom: var(--band); }
.psec__title { margin-bottom: 30px; font-family: var(--font-mincho); font-weight: 600; font-size: clamp(1.4rem, 2.2vw, 1.9rem); letter-spacing: 0.05em; color: var(--navy); }
.psec__title:lang(pt), .psec__title:lang(en) { font-family: var(--font-display); font-weight: 400; letter-spacing: 0; font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.psec__note { max-width: 46em; margin-top: 28px; line-height: 2.05; color: var(--ink-soft); }

/* ═══════════ LEITURA (tocoferol, pet food, T-One) ═══════════ */
.reading-section { padding: clamp(72px, 10vh, 104px) 0 var(--band); }
.reading-container { max-width: 860px; }
.rsec { padding-top: 34px; margin-top: 40px; border-top: 1px solid var(--line); }
.rsec--first { padding-top: 0; margin-top: 0; border-top: 0; }
.rsec h2 { margin-bottom: 16px; font-family: var(--font-mincho); font-weight: 600; font-size: 1.4rem; letter-spacing: 0.04em; color: var(--navy); }
.rsec h2:lang(pt), .rsec h2:lang(en) { font-family: var(--font-display); font-weight: 400; letter-spacing: 0; font-size: 1.7rem; }
.rsec p { line-height: 2.05; }
.image-block { margin: 48px 0; }
.image-block--first { margin-top: 0; }
.image-block img { width: 100%; height: auto; border-radius: 2px; }
.image-caption { margin-top: 14px; font-size: 0.86rem; line-height: 1.8; color: var(--ink-soft); }
.strip3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.strip3 img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 2px; }
.valduga-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.valduga-gallery img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 2px; }

/* ═══════════ PET FOOD (tabela de ingredientes) ═══════════ */
.pf-intro { padding-bottom: 24px; background: var(--mist); }
.pf-intro .reading-container { margin: 0 auto; }
.pf-intro__head { margin-bottom: 44px; text-align: center; }
.pf-intro__head h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.1; color: var(--navy); }
.pf-intro__head .pair { justify-content: center; }
.pf-intro__card { padding: clamp(28px, 5vw, 56px); background: #fff; border-radius: 2px; }
.pf-intro__card p { line-height: 1.95; margin-bottom: 16px; }
.pf-intro__card p:last-child { margin-bottom: 0; }
.pf-intro__lead { padding-bottom: 18px; margin-bottom: 26px !important; border-bottom: 1px solid var(--line); text-align: center; font-family: var(--font-mincho); font-weight: 600; font-size: 1.1rem; color: var(--navy); }

.products-page { padding: clamp(56px, 8vh, 88px) 0 var(--band); background: var(--mist); }
.category-section + .category-section { margin-top: clamp(72px, 10vh, 104px); }
.category-title {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px;
  padding-top: 16px; margin-bottom: 34px; border-top: 1px solid var(--navy);
  font-family: var(--font-display); font-weight: 300; font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.1; color: var(--navy);
}
.category-title span { font-family: var(--font-body); font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; color: var(--ink-soft); }
.category-lead { margin-bottom: 26px; line-height: 1.9; }
.petfood-list-card { display: grid; grid-template-columns: 260px minmax(0, 1fr); margin-bottom: 24px; background: #fff; border-radius: 2px; overflow: hidden; }
.petfood-image-block { display: flex; align-items: center; justify-content: center; padding: 28px; }
.petfood-image-block img { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; }
.petfood-image-block img.is-round { border-radius: 50%; }
.petfood-content { padding: clamp(24px, 3vw, 36px); border-left: 1px solid var(--line); }
.petfood-content h3 { margin-bottom: 10px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.45rem, 2vw, 1.8rem); color: var(--navy); }
.petfood-desc { margin-bottom: 24px; font-size: 0.95rem; line-height: 1.8; color: var(--ink-soft); }
.petfood-tables { display: flex; align-items: flex-start; gap: 18px; }
.petfood-tables--single { max-width: 50%; }
.petfood-table { width: 100%; font-size: 0.85rem; font-variant-numeric: tabular-nums lining-nums; }
.petfood-table th, .petfood-table td { padding: 8px 12px; text-align: left; border: 1px solid var(--line); }
.petfood-table th { font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; color: #fff; background: var(--navy); }
.petfood-table th[colspan="4"] { text-align: center; color: var(--navy); background: #E6E9EE; }
.petfood-table td { color: var(--ink); }
.coproducts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 24px; padding: clamp(24px, 4vw, 40px); background: #fff; border-radius: 2px; }
.coproducts-grid li { position: relative; padding-left: 18px; font-size: 0.92rem; line-height: 1.6; }
.coproducts-grid li::before { content: ''; position: absolute; left: 0; top: 0.8em; width: 8px; height: 1px; background: var(--navy); }

/* ═══════════ responsivo ═══════════ */
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .petfood-list-card { grid-template-columns: minmax(0, 1fr); }
  .petfood-content, .petfood-tables, .petfood-table { min-width: 0; }
  .petfood-tables { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .petfood-image-block { padding: 24px 20px 0; }
  .petfood-image-block img { max-width: 220px; }
  .petfood-content { border-left: 0; }
  .petfood-tables { flex-direction: column; }
  .petfood-tables--single { max-width: none; }
  .coproducts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .about-subnav a { padding: 18px 14px; font-size: 12.5px; }
  .profile-table th { width: 34%; white-space: normal; padding: 14px 10px 14px 0; font-size: 11.5px; }
  .profile-table td { padding: 13px 0; font-size: 0.92rem; }
  .pid { flex-direction: column; align-items: flex-start; gap: 18px; }
  .pid__title { font-size: 2rem; }   /* acima dos H2 da página; quebra no <wbr> (トコフェロール / 原料供給) */
  .pfig { width: 100%; margin-top: 0; border-radius: 0; height: clamp(260px, 46svh, 420px); }
  .pctas .pbtn, .pctas .btn-mib { flex: 1 1 100%; justify-content: center; }
  .strip3 { grid-template-columns: 1fr; }
  .valduga-gallery { grid-template-columns: 1fr; }
  .petfood-table { font-size: 0.8rem; }
  .petfood-table th, .petfood-table td { padding: 7px 8px; }
  .petfood-content { padding: 22px 18px; }
  .coproducts-grid { grid-template-columns: 1fr; }
  .leaders { justify-content: flex-start; }
}
/* celulares estreitos (320–380px): tabela de aminoácidos (4 colunas) cabe no card */
@media (max-width: 380px) {
  .petfood-content { padding: 20px 12px; }
  .petfood-table { font-size: 0.72rem; }
  .petfood-table th, .petfood-table td { padding: 6px 5px; }
  .petfood-table th { letter-spacing: 0.04em; }
}
