/*
 * Compatibilidade visual da zona final da homepage V2 com a V1 estável.
 * Carregado depois dos estilos V2 para impedir sobreposições nesta área.
 */
body[data-page="home"] .v1-home-tail,
body[data-page="home"] .v1-footer-shell{
  max-width:1480px;
  margin-inline:auto;
  padding-inline:28px;
}
body[data-page="home"] .work-showcase{padding:72px 0 28px}
body[data-page="home"] .showcase-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:24px}
body[data-page="home"] .showcase-head h2,
body[data-page="home"] .lead-panel h2{font-family:Georgia,serif;font-size:42px;line-height:1.05;margin:10px 0}
body[data-page="home"] .showcase-head p,
body[data-page="home"] .lead-panel p{color:#6b6570;line-height:1.6}
body[data-page="home"] .showcase-links{display:flex;gap:10px;flex-wrap:wrap}
body[data-page="home"] .showcase-links a{padding:11px 15px;border:1px solid #d9d5de;border-radius:999px;font-weight:700;font-size:12px;color:#a6532f;background:#fff;text-decoration:none}
body[data-page="home"] .showcase-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
body[data-page="home"] .showcase-grid figure{margin:0;position:relative;border-radius:18px;overflow:hidden;background:#f5eff6;box-shadow:0 12px 30px rgba(58,37,71,.09)}
body[data-page="home"] .showcase-grid img{width:100%;aspect-ratio:1/1;display:block;object-fit:cover;transition:transform .3s}
body[data-page="home"] .showcase-grid figure:hover img{transform:scale(1.03)}
body[data-page="home"] .showcase-grid figcaption{position:absolute;left:12px;bottom:12px;background:rgba(255,255,255,.92);color:#1d1a19;padding:8px 12px;border-radius:999px;font-weight:800;font-size:12px}
body[data-page="home"] .lead-panel{margin:44px 0 28px;padding:34px;border-radius:24px;background:linear-gradient(135deg,#f4e8f8,#fff3f6);display:grid;grid-template-columns:.8fr 1.2fr;gap:30px;align-items:center}
body[data-page="home"] .lead-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}
body[data-page="home"] .lead-form input,
body[data-page="home"] .lead-form select,
body[data-page="home"] .lead-form textarea{width:100%;border:1px solid #d9d5de;border-radius:10px;padding:12px;background:#fff;color:#1d1a19}
body[data-page="home"] .lead-form textarea{grid-column:1/-1;resize:vertical}
body[data-page="home"] .lead-form button{grid-column:1/-1;border:0;background:#a6532f;color:#fff;padding:14px;border-radius:10px;font-weight:800;cursor:pointer}
body[data-page="home"] .footer-strip{margin-top:28px;padding:22px 0;border-top:1px solid #eee;border-bottom:1px solid #eee;display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
body[data-page="home"] .footer-strip article{display:flex;align-items:center;gap:12px;min-width:0;padding:10px;border-radius:14px;background:#fff}
body[data-page="home"] .footer-strip img{width:54px;height:54px;flex:0 0 54px;border-radius:14px;object-fit:cover;box-shadow:0 8px 20px rgba(58,37,71,.10)}
body[data-page="home"] .footer-strip span{display:flex;flex-direction:column;gap:2px;min-width:0}
body[data-page="home"] .footer-strip b{font-size:13px;color:#1d1a19}
body[data-page="home"] .footer-strip small{font-size:11px;color:#6b6570;line-height:1.3}

/* Rodapé: repõe o layout final da V1 e neutraliza os !important da V2. */
body[data-page="home"] .v1-footer-shell .footer{
  display:flex!important;
  grid-template-columns:none!important;
  justify-content:space-between!important;
  align-items:flex-start!important;
  gap:28px!important;
  margin-top:48px!important;
  padding:40px 36px!important;
  border-radius:24px 24px 0 0!important;
  background:linear-gradient(135deg,#f2e9f7,#fff8fb)!important;
  color:#24201e!important;
  border:1px solid #e6d9eb!important;
  box-shadow:0 -16px 40px rgba(30,20,38,.12)!important;
}
body[data-page="home"] .v1-footer-shell .footer-identity{
  display:flex!important;
  grid-template-columns:none!important;
  align-items:flex-start!important;
  gap:22px!important;
}
body[data-page="home"] .v1-footer-shell .brand-logo-footer{margin-right:0!important;gap:10px!important}
body[data-page="home"] .v1-footer-shell .brand-logo-footer img{
  width:58px!important;
  height:58px!important;
  border-radius:50%!important;
  object-fit:cover!important;
  border:2px solid #fff!important;
  box-shadow:0 4px 16px rgba(58,37,71,.18)!important;
}
body[data-page="home"] .v1-footer-shell .brand-logo-footer span{font-family:Georgia,serif!important;font-size:23px!important;color:#a6532f!important}
body[data-page="home"] .v1-footer-shell .footer address{
  margin:0!important;
  font-style:normal!important;
  line-height:1.85!important;
  color:#5f5665!important;
  font-size:13px!important;
}
body[data-page="home"] .v1-footer-shell .footer address a{
  display:inline!important;
  margin:0!important;
  padding:0!important;
  color:#a6532f!important;
  text-decoration:none!important;
  border:0!important;
  border-bottom:1px solid rgba(110,57,189,.22)!important;
  border-radius:0!important;
}
body[data-page="home"] .v1-footer-shell .footer-legal{
  display:flex!important;
  grid-template-columns:none!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  justify-items:unset!important;
  max-width:560px!important;
  gap:12px!important;
  text-align:right!important;
  color:#5f5665!important;
  line-height:1.7!important;
}
body[data-page="home"] .v1-footer-shell .footer-legal span:first-child{text-align:right!important;color:#24201e!important;font-weight:400!important}
body[data-page="home"] .v1-footer-shell .footer-legal span:last-child{
  display:block!important;
  grid-template-columns:none!important;
  width:auto!important;
  text-align:right!important;
}
body[data-page="home"] .v1-footer-shell .footer-legal a{
  display:inline!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  color:#a6532f!important;
  text-decoration:none!important;
  border:0!important;
  border-radius:0!important;
}
body[data-page="home"] .v1-footer-shell .footer-legal a+a{margin-left:14px!important}
body[data-page="home"] .v1-footer-shell .footer-legal a:hover{text-decoration:underline!important;transform:none!important}

@media(max-width:1100px){
  body[data-page="home"] .showcase-grid{grid-template-columns:repeat(2,1fr)}
  body[data-page="home"] .lead-panel{grid-template-columns:1fr}
}
@media(max-width:650px){
  body[data-page="home"] .v1-home-tail,
  body[data-page="home"] .v1-footer-shell{padding-inline:14px}
  body[data-page="home"] .showcase-head{align-items:flex-start;flex-direction:column}
  body[data-page="home"] .showcase-head h2,
  body[data-page="home"] .lead-panel h2{font-size:34px}
  body[data-page="home"] .showcase-grid{grid-template-columns:1fr 1fr;gap:10px}
  body[data-page="home"] .lead-panel{padding:24px 18px}
  body[data-page="home"] .lead-form{grid-template-columns:1fr}
  body[data-page="home"] .lead-form textarea,
  body[data-page="home"] .lead-form button{grid-column:auto}
  body[data-page="home"] .footer-strip{grid-template-columns:1fr 1fr}
  body[data-page="home"] .v1-footer-shell .footer{
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:18px!important;
    padding:30px 22px!important;
  }
  body[data-page="home"] .v1-footer-shell .footer-identity{align-items:flex-start!important;flex-direction:column!important}
  body[data-page="home"] .v1-footer-shell .footer-legal{align-items:flex-start!important;text-align:left!important;max-width:none!important}
  body[data-page="home"] .v1-footer-shell .footer-legal span:first-child,
  body[data-page="home"] .v1-footer-shell .footer-legal span:last-child{text-align:left!important}
}
