/* Vitrine Madre: identidade do colégio (preto, vinho, vermelho). O azul da Espaço Livre fica só no selo. */
.madre-hero{
  --madre-red:#e3343c;--madre-wine:#8e0b1c;
  grid-template-columns:1.2fr .8fr;gap:40px;align-items:center;padding:48px 56px 56px;
  background:radial-gradient(circle at 12% 110%,#8e0b1c99 0,transparent 55%),linear-gradient(160deg,#0b0b0c,#141011 60%,#1f0c10);
}
.madre-hero::before{display:none}
.madre-hero::after{
  content:"MADRE";position:absolute;right:-2%;top:50%;z-index:0;transform:translateY(-50%) rotate(90deg);transform-origin:center;
  font-family:'Oswald',var(--font-display);font-weight:700;font-size:clamp(4.5rem,9vw,8rem);line-height:1;letter-spacing:.04em;
  color:transparent;-webkit-text-stroke:1px #ffffff14;pointer-events:none;
}
.madre-hero .store-copy{position:relative;z-index:1;max-width:560px}
.madre-hero .store-copy .eyebrow{color:var(--madre-red);letter-spacing:.12em;flex-wrap:wrap;line-height:1.45}
.madre-hero .store-copy h1{
  font-family:'Oswald',var(--font-display);font-weight:700;text-transform:uppercase;letter-spacing:.01em;line-height:1;
  font-size:clamp(2.2rem,4vw,3.6rem);margin-top:14px;
}
.madre-hero .store-copy h1::after{content:"";display:block;width:88px;height:6px;margin-top:16px;background:var(--madre-red)}
.madre-hero .store-copy p{max-width:44ch;margin-bottom:0}
.madre-mark{position:relative;z-index:1;display:grid;place-items:center;justify-self:end}
.madre-mark .madre-logo{display:block;width:auto;height:min(280px,38vw);mix-blend-mode:lighten}

.partner-seal{display:inline-flex;align-items:center;gap:12px;margin:28px 0 0;padding:8px 14px 8px 16px;border-left:3px solid #1747d4;border-radius:0 12px 12px 0;background:white;color:#3b4250}
.madre-hero .store-copy .partner-seal{font-size:.72rem;color:#3b4250}
.partner-seal span{max-width:14ch;font-weight:600;line-height:1.25;letter-spacing:.02em;text-transform:uppercase}
.partner-seal img{display:block;width:auto;height:44px;margin:-4px 0}

body.madre-site .product-card .product-art.has-photo,
body.madre-site .pdp-photo-main.has-photo,
body.madre-site .pdp-thumbs .pdp-photo.has-photo{aspect-ratio:1;--photo-zoom-base:1}
body.madre-site .product-card .product-art.has-photo img,
body.madre-site .product-card:hover .product-art.has-photo img,
body.madre-site .pdp-photo.has-photo img{
  object-fit:contain;object-position:center;transform:none;
}
#app:has(.madre-hero) .store-catalog{margin-top:28px}
#app:has(.madre-hero) .product-card .eyebrow{color:#8e0b1c}
#app:has(.madre-hero) .product-card button:hover{background:#8e0b1c}

.madre-brand{display:none;height:64px;width:auto;border-radius:8px;background:#0b0b0c}
body.madre-site nav,
body.madre-site .admin-link,
body.madre-site footer a[href="/admin"]{display:none}
body.madre-site .brand .brand-logo,
body.madre-site .brand .monogram,
body.madre-site .brand .brand-wordmark{display:none !important}
body.madre-site .madre-brand{display:block}
body:not(.madre-site) nav a[href="/madre"]{display:none}
body.madre-site .footer-reach,
body.madre-site .footer-address{display:none}
body.madre-site .footer-grid{grid-template-columns:1.4fr .9fr 1fr}
body.madre-site .footer-grid > *{min-width:0}

@media(max-width:900px){
  .madre-hero{grid-template-columns:1fr;gap:28px;padding:40px 32px 48px}
  .madre-hero::after{display:none}
  .madre-mark{justify-self:start;order:-1}
  .madre-mark .madre-logo{height:148px}
  body.madre-site .footer-grid{grid-template-columns:1fr;gap:22px}
}
@media(max-width:600px){
  .madre-hero{padding:24px 18px 32px;border-radius:18px}
  .madre-hero .store-copy h1{font-size:clamp(1.85rem,9vw,2.4rem)}
  .madre-mark .madre-logo{height:132px}
  body.madre-site .madre-brand{height:52px}
  .partner-seal{margin-top:20px;padding:8px 12px 8px 12px}
  .partner-seal img{height:28px}
}
