/* DIAMANTE DA CANASTRA · PUBLIC REFORMULATION · 2026-10-07 */
:root{
  --reform-wine:#680F1A;
  --reform-wine-deep:#3A0810;
  --reform-gold:#D4A017;
  --reform-cream:#F7EED9;
  --reform-earth:#8B6F4E;
  --reform-ink:#2B1714;
  --reform-line:rgba(104,15,26,.16);
}
.reform-header{
  height:72px!important;
  min-height:72px!important;
  padding:0 clamp(20px,5vw,72px)!important;
  background:transparent!important;
  border-bottom:1px solid transparent!important;
  box-shadow:none!important;
}
.reform-header .home-brand img{width:auto!important;height:42px!important;max-width:210px!important;object-fit:contain!important}
.reform-header .reform-nav{display:flex!important;align-items:center!important;gap:clamp(18px,2.3vw,36px)!important}
.reform-header .reform-nav>a{
  color:var(--reform-cream)!important;text-decoration:none!important;font-size:13px!important;
  font-weight:700!important;letter-spacing:.04em!important;padding:26px 0 22px!important;border-bottom:2px solid transparent!important
}
.reform-header .reform-nav>a:hover,.reform-header .reform-nav>a.is-active{color:var(--reform-wine)!important;border-bottom-color:var(--reform-gold)!important}
.reform-header .home-account{color:var(--reform-cream)!important;border:1px solid var(--reform-gold)!important;background:var(--reform-wine)!important;padding:9px 14px!important}
.reform-home{background:var(--reform-cream);color:var(--reform-ink)}
.reform-home :where(h1,h2,h3,p){margin-top:0}
.reform-hero{position:relative;height:min(72vh,690px);min-height:560px;overflow:hidden;background:var(--reform-wine-deep)}
.reform-hero picture,.reform-hero picture img{position:absolute;inset:0;width:100%;height:100%}
.reform-hero picture img{object-fit:cover;object-position:68% center}
.reform-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(58,8,16,.96) 0%,rgba(104,15,26,.88) 30%,rgba(104,15,26,.35) 58%,rgba(104,15,26,0) 82%)}
.reform-hero-copy{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:center;height:100%;width:min(640px,48vw);padding:72px 0 0 clamp(24px,7vw,104px);color:var(--reform-cream)}
.reform-hero-copy>span,.reform-section-head>span,.reform-recipes-copy>span,.reform-canastra-copy>span{
  color:var(--reform-gold);font-size:12px;font-weight:800;letter-spacing:.16em
}
.reform-hero-copy h1{max-width:10ch!important;margin:18px 0 20px!important;color:#fff!important;font-size:clamp(54px,5.7vw,86px)!important;line-height:.94!important;letter-spacing:-.045em!important;font-weight:650!important;text-wrap:balance}
.reform-hero-copy p{max-width:34ch;font-size:clamp(18px,1.45vw,22px);line-height:1.5;color:rgba(247,238,217,.9)}
.reform-products,.reform-buy{padding:clamp(70px,8vw,116px) clamp(22px,7vw,104px)}
.reform-section-head{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);column-gap:48px;align-items:end;margin-bottom:48px}
.reform-section-head>span{grid-column:1/-1;margin-bottom:16px}
.reform-section-head h2{max-width:13ch!important;margin:0!important;color:var(--reform-wine-deep)!important;font-size:clamp(38px,4.2vw,64px)!important;line-height:.98!important;letter-spacing:-.04em!important}
.reform-section-head p{max-width:48ch;margin:0 0 4px!important;font-size:16px;line-height:1.65;color:#5f4b43}
.reform-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(24px,3vw,48px);margin-bottom:32px}
.reform-product{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(240px,.75fr);min-height:420px;background:#fff;border:1px solid var(--reform-line);overflow:hidden}
.reform-product-media{display:block;min-height:420px;background:#efe3ca}
.reform-product-media img{display:block;width:100%;height:100%;object-fit:cover}
.reform-product-copy{display:flex;flex-direction:column;justify-content:flex-end;padding:clamp(26px,3vw,42px)}
.reform-product-copy>span,.reform-recipe span{color:var(--reform-earth);font-size:11px;font-weight:800;letter-spacing:.12em}
.reform-product-copy h3{margin:12px 0 12px!important;color:var(--reform-wine-deep)!important;font-size:clamp(26px,2.3vw,38px)!important;line-height:1.04!important;letter-spacing:-.03em!important}
.reform-product-copy p{margin-bottom:24px!important;font-size:15px;line-height:1.55;color:#67534a}
.reform-product-copy>a,.reform-text-link{width:max-content;color:var(--reform-wine)!important;text-decoration:none!important;font-size:14px;font-weight:800;border-bottom:1px solid var(--reform-gold);padding-bottom:4px}
.reform-buy{background:var(--reform-wine);color:var(--reform-cream)}
.reform-buy .reform-section-head h2{color:#fff!important}
.reform-buy .reform-section-head>span{color:var(--reform-gold)}
.reform-buy-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid rgba(247,238,217,.25)}
.reform-buy-grid>a{position:relative;display:flex;min-height:250px;flex-direction:column;padding:32px 30px 28px;color:var(--reform-cream)!important;text-decoration:none!important;border-right:1px solid rgba(247,238,217,.22);transition:background .2s ease}
.reform-buy-grid>a:last-child{border-right:0}
.reform-buy-grid>a:hover,.reform-buy-grid>a:focus-visible{background:var(--reform-wine-deep);color:var(--reform-cream)!important}
.reform-buy-grid>a:hover strong,.reform-buy-grid>a:hover span,.reform-buy-grid>a:focus-visible strong,.reform-buy-grid>a:focus-visible span{color:var(--reform-cream)!important}
.reform-buy-grid small{color:var(--reform-gold);font-size:12px;letter-spacing:.12em}
.reform-buy-grid strong{margin-top:auto;font-family:Georgia,'Times New Roman',serif;font-size:clamp(27px,2.2vw,36px);font-weight:500}
.reform-buy-grid span{max-width:31ch;margin-top:10px;color:rgba(247,238,217,.76);font-size:14px;line-height:1.5}
.reform-buy-grid b{position:absolute;right:28px;bottom:28px;color:var(--reform-gold);font-size:20px}
.reform-recipes{display:grid;grid-template-columns:minmax(260px,.62fr) minmax(0,1.38fr);gap:clamp(36px,6vw,90px);padding:clamp(76px,9vw,128px) clamp(22px,7vw,104px);background:#fff}
.reform-recipes-copy{align-self:center}
.reform-recipes-copy h2,.reform-canastra-copy h2{max-width:10ch!important;margin:16px 0 20px!important;color:var(--reform-wine-deep)!important;font-size:clamp(40px,4.4vw,66px)!important;line-height:.98!important;letter-spacing:-.04em!important}
.reform-recipes-copy p,.reform-canastra-copy p{max-width:36ch;margin-bottom:28px!important;color:#655149;font-size:16px;line-height:1.65}
.reform-recipe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.reform-recipe{display:flex;flex-direction:column;color:var(--reform-ink)!important;text-decoration:none!important;background:var(--reform-cream)}
.reform-recipe-media{aspect-ratio:4/5;overflow:hidden}
.reform-recipe-media img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.reform-recipe:hover .reform-recipe-media img{transform:scale(1.025)}
.reform-recipe>div:last-child{padding:18px 18px 22px}
.reform-recipe h3{margin:8px 0 0!important;font-size:20px!important;line-height:1.15!important;color:var(--reform-wine-deep)!important}
.reform-canastra{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);min-height:580px;background:#efe2c9}
.reform-canastra-media{min-height:580px;overflow:hidden}
.reform-canastra-media img{width:100%;height:100%;object-fit:cover;object-position:center}
.reform-canastra-copy{display:flex;flex-direction:column;justify-content:center;padding:clamp(42px,6vw,88px)}
.reform-home+.home-footer{min-height:72px!important;padding:24px!important;background:var(--reform-wine-deep)!important;color:var(--reform-cream)!important}
.reform-home+.home-footer p{margin:0!important;text-align:center!important;font-size:13px!important;letter-spacing:.06em!important}
@media(max-width:1000px){
  .reform-product{grid-template-columns:1fr}.reform-product-media{min-height:300px;aspect-ratio:16/10}
  .reform-recipes{grid-template-columns:1fr}.reform-recipes-copy{display:grid;grid-template-columns:1fr 1fr;column-gap:30px}.reform-recipes-copy>span{grid-column:1/-1}.reform-recipes-copy .reform-text-link{align-self:end;margin-bottom:28px}
}
@media(max-width:820px){
  .reform-header .home-menu{display:block!important}.reform-header .reform-nav{display:none!important}
  .reform-header .reform-nav.is-open{position:absolute;top:72px;left:0;right:0;display:flex!important;flex-direction:column;align-items:stretch!important;gap:0!important;padding:14px 22px 20px;background:var(--reform-cream);border-bottom:1px solid var(--reform-line);z-index:50}
  .reform-header .reform-nav.is-open>a{padding:14px 0!important}
  .reform-hero{height:620px;min-height:620px}.reform-hero-copy{width:70%;padding-left:32px}.reform-hero-copy h1{font-size:58px!important}
  .reform-section-head{grid-template-columns:1fr;row-gap:18px}.reform-product-grid{grid-template-columns:1fr}
  .reform-buy-grid{grid-template-columns:1fr}.reform-buy-grid>a{min-height:180px;border-right:0;border-bottom:1px solid rgba(247,238,217,.22)}
  .reform-recipe-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .reform-canastra{grid-template-columns:1fr}.reform-canastra-media{min-height:420px}
}
@media(max-width:600px){
  .reform-header{height:64px!important;min-height:64px!important;padding:0 16px!important}.reform-header .home-brand img{height:34px!important}
  .reform-header .home-actions{display:none!important}.reform-header .reform-nav.is-open{top:64px}
  .reform-hero{height:560px;min-height:560px}.reform-hero picture img{object-position:70% center}.reform-hero-shade{background:linear-gradient(90deg,rgba(58,8,16,.92) 0%,rgba(104,15,26,.68) 58%,rgba(104,15,26,.12) 100%)}
  .reform-hero-copy{width:86%;padding:70px 20px 0}.reform-hero-copy h1{font-size:44px!important}.reform-hero-copy p{font-size:17px}
  .reform-products,.reform-buy{padding:58px 18px}.reform-section-head{margin-bottom:30px}.reform-section-head h2{font-size:38px!important}
  .reform-product{min-height:0}.reform-product-media{min-height:0;aspect-ratio:4/3}.reform-product-copy{padding:24px}
  .reform-recipes{padding:62px 18px}.reform-recipes-copy{display:block}.reform-recipes-copy h2,.reform-canastra-copy h2{font-size:40px!important}
  .reform-recipe-grid{grid-template-columns:1fr 1fr;gap:12px}.reform-recipe:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.reform-recipe:last-child .reform-recipe-media{aspect-ratio:1/1}
  .reform-recipe h3{font-size:17px!important}
  .reform-canastra-media{min-height:320px}.reform-canastra-copy{padding:52px 20px 62px}
}

/* Catalog + retail reformulation */
.reform-catalog,.reform-retail{background:var(--reform-cream)!important;color:var(--reform-ink)}
.reform-catalog-hero,.reform-retail-hero{padding:clamp(84px,10vw,150px) clamp(22px,7vw,104px) clamp(68px,8vw,110px);background:var(--reform-wine-deep);color:var(--reform-cream)}
.reform-catalog-hero>span,.reform-retail-hero>span,.reform-catalog-heading>span,.reform-catalog-bridge span,.reform-catalog-origin span,.reform-retail-guide span{display:block;margin-bottom:16px;color:var(--reform-gold);font-size:12px;font-weight:800;letter-spacing:.16em}
.reform-catalog-hero h1,.reform-retail-hero h1{max-width:12ch!important;margin:0 0 24px!important;color:#fff!important;font-size:clamp(52px,6.4vw,92px)!important;line-height:.92!important;letter-spacing:-.05em!important}
.reform-catalog-hero p,.reform-retail-hero p{max-width:48ch;margin:0!important;color:rgba(247,238,217,.8);font-size:17px;line-height:1.65}
.reform-catalog-products,.reform-retail-products{padding:clamp(70px,8vw,116px) clamp(22px,7vw,104px);background:#fff}
.reform-catalog-heading{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:end;margin-bottom:44px}
.reform-catalog-heading>span{grid-column:1/-1;color:var(--reform-earth)}
.reform-catalog-heading h2{max-width:12ch!important;margin:0!important;color:var(--reform-wine-deep)!important;font-size:clamp(38px,4vw,60px)!important;line-height:.98!important;letter-spacing:-.04em!important}
.reform-catalog-heading p{max-width:40ch;margin:0!important;color:#655149;line-height:1.6}
.reform-catalog-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:clamp(24px,3vw,46px)!important}
.reform-catalog-grid .catalog-product-card{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(230px,.75fr)!important;min-height:430px!important;background:var(--reform-cream)!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:hidden}
.reform-catalog-grid .catalog-product-image{min-height:430px!important;border-radius:0!important}
.reform-catalog-grid .catalog-product-image img{width:100%!important;height:100%!important;object-fit:cover!important}
.reform-catalog-grid .catalog-product-copy{display:flex!important;flex-direction:column!important;justify-content:flex-end!important;padding:clamp(26px,3vw,42px)!important}
.reform-catalog-grid .catalog-product-copy h2{margin:10px 0 14px!important;color:var(--reform-wine-deep)!important;font-size:clamp(28px,2.5vw,40px)!important;line-height:1!important}
.reform-catalog-grid .catalog-product-copy p{line-height:1.55!important}
.reform-catalog-grid .catalog-product-action{margin-top:20px!important;color:var(--reform-wine)!important}
.reform-catalog-bridge,.reform-retail-guide{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(220px,.7fr);gap:40px;align-items:end;padding:clamp(70px,8vw,110px) clamp(22px,7vw,104px);background:var(--reform-wine);color:var(--reform-cream)}
.reform-catalog-bridge h2,.reform-retail-guide h2{max-width:14ch!important;margin:0 0 18px!important;color:#fff!important;font-size:clamp(38px,4vw,60px)!important;line-height:.98!important;letter-spacing:-.04em!important}
.reform-catalog-bridge p,.reform-retail-guide p{max-width:50ch;color:rgba(247,238,217,.78);line-height:1.6}
.reform-catalog-bridge>a,.reform-retail-guide>a,.reform-catalog-origin a{width:max-content;justify-self:end;color:var(--reform-cream)!important;text-decoration:none!important;font-weight:800;border-bottom:1px solid var(--reform-gold);padding-bottom:5px}
.reform-catalog-origin{min-height:440px;display:flex;align-items:center;padding:clamp(70px,8vw,110px) clamp(22px,7vw,104px);background:linear-gradient(90deg,#efe2c9,#f7eed9)}
.reform-catalog-origin>div{max-width:700px}
.reform-catalog-origin h2{margin:0 0 18px!important;color:var(--reform-wine-deep)!important;font-size:clamp(40px,4.4vw,66px)!important;line-height:.98!important}
.reform-catalog-origin p{max-width:46ch;color:#655149;line-height:1.6}
.reform-catalog-origin a{display:inline-block;margin-top:16px;color:var(--reform-wine)!important}
.reform-retail-hero{background:var(--reform-wine)}
.reform-retail-guide{background:var(--reform-wine-deep)}
@media(max-width:900px){
 .reform-catalog-grid{grid-template-columns:1fr!important}
 .reform-catalog-grid .catalog-product-card{grid-template-columns:1fr!important}
 .reform-catalog-grid .catalog-product-image{min-height:0!important;aspect-ratio:16/10}
}
@media(max-width:600px){
 .reform-catalog-hero,.reform-retail-hero{padding:74px 18px 58px}
 .reform-catalog-hero h1,.reform-retail-hero h1{font-size:48px!important}
 .reform-catalog-products,.reform-retail-products{padding:56px 18px}
 .reform-catalog-heading{grid-template-columns:1fr;gap:16px}
 .reform-catalog-heading>span{grid-column:auto}
 .reform-catalog-grid .catalog-product-image{aspect-ratio:4/3}
 .reform-catalog-bridge,.reform-retail-guide{grid-template-columns:1fr;padding:58px 18px}
 .reform-catalog-bridge>a,.reform-retail-guide>a{justify-self:start}
 .reform-catalog-origin{min-height:0;padding:58px 18px}
}

/* Icon system R2: one semantic mark per surface, never repeated as a stamp */
.public-signature-icon{display:block;width:64px!important;height:64px!important;object-fit:contain!important;flex:0 0 64px}
.origem-hero-copy>.public-signature-icon,.queijo-hero-copy>.public-signature-icon,.guias-hero-copy>.public-signature-icon{width:54px!important;height:54px!important;margin:0 0 22px}
.recipes-status>.public-signature-icon{width:48px!important;height:48px!important;margin:0 0 18px}
.public-simple-hero>.public-signature-icon{width:50px!important;height:50px!important;margin:0 0 18px}
.atacado-origin-media>.public-signature-icon,.eventos-origin-media>.public-signature-icon{width:76px!important;height:76px!important}
.encomendas-section-heading>.public-signature-icon{width:58px!important;height:58px!important;margin:0 0 18px}
.representantes-intro .public-signature-icon{width:58px!important;height:58px!important;margin:0 0 18px}

.reform-footer{display:flex!important;min-height:86px!important;align-items:center!important;justify-content:space-between!important;gap:28px!important;padding:26px clamp(20px,5vw,72px)!important}
.reform-footer p{margin:0!important;text-align:left!important}
.reform-footer nav{display:flex;flex-wrap:wrap;gap:20px}
.reform-footer nav a{color:rgba(247,238,217,.78)!important;text-decoration:none!important;font-size:12px;font-weight:700;letter-spacing:.04em}
.reform-footer nav a:hover{color:var(--reform-gold)!important}
@media(max-width:600px){.reform-footer{align-items:flex-start!important;flex-direction:column!important}.reform-footer nav{gap:14px 18px}}

/* Catalog card conflict reset: legacy card CSS must not overlay copy on photography */
.reform-catalog-grid .catalog-product-card{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;min-height:0!important;position:relative!important}
.reform-catalog-grid .catalog-product-image{display:block!important;position:relative!important;inset:auto!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:4/3!important;overflow:hidden!important}
.reform-catalog-grid .catalog-product-copy{display:flex!important;position:static!important;inset:auto!important;transform:none!important;width:auto!important;height:auto!important;min-height:250px!important;padding:28px 30px 30px!important;background:var(--reform-cream)!important;color:var(--reform-ink)!important;z-index:auto!important}
.reform-catalog-grid .catalog-product-copy h2{max-width:13ch!important}
.reform-catalog-grid .catalog-product-price{margin-top:auto!important}
@media(max-width:600px){.reform-catalog-grid .catalog-product-copy{min-height:220px!important;padding:24px!important}}

body[data-surface='public'] #app .reform-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
@media(max-width:900px){body[data-surface='public'] #app .reform-catalog-grid{grid-template-columns:1fr!important}}

/* Commercial/editorial reform: remove repeated card-stamp treatment */
body[data-surface='public'] #app :is(.atacado-profile-list>div,.encomendas-occasion-list>article,.eventos-context-list>article,.representantes-fit-grid>article){
  background:transparent!important;border:0!important;border-top:1px solid rgba(104,15,26,.22)!important;border-radius:0!important;box-shadow:none!important
}
body[data-surface='public'] #app :is(.atacado-profile-list,.encomendas-occasion-list,.eventos-context-list,.representantes-fit-grid){gap:0!important}
body[data-surface='public'] #app :is(.atacado-profile-list>div,.encomendas-occasion-list>article,.eventos-context-list>article,.representantes-fit-grid>article){padding:24px 18px!important}
body[data-surface='public'] #app :is(.atacado-steps,.encomendas-steps,.eventos-steps,.representantes-steps) li{border-radius:0!important;box-shadow:none!important}
body[data-surface='public'] #app :is(.origem-page,.queijo-page,.guias-page) .public-signature-icon{filter:none!important}
body[data-surface='public'] #app :is(.origem-hero-copy,.queijo-hero-copy,.guias-hero-copy) .public-signature-icon{margin-bottom:20px!important}
