/* =====================================================================
   ACDC CASA v395 — banner nativo / direção editorial
   Camada isolada: não redefine estilos do menu, de produtos ou do carrinho.
   Aplicada no head ao HTML definitivo, sem depender de JavaScript ou da foto.
   ===================================================================== */
.acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] {
  --acdc-h395-paper: #f4efe7;
  --acdc-h395-ink: #292720;
  --acdc-h395-ease: cubic-bezier(.22, .61, .36, 1);
  --acdc-h395-gutter: clamp(32px, 5.25vw, 104px);
  box-sizing: border-box;
  position: relative;
  display: block !important;
  isolation: isolate;
  width: 100%;
  height: auto !important;
  min-height: 760px;
  min-height: clamp(720px, 100svh, 960px) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background: #292720 !important;
  color: var(--acdc-h395-paper);
}
.acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] *,
.acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] *::before,
.acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] *::after {
  box-sizing: border-box;
}
.acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"]::before {
  content: none !important;
}
.acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
  background:
    linear-gradient(90deg, rgba(26, 25, 21, .95) 0%, rgba(26, 25, 21, .84) 22%, rgba(26, 25, 21, .57) 39%, rgba(26, 25, 21, .16) 58%, rgba(26, 25, 21, 0) 76%),
    linear-gradient(180deg, rgba(22, 21, 18, .48), rgba(22, 21, 18, 0) 29%, rgba(22, 21, 18, 0) 68%, rgba(22, 21, 18, .36)) !important;
}
.acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-h395-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-h395-picture {
  display: block;
  width: 100%;
  height: 100%;
}
.acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-h395-image {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0;
  object-fit: cover;
  object-position: 65% 58%;
  opacity: 1;
  filter: none !important;
  transform: none;
}
.acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  max-width: none !important;
  height: auto !important;
  min-height: inherit;
  margin: 0 auto !important;
  padding: calc(var(--acdc-h395-headroom, 144px) + 46px) var(--acdc-h395-gutter) 120px !important;
  align-items: center !important;
  justify-content: flex-start;
}
.acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-hero-content {
  position: relative;
  width: min(46vw, 640px) !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--acdc-h395-paper);
  text-align: left;
  text-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-hero-content > * {
  animation: none !important;
  opacity: 1;
  transform: none;
}
.acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-kicker {
  display: flex;
  align-items: center;
  gap: 17px;
  margin: 0 0 26px !important;
  color: #e4d5bf !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  line-height: 1.5;
  letter-spacing: .25em !important;
  text-transform: uppercase;
}
.acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-kicker::before {
  content: "";
  flex: 0 0 32px;
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}
.acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-kicker::after {
  content: none !important;
}
.acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] h1,
.acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] h1 * {
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 400 !important;
  letter-spacing: -.047em !important;
  text-transform: none !important;
}
.acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] h1 {
  max-width: 100% !important;
  margin: 0 !important;
  color: #faf4e9 !important;
  font-size: clamp(60px, 4.7vw, 90px) !important;
  line-height: 1.015 !important;
  text-wrap: balance;
}
.acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-h395-title-first,
.acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-h395-title-bridge,
.acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-h395-title-emphasis {
  display: block;
}
.acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-h395-title-emphasis {
  color: #e9d7bd;
  font-style: italic;
}
.acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-hero-copy {
  max-width: 405px !important;
  margin: 26px 0 0 !important;
  color: #ebe4d9 !important;
  font-size: clamp(14px, .96vw, 16px) !important;
  font-weight: 400 !important;
  line-height: 1.75 !important;
  letter-spacing: .006em;
  text-wrap: pretty;
}
.acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  justify-content: flex-start !important;
  margin: 30px 0 0 !important;
}
.acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-hero-actions .acdc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: auto !important;
  min-width: 258px !important;
  max-width: 100% !important;
  min-height: 58px !important;
  padding: 10px 22px !important;
  border: 1px solid #f4efe7 !important;
  border-radius: 0 !important;
  background: #f4efe7 !important;
  box-shadow: none !important;
  color: #292720 !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1.5;
  letter-spacing: .18em !important;
  text-decoration: none;
  transform: none;
  transition: background-color 300ms ease, color 300ms ease, border-color 300ms ease, transform 400ms var(--acdc-h395-ease) !important;
}
.acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-h395-arrow {
  display: inline-flex;
  flex: 0 0 28px;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  color: inherit;
  font-family: Arial, sans-serif !important;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0;
  transition: transform 400ms var(--acdc-h395-ease);
}
.acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] a:focus-visible {
  outline: 2px solid #f4efe7 !important;
  outline-offset: 6px !important;
}
.acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-h395-footer {
  position: absolute;
  z-index: 2;
  right: var(--acdc-h395-gutter);
  bottom: 32px;
  left: var(--acdc-h395-gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(244, 239, 231, .28);
}
.acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-hero-signature,
.acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-h395-caption {
  display: block;
  margin: 0 !important;
  color: #f0e7db !important;
  font-size: 8px !important;
  font-weight: 500 !important;
  line-height: 1.7;
  letter-spacing: .22em !important;
  text-transform: uppercase;
}
.acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-hero-signature::before {
  content: none !important;
}
@media (hover: hover) and (pointer: fine) {
  .acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-hero-actions .acdc-btn:hover {
    background: #e3d6c3 !important;
    border-color: #e3d6c3 !important;
    color: #292720 !important;
    transform: translateY(-1px);
  }
  .acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-hero-actions .acdc-btn:hover .acdc-h395-arrow {
    transform: translateX(4px);
  }
}
/* Sem animação de entrada tardia: nem imagem nem título são ocultados
   enquanto scripts carregam. O banner já é a versão final no HTML. */
@media (min-width: 768px) and (max-width: 1100px) {
  .acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] {
    --acdc-h395-gutter: 36px;
  }
  .acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-hero-content {
    width: 54vw !important;
  }
  .acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] h1 {
    font-size: clamp(54px, 5.45vw, 60px) !important;
  }
  .acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-hero-copy {
    max-width: 350px !important;
  }
}
/* Celular: a foto ganha um espaço próprio; texto legível em papel claro,
   sem uma caixa escondendo o sofá e sem simular um desktop encolhido. */
@media (max-width: 767px) {
  .acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] {
    --acdc-h395-gutter: 26px;
    min-height: 0 !important;
    background: var(--acdc-h395-paper) !important;
    color: var(--acdc-h395-ink);
  }
  .acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"]::after {
    height: calc(clamp(310px, 66vw, 420px) + var(--acdc-h395-headroom, 0px));
    bottom: auto;
    background: linear-gradient(180deg, rgba(22, 21, 18, .44), rgba(22, 21, 18, 0) 55%) !important;
  }
  .acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-h395-media {
    position: relative;
    inset: auto;
    height: calc(clamp(310px, 66vw, 420px) + var(--acdc-h395-headroom, 0px));
  }
  .acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-h395-image {
    object-position: 67% 61%;
  }
  .acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-hero-container {
    display: block;
    min-height: 0;
    padding: 34px var(--acdc-h395-gutter) 30px !important;
  }
  .acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-hero-content {
    width: 100% !important;
    max-width: 620px !important;
    margin: 0 auto !important;
    color: var(--acdc-h395-ink);
  }
  .acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-kicker {
    gap: 13px;
    margin-bottom: 18px !important;
    color: #746049 !important;
    font-size: 9px !important;
    letter-spacing: .22em !important;
  }
  .acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-kicker::before { flex-basis: 24px; width: 24px; }
  .acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] h1 {
    max-width: 540px !important;
    color: var(--acdc-h395-ink) !important;
    font-size: clamp(37px, 9.7vw, 58px) !important;
    line-height: 1.075 !important;
  }
  .acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-h395-title-bridge,
  .acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-h395-title-emphasis { display: inline; }
  .acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-h395-title-emphasis { color: #806448; }
  .acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-hero-copy {
    max-width: 510px !important;
    margin-top: 20px !important;
    color: #5f584e !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
  }
  .acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-hero-actions { margin-top: 23px !important; }
  .acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-hero-actions .acdc-btn {
    min-width: min(100%, 265px) !important;
    min-height: 54px !important;
    background: #292720 !important;
    border-color: #292720 !important;
    color: #f4efe7 !important;
    font-size: 9px !important;
  }
  .acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] a:focus-visible { outline-color: #292720 !important; }
  .acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-h395-footer {
    position: relative;
    inset: auto;
    margin: 0 var(--acdc-h395-gutter);
    padding: 20px 0 24px;
    border-top-color: rgba(41, 39, 32, .2);
    gap: 10px;
  }
  .acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-hero-signature,
  .acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-h395-caption {
    color: #6f6455 !important;
    font-size: 7px !important;
    letter-spacing: .16em !important;
  }
  .acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-h395-caption { display: none; }
}
@media (max-width: 359px) {
  .acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] { --acdc-h395-gutter: 20px; }
  .acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] h1 { font-size: 34px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] *,
  .acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] *::before,
  .acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-hero-actions .acdc-btn:hover,
  .acdc-theme.template-home .acdc-hero[data-acdc-hero-version="395"] .acdc-hero-actions .acdc-btn:hover .acdc-h395-arrow { transform: none !important; }
}

/* Mantém os ajustes móveis v387, agora no componente nativo v395. */
@media (max-width: 767px) {
  .acdc-theme.template-home .acdc-home .acdc-hero[data-acdc-hero-version="395"] { --acdc-h395-gutter: 20px; }
  .acdc-theme.template-home .acdc-home .acdc-hero[data-acdc-hero-version="395"] .acdc-h395-media { height: clamp(224px, 65vw, 400px) !important; }
  .acdc-theme.template-home .acdc-home .acdc-hero[data-acdc-hero-version="395"]::after { height: clamp(224px, 65vw, 400px) !important; }
  .acdc-theme.template-home .acdc-home .acdc-hero[data-acdc-hero-version="395"] .acdc-h395-image { object-position: 61% 59%; }
  .acdc-theme.template-home .acdc-home .acdc-hero[data-acdc-hero-version="395"] .acdc-hero-container { padding: 28px 20px !important; }
  .acdc-theme.template-home .acdc-home .acdc-hero[data-acdc-hero-version="395"] h1 { font-size: clamp(34px, 9vw, 52px) !important; overflow-wrap: break-word; }
  .acdc-theme.template-home .acdc-home .acdc-hero[data-acdc-hero-version="395"] .acdc-hero-actions .acdc-btn { width: 100% !important; min-width: 0 !important; font-size: 11px !important; letter-spacing: .08em !important; }
  .acdc-theme.template-home .acdc-home .acdc-hero[data-acdc-hero-version="395"] .acdc-hero-signature { font-size: 10px !important; line-height: 1.6 !important; letter-spacing: .05em !important; white-space: normal; }
}
