/* ==========================================================
   Yamamoto Odontologia — ASSINATURA DE MARCA (guia v1.1, nov/2026)
   Camada carregada por último em todas as páginas.
   Símbolo 山 (yama, montanha) como fio condutor · verde-jade como cor própria.
   ========================================================== */
:root{
  --jade:#3D6660; --jade-esc:#2F524D; --jade-claro:#DCE6E2;
  --dourado:#AE8E68; --dourado-esc:#8A6C49; --grafite:#29292F; --marfim:#FAF7F3;
}

/* 1 · LOGO — arquivo recortado, maior no cabeçalho */
img.logo-y{ height:44px !important; width:auto !important; max-width:none !important; object-fit:contain; }
@media (max-width:640px){ img.logo-y{ height:34px !important; } }
img.logo-v{ height:auto !important; width:170px !important; max-width:60vw; display:block; margin:0 auto; }

/* 2 · SEPARADOR "traço da montanha" (substitui o fio dourado curto) */
.rule, .yama-rule{
  width:22px !important; height:16px !important; border:0 !important;
  background:
    linear-gradient(var(--dourado),var(--dourado)) left bottom / 1.6px 11px no-repeat,
    linear-gradient(var(--dourado),var(--dourado)) center bottom / 1.6px 16px no-repeat,
    linear-gradient(var(--dourado),var(--dourado)) right bottom / 1.6px 11px no-repeat !important;
}
.final .rule, .on-jade .rule{
  background:
    linear-gradient(var(--marfim),var(--marfim)) left bottom / 1.6px 11px no-repeat,
    linear-gradient(var(--marfim),var(--marfim)) center bottom / 1.6px 16px no-repeat,
    linear-gradient(var(--marfim),var(--marfim)) right bottom / 1.6px 11px no-repeat !important;
}
/* fio com selo (fim de seção / rodapé) */
.yama-selo-line{ display:flex; align-items:center; justify-content:center; gap:14px; margin:0 auto; }
.yama-selo-line::before, .yama-selo-line::after{ content:""; width:72px; height:1px; background:currentColor; opacity:.55; }
.yama-selo-line span{ width:18px; height:21px; background:currentColor;
  -webkit-mask:url(/htmlf/site/marca/yama-grafite.svg) center/contain no-repeat;
          mask:url(/htmlf/site/marca/yama-grafite.svg) center/contain no-repeat; }

/* 3 · MOLDURA DE FOTO — passe-partout deslocado + carimbo 山 (só fotos principais) */
.hero-img{ position:relative; overflow:visible !important; isolation:isolate; }
.hero-img > img{ border-radius:28px; position:relative; z-index:1; }
.hero-img::before{ content:""; position:absolute; top:-14px; right:-14px; bottom:14px; left:14px;
  border:1px solid var(--dourado); border-radius:30px; z-index:0; pointer-events:none; }
.hero-img::after{ content:""; position:absolute; left:-10px; bottom:26px; width:56px; height:56px; z-index:2;
  border-radius:14px; background:var(--jade) url(/htmlf/site/marca/yama-marfim.svg) center/24px auto no-repeat;
  box-shadow:0 10px 24px rgba(41,41,47,.22); }
@media (max-width:860px){
  .hero-img::before{ top:-10px; right:-8px; bottom:10px; left:10px; }
  .hero-img::after{ left:-6px; bottom:18px; width:46px; height:46px; background-size:20px auto; }
}

/* 4 · VERDE-JADE — faixas de destaque */
.final{ background:var(--jade) !important; color:var(--marfim) !important; position:relative; overflow:hidden; }
.final::after{ content:""; position:absolute; right:-30px; bottom:-50px; width:240px; height:290px; opacity:.08; pointer-events:none;
  background:url(/htmlf/site/marca/yama-marfim.svg) center/contain no-repeat; }
.final .lead, .final p{ color:rgba(250,247,243,.9) !important; }
.final .eyebrow{ color:#C9DAD4 !important; }
/* home: faixas escuras viram jade, rodapé segue grafite */
.intro-brand-dark{ background:var(--jade) !important; position:relative; overflow:hidden; }
.intro-brand-dark::after{ content:""; position:absolute; right:-40px; bottom:-60px; width:260px; height:310px; opacity:.07; pointer-events:none;
  background:url(/htmlf/site/marca/yama-marfim.svg) center/contain no-repeat; }
.intro-brand-dark .tracking-\[\.28em\], .intro-brand-dark .ib-eyebrow{ color:#C9DAD4 !important; }

/* 5 · TÍTULOS — itálico dourado só no título principal; numeração dos pilares */
h2 em, h3 em{ font-style:normal !important; color:var(--dourado-esc) !important; }
.final h2 em{ color:#E7D7C3 !important; }
.pnum{ font-family:'Cormorant Garamond',Georgia,serif; font-size:1.5em; letter-spacing:0; color:var(--jade);
  font-weight:500; margin-right:10px; vertical-align:-.12em; font-variant-numeric:lining-nums; font-feature-settings:'lnum' 1; }
/* home: numeração automática dos 4 pilares */
body{ counter-reset:pilar; }
.pilar-ancora{ counter-increment:pilar; }
.pilar-ancora .pillar-banner-title::before{ content:"0" counter(pilar); display:block; font-size:.5em; letter-spacing:.2em;
  color:#E7D7C3; margin-bottom:6px; font-family:'Outfit',sans-serif; font-weight:500; font-variant-numeric:lining-nums; }

/* rodapé com assinatura vertical */
.yama-assina{ text-align:center; padding:26px 0 6px; color:var(--dourado); }
.yama-assina .yama-selo-line{ display:none; }
