/* R03: home only. Natural page background, no header card and no floating overlay. */
body[data-home-layout="fluid-v1"][data-site-refinement="v1"] > .site-header {
  position: static;
  background: transparent;
  color: var(--ink);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: clamp(1.25rem, 2vw, 2rem) clamp(.5rem, 1vw, 1.25rem) 1rem;
  min-width: 0;
}
body[data-home-layout="fluid-v1"][data-site-refinement="v1"] > .site-header .header-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.5rem;
  min-width: 0;
}
body[data-home-layout="fluid-v1"][data-site-refinement="v1"] > .site-header .brand-link {
  flex: 0 0 auto;
  min-height: 48px;
  max-width: 100%;
}
body[data-home-layout="fluid-v1"][data-site-refinement="v1"] > .site-header .account-actions {
  flex: 0 1 auto;
  flex-wrap: wrap;
  max-width: 100%;
  min-width: 0;
  gap: .5rem 1.5rem;
}
body[data-home-layout="fluid-v1"][data-site-refinement="v1"] > .site-header .site-nav {
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: .5rem;
  margin-top: .75rem;
  padding-block: .5rem 0;
  border: 0;
}
/* Move the entire existing wrapper, not title/CTA separately. Width and safe left half stay unchanged. */
body[data-home-layout="fluid-v1"][data-site-refinement="v1"] #editorial-hero[data-layout="overlay"] > .hero-copy {
  align-self: start;
  padding-block-start: clamp(2rem, 3vw, 3rem);
}
@media(max-width:1050px) {
  /* Existing stacked mobile/tablet layout remains; text cannot be forced onto the portrait. */
  body[data-home-layout="fluid-v1"][data-site-refinement="v1"] #editorial-hero > .hero-copy {
    padding-block-start: 1.25rem;
  }
}
@media(max-width:600px) {
  body[data-home-layout="fluid-v1"][data-site-refinement="v1"] > .site-header {
    padding-block: 1rem .75rem;
  }
  body[data-home-layout="fluid-v1"][data-site-refinement="v1"] > .site-header .header-top {
    gap: .4rem 1rem;
  }
  body[data-home-layout="fluid-v1"][data-site-refinement="v1"] > .site-header .account-actions {
    flex: 1 1 100%;
    justify-content: flex-start;
    gap: .35rem 1rem;
  }
  body[data-home-layout="fluid-v1"][data-site-refinement="v1"] > .site-header .site-nav {
    margin-top: .5rem;
  }
}

/* Common reader navigation, scoped independently from product layouts. */
html{scroll-padding-top:12rem}
header.vima-unified-header{position:sticky;top:0;z-index:30;display:block;width:100%;max-width:none;margin:0;padding:.65rem clamp(.7rem,2.5vw,2.5rem);box-sizing:border-box;background:#fffefb;border-bottom:1px solid #d8dfeb;box-shadow:0 2px 9px #193a8a0a;color:#193a8a;font-family:Manrope,Arial,sans-serif}
.vima-unified-header *{box-sizing:border-box}
.vima-unified-inner{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.6rem 1.4rem;width:100%;max-width:1600px;margin:auto}
.vima-unified-header .vima-unified-brand{display:inline-flex;align-items:center;min-height:44px;text-decoration:none}
.vima-unified-header .vima-unified-brand img{display:block;width:160px;height:auto;max-width:100%;object-fit:contain;margin:0}
.vima-unified-header .vima-unified-nav,.vima-unified-header .vima-unified-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.2rem .55rem;min-width:0;margin:0;padding:0}
.vima-unified-header .vima-unified-nav{justify-content:flex-start}
.vima-unified-header .vima-unified-actions{justify-content:flex-end}
.vima-unified-header a,.vima-unified-header button{font-size:.82rem;line-height:1.3;font-weight:700;letter-spacing:normal;white-space:normal}
.vima-unified-nav a,.vima-unified-actions a{display:inline-flex;align-items:center;min-height:44px;padding:.45rem .6rem;text-decoration:none;border-radius:.45rem;border:0;background:transparent}
.vima-unified-nav .nav-catalogo,.vima-unified-nav .vima-unified-local{color:#193a8a;background:#eaf0ff}.vima-unified-nav .nav-na-pratica{color:#005348;background:#e7f4ef}.vima-unified-nav .nav-duvidas,.vima-unified-nav .nav-sumario{color:#764800;background:#fff3d6}.vima-unified-nav .nav-contato{color:#783331;background:#faece8}.vima-unified-nav .nav-sobre{color:#592664;background:#f2eaf6}
.vima-unified-header .vima-unified-local{border:1px solid currentColor}
.vima-unified-actions a{color:#193a8a}.vima-unified-header .vima-unified-buy{color:#fff;background:#3157d5}
.vima-unified-header #logout{min-height:44px;margin:0;padding:.45rem .6rem;border:1px solid #ced7e6;border-radius:.45rem;background:#fff;color:#193a8a}
.vima-unified-header a:hover{text-decoration:underline;text-underline-offset:.2em}.vima-unified-header :focus-visible{outline:3px solid #995b00;outline-offset:3px}
@media(max-width:1100px){.vima-unified-inner{grid-template-columns:auto minmax(0,1fr)}.vima-unified-nav{grid-column:1/-1;grid-row:2}.vima-unified-actions{grid-column:2;grid-row:1}}
@media(max-width:430px){header.vima-unified-header{padding:.4rem .65rem}.vima-unified-inner{gap:.3rem .4rem}.vima-unified-header .vima-unified-brand img{width:132px;height:auto}.vima-unified-header .vima-unified-nav,.vima-unified-header .vima-unified-actions{gap:.15rem .25rem}.vima-unified-header a,.vima-unified-header button{font-size:.74rem}.vima-unified-nav a,.vima-unified-actions a,.vima-unified-header #logout{padding:.4rem .45rem;min-height:40px}}
@media print{header.vima-unified-header{position:static}.vima-unified-actions{display:none!important}}
/* Home hero only: preserve native text and the uncropped source photograph. */
body[data-home-layout="fluid-v1"][data-site-refinement="v1"] #editorial-hero > .hero-copy,
body[data-home-layout="fluid-v1"][data-site-refinement="v1"] #editorial-hero[data-layout="overlay"] > .hero-copy {
  padding: 1.25rem;
}
body[data-home-layout="fluid-v1"][data-site-refinement="v1"] #editorial-hero h1 {
  font-size: clamp(2rem, 2.65vw, 2.375rem);
  line-height: 1.15;
}
body[data-home-layout="fluid-v1"][data-site-refinement="v1"] #editorial-hero .hero-copy .eyebrow {
  margin-bottom: .5rem;
}
body[data-home-layout="fluid-v1"][data-site-refinement="v1"] #editorial-hero .hero-copy p.hero-subtitle {
  font-size: 1rem;
  line-height: 1.5;
  margin: .625rem 0 .875rem;
}
body[data-home-layout="fluid-v1"][data-site-refinement="v1"] #editorial-hero .hero-art picture {
  display: flex;
  justify-content: flex-end;
}
body[data-home-layout="fluid-v1"][data-site-refinement="v1"] #editorial-hero .hero-art img {
  width: 67%;
  height: auto;
  object-fit: contain;
  /* Blend only the empty left background; face, hands, tablet and notes stay clear. */
  mask-image: linear-gradient(to right, transparent, #000 18%);
}
@media(max-width:1050px) {
  body[data-home-layout="fluid-v1"][data-site-refinement="v1"] #editorial-hero .hero-art picture {
    justify-content: center;
  }
  body[data-home-layout="fluid-v1"][data-site-refinement="v1"] #editorial-hero .hero-art img {
    width: 55%;
    mask-image: none;
  }
}
@media(max-width:600px) {
  body[data-home-layout="fluid-v1"][data-site-refinement="v1"] #editorial-hero > .hero-copy,
  body[data-home-layout="fluid-v1"][data-site-refinement="v1"] #editorial-hero[data-layout="overlay"] > .hero-copy {
    padding: 1rem;
  }
  body[data-home-layout="fluid-v1"][data-site-refinement="v1"] #editorial-hero h1 {
    font-size: clamp(1.75rem, 7.7vw, 1.875rem);
  }
}

/* Full approved landscape, not the already-cropped portrait source, on mobile. */
@media(max-width:1050px){
 body[data-home-layout="fluid-v1"][data-site-refinement="v1"] #editorial-hero .hero-art img{width:100%;height:auto;aspect-ratio:auto;object-fit:contain;mask-image:none}
}
@media(max-width:600px){
 body[data-home-layout="fluid-v1"][data-site-refinement="v1"] [data-product-id="sete-passos"] .square-cover img{object-fit:contain;object-position:center}
}

/* Mobile navigation: align the last chip with the cart above. */
@media(max-width:600px){header.vima-unified-header .vima-unified-inner .vima-unified-nav{justify-content:space-between!important;width:100%;column-gap:.2rem!important}}
@media(max-width:360px){header.vima-unified-header .vima-unified-inner .vima-unified-nav a{padding-inline:.25rem!important}}
