/* TEMPLO-230-A29W | Hero consolidado da Home.
   Uma unica arte panoramica criada para fundo, sem textos/CTAs pintados.
   CSS A29/A29R/A29S/A29U/A29V substituidos, nao empilhados.
   Escopo restrito ao DOM criado pelo JS A29 em / e /en/.
*/
.a29-home-shell {
  --a29w-gold: #efbd66;
  --a29w-cream: #f8efe6;
  --a29w-muted: #ebddce;
  position: relative !important;
  isolation: isolate !important;
  box-sizing: border-box !important;
  width: min(calc(100% - clamp(24px,4vw,52px)),1240px) !important;
  max-width: 1240px !important;
  margin: 0 auto clamp(24px,3vw,42px) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  color: var(--a29w-cream) !important;
  color-scheme: dark;
}
.a29-home-shell *, .a29-home-shell *::before, .a29-home-shell *::after {box-sizing:border-box}
/* UMA unica fonte raster: nao ha camada adicional de nuvens ou sigilo. */
.a29-home-shell::before {
  content:"";
  position:absolute;
  z-index:0;
  top:0;
  bottom:0;
  left:50%;
  width:100vw;
  transform:translateX(-50%);
  pointer-events:none;
  background-color:#0d050d;
  background-image:url('/static/img/home-hero-230a29w.webp?v=230A29W_1');
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
}
/* Degrade muito leve, sem imagens adicionais e sem bordas de encaixe. */
.a29-home-shell::after {
  content:"";
  position:absolute;
  z-index:0;
  top:0;
  bottom:0;
  left:50%;
  width:100vw;
  transform:translateX(-50%);
  pointer-events:none;
  background:linear-gradient(90deg,rgba(9,4,10,.12) 0%,transparent 48%,rgba(14,5,12,.08) 100%);
}
.a29-home-shell > * {position:relative !important;z-index:1 !important}
.a29-home-shell .a29-hero {
  position:relative !important;
  z-index:1 !important;
  display:block !important;
  box-sizing:border-box !important;
  width:100% !important;
  min-height:clamp(340px,29vw,440px) !important;
  max-width:none !important;
  margin:0 !important;
  padding:clamp(34px,4.3vw,60px) clamp(20px,4.2vw,58px) 12px !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:var(--a29w-cream) !important;
}
.a29-home-shell .a29-hero .a29-copy-root {
  display:block !important;
  position:relative !important;
  z-index:2 !important;
  width:min(100%,565px) !important;
  max-width:565px !important;
  margin:0 !important;
}
.a29-home-shell .a29-hero .a29-eyebrow {
  display:block;
  color:var(--a29w-gold) !important;
  font:750 clamp(.7rem,1.1vw,.86rem)/1.5 system-ui,-apple-system,sans-serif !important;
  letter-spacing:.12em !important;
  text-transform:uppercase !important;
  margin:0 0 12px !important;
}
.a29-home-shell .a29-hero h1 {
  color:#faf0e8 !important;
  font:500 clamp(2.1rem,4.2vw,4.25rem)/1.05 Georgia,'Times New Roman',serif !important;
  letter-spacing:-.034em !important;
  max-width:650px !important;
  margin:10px 0 20px !important;
  text-wrap:balance;
  text-shadow:0 2px 14px rgba(0,0,0,.25);
}
.a29-home-shell .a29-hero h1 :is(em,i,strong) {
  color:var(--a29w-gold) !important;
  font-weight:500 !important;
}
.a29-home-shell .a29-hero :is(.a29-intro,h1+p) {
  color:var(--a29w-cream) !important;
  font:400 clamp(1rem,1.25vw,1.12rem)/1.52 Georgia,'Times New Roman',serif !important;
  max-width:560px !important;
  margin:0 0 12px !important;
  text-wrap:pretty;
  text-shadow:0 1px 5px rgba(0,0,0,.22);
}
.a29-home-shell .a29-hero .a29-primary {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:12px !important;
  min-height:48px !important;
  max-width:100% !important;
  margin:18px 0 0 !important;
  padding:12px 22px !important;
  background:linear-gradient(180deg,#ffe49a 0%,#f4be5b 51%,#d89a35 100%) !important;
  border:1px solid #ffe6a0 !important;
  border-radius:0 !important;
  box-shadow:0 4px 20px rgba(233,167,67,.16) !important;
  color:#21140c !important;
  font:800 clamp(.78rem,.92vw,.94rem)/1.25 system-ui,-apple-system,sans-serif !important;
  text-align:center !important;
  text-decoration:none !important;
  letter-spacing:.015em;
  transition:filter .2s ease,transform .2s ease;
}
.a29-home-shell .a29-hero .a29-primary::after {content:"→";font-size:1.15em;line-height:1}
.a29-home-shell .a29-hero .a29-primary:hover {filter:brightness(1.07);transform:translateY(-2px)}
.a29-home-shell .a29-hero .a29-primary svg {width:22px;height:22px;flex:none;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.a29-home-shell .a29-original-media,
.a29-home-shell .a29-media-root {visibility:hidden !important;opacity:0 !important;display:none !important}
.a29-home-shell .a29-hero a[hidden] {display:none !important}
.a29-home-shell .a29-divider {
  position:relative !important;
  z-index:2 !important;
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  height:30px !important;
  margin:0 clamp(20px,4.2vw,58px) !important;
  padding:0 !important;
  color:var(--a29w-gold) !important;
  font-size:21px !important;
  line-height:1 !important;
}
.a29-home-shell .a29-divider::before,
.a29-home-shell .a29-divider::after {
  content:"";display:block;height:1px;flex:1;
  background:linear-gradient(90deg,transparent,rgba(239,189,102,.72));
}
.a29-home-shell .a29-divider::after {background:linear-gradient(90deg,rgba(239,189,102,.72),transparent)}
.a29-home-shell .a29-quicknav {
  position:relative !important;
  z-index:2 !important;
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  align-items:stretch !important;
  gap:0 !important;
  margin:0 clamp(20px,4.2vw,58px) clamp(18px,3vw,34px) !important;
  padding:10px 0 16px !important;
  background:transparent !important;
  border-bottom:1px solid rgba(230,174,87,.35) !important;
}
.a29-home-shell .a29-quicknav a {
  min-width:0;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:7px !important;
  padding:10px 8px 12px !important;
  border:0 !important;
  border-right:1px solid rgba(239,189,102,.25) !important;
  border-radius:0 !important;
  text-align:center !important;
  text-decoration:none !important;
  color:var(--a29w-cream) !important;
  background:transparent !important;
  transition:background-color .2s ease;
}
.a29-home-shell .a29-quicknav a:last-child {border-right:0 !important}
.a29-home-shell .a29-quicknav a:hover {background:rgba(243,188,89,.08) !important}
.a29-home-shell .a29-quicknav svg {width:29px;height:29px;stroke:var(--a29w-gold);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.a29-home-shell .a29-nav-title {color:var(--a29w-gold) !important;font:700 clamp(.78rem,.98vw,.98rem)/1.25 Georgia,'Times New Roman',serif !important;text-transform:uppercase;letter-spacing:.055em}
.a29-home-shell .a29-nav-desc {color:var(--a29w-cream) !important;font:400 clamp(.72rem,.88vw,.87rem)/1.4 Georgia,'Times New Roman',serif !important}
.a29-home-shell :is(.a29-primary,.a29-quicknav a):focus-visible {outline:3px solid #fff !important;outline-offset:3px !important}
@media(max-width:1100px) {
  .a29-home-shell .a29-hero {min-height:350px !important;padding:36px 28px 12px !important}
  .a29-home-shell .a29-hero .a29-copy-root {max-width:57% !important}
  .a29-home-shell .a29-hero h1 {font-size:clamp(2.05rem,4.6vw,3.6rem) !important}
  .a29-home-shell .a29-divider {margin:0 26px !important}
  .a29-home-shell .a29-quicknav {margin:0 26px 24px !important}
}
@media(max-width:820px) {
  .a29-home-shell {width:min(calc(100% - 24px),100%) !important}
  .a29-home-shell::before {background-position:62% center}
  .a29-home-shell::after {background:linear-gradient(180deg,rgba(8,4,10,.58),rgba(8,4,10,.42) 60%,rgba(8,4,10,.60))}
  .a29-home-shell .a29-hero {min-height:auto !important;padding:34px 22px 12px !important}
  .a29-home-shell .a29-hero .a29-copy-root {width:100% !important;max-width:480px !important}
  .a29-home-shell .a29-hero h1 {font-size:clamp(1.95rem,6.2vw,3.1rem) !important;max-width:620px !important}
  .a29-home-shell .a29-hero :is(.a29-intro,h1+p) {max-width:480px !important}
  .a29-home-shell .a29-quicknav {grid-template-columns:repeat(2,minmax(0,1fr)) !important}
  .a29-home-shell .a29-quicknav a:nth-child(2){border-right:0 !important}
  .a29-home-shell .a29-quicknav a:nth-child(-n+2){border-bottom:1px solid rgba(239,189,102,.25) !important}
}
@media(max-width:520px) {
  .a29-home-shell {width:min(calc(100% - 16px),100%) !important}
  .a29-home-shell::before {background-position:40% center}
  .a29-home-shell::after {background:linear-gradient(180deg,rgba(8,4,10,.68),rgba(8,4,10,.63) 55%,rgba(8,4,10,.71))}
  .a29-home-shell .a29-hero {padding:28px 16px 10px !important}
  .a29-home-shell .a29-hero .a29-copy-root {max-width:100% !important}
  .a29-home-shell .a29-hero h1 {font-size:clamp(1.8rem,8.1vw,2.6rem) !important;margin:9px 0 16px !important}
  .a29-home-shell .a29-hero .a29-primary {width:100% !important;margin-top:16px !important}
  .a29-home-shell .a29-divider {margin:0 16px !important}
  .a29-home-shell .a29-quicknav {margin:0 16px 20px !important}
  .a29-home-shell .a29-quicknav a {padding:12px 6px !important}
}
@media(prefers-reduced-motion:reduce) {
  .a29-home-shell :is(.a29-primary,.a29-quicknav a) {transition:none !important}
}
/* Apenas nas duas Homes, evita que a faixa full-bleed crie rolagem horizontal. */
body:has(.a29-home-shell) {overflow-x:clip}
