/* Casa do Pao - site.css restaurado */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg,#522900);color:var(--text,#fbf6ea);font-family:var(--font-body,Arial,sans-serif);font-size:var(--font-base,16px);line-height:1.5;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
main{min-height:55vh;overflow:hidden}
h1,h2,h3,h4,p{margin-top:0}
h1,h2,h3,h4{font-family:var(--font-heading,Georgia,serif);line-height:.98}

/* topo */
.announcement{min-height:32px;display:flex;align-items:center;justify-content:center;padding:6px 20px;background:var(--orange,#d94b1a);color:#fff;text-transform:uppercase;letter-spacing:.06em;font-size:12px;font-weight:800;text-align:center}
.announcement p{margin:0}
.site-header{height:80px;display:grid;grid-template-columns:96px minmax(0,1fr) auto;align-items:center;gap:22px;padding:0 54px;background:var(--header-bg,#522900);border-bottom:1px solid rgba(255,255,255,.08);position:relative;z-index:40}
.brand{display:inline-flex;align-items:center;width:68px;height:68px}
.brand img{width:68px;height:68px;object-fit:contain;border-radius:50%}
.desktop-nav{display:flex;justify-content:center;align-items:center;gap:30px;min-width:0;font-size:var(--font-nav,13px);font-weight:700}
.nav-item{display:inline-flex;align-items:center;white-space:nowrap}
.nav-item a{opacity:.9;transition:.2s}
.nav-item a:hover{opacity:1;color:var(--gold,#f59e0b)}
.header-actions{display:flex;align-items:center;gap:18px;font-size:13px;font-weight:700;white-space:nowrap}
.header-search{width:220px;height:40px;display:flex;align-items:center;border:1px solid rgba(255,255,255,.18);border-radius:999px;overflow:hidden;background:rgba(255,255,255,.035)}
.header-search input{min-width:0;flex:1;height:100%;border:0;outline:0;background:transparent;color:var(--cream,#fbf6ea);padding:0 14px}
.header-search input::placeholder{color:rgba(255,255,255,.55)}
.header-search button{width:42px;height:100%;border:0;background:transparent;color:var(--cream,#fbf6ea);font-size:18px}
.cart-pill{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:9px 13px}
.cart-pill b{min-width:21px;height:21px;display:grid;place-items:center;border-radius:50%;background:var(--orange,#d94b1a);color:#fff;font-size:11px}
.menu-toggle{display:none;border:0;background:transparent;color:var(--cream,#fbf6ea);font-size:25px}
.mobile-drawer,.mobile-bottom{display:none}

/* botoes e elementos comuns */
.section{width:min(1620px,calc(100% - 80px));margin:0 auto;padding:74px 0}
.eyebrow{display:inline-block;color:var(--gold,#f59e0b);font-size:12px;font-weight:900;letter-spacing:.18em;text-transform:uppercase;margin-bottom:16px}
.btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:0 22px;border:1px solid transparent;font-weight:800;transition:transform .2s,filter .2s,background .2s}
.btn:hover{transform:translateY(-1px);filter:brightness(1.05)}
.btn.primary{background:linear-gradient(90deg,var(--gold,#f59e0b),var(--orange,#d94b1a));color:#160a03}
.btn.ghost{border-color:rgba(255,255,255,.24);background:rgba(255,255,255,.04);color:var(--cream,#fbf6ea)}
.btn.wide{width:100%}
.text-link{display:inline-flex;margin-top:18px;color:var(--gold,#f59e0b);font-weight:800}
.muted{color:var(--muted,#cbbfb5)}
.flash{position:fixed;z-index:100;top:126px;left:50%;transform:translateX(-50%);padding:12px 18px;border-radius:14px;background:#fff;color:#19110c;box-shadow:0 14px 40px rgba(0,0,0,.28);font-weight:700}
.flash.error{background:#ffd9d0;color:#7a160b}

/* hero home */
.hero-slider{height:min(650px,calc(100vh - 112px));min-height:540px;position:relative;overflow:hidden;background:#251006;border-bottom:24px solid rgba(245,158,11,.18)}
.slides,.hero-slide{position:absolute;inset:0}
.hero-slide{opacity:0;pointer-events:none;transition:opacity .55s ease;background-image:var(--hero);background-size:cover;background-position:center;overflow:hidden}
.hero-slide.active{opacity:1;pointer-events:auto}
.hero-slide::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(40,18,5,.82) 0%,rgba(40,18,5,.5) 36%,rgba(40,18,5,.12) 66%,rgba(40,18,5,.03) 100%)}
.hero-overlay{position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(0,0,0,.03),rgba(0,0,0,.2))}
.hero-copy{position:absolute;z-index:3;left:58px;top:50%;transform:translateY(-48%);width:min(650px,60vw)}
.hero-copy h1{font-size:clamp(58px,6vw,var(--font-h1,82px));margin:0 0 18px;color:var(--cream,#fbf6ea);text-shadow:0 4px 20px rgba(0,0,0,.38)}
.hero-copy p{max-width:560px;font-size:17px;color:rgba(255,255,255,.86);text-shadow:0 2px 8px rgba(0,0,0,.5);margin-bottom:24px}
.hero-number{position:absolute;z-index:3;right:64px;bottom:56px;font-family:var(--font-heading,Georgia,serif);font-size:118px;line-height:.8;color:rgba(255,255,255,.13)}
.slide-prev,.slide-next{position:absolute;z-index:5;bottom:50px;width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.35);background:rgba(30,10,2,.35);color:#fff;font-size:20px}
.slide-prev{left:58px}.slide-next{left:112px}
.slide-dots{position:absolute;z-index:5;left:190px;bottom:70px;display:flex;gap:10px}
.slide-dots button{width:36px;height:3px;padding:0;border:0;background:rgba(255,255,255,.38)}
.slide-dots button.active{background:var(--gold,#f59e0b)}

/* intro */
.intro-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:100px;align-items:start}
.cms-heading h1,.cms-heading h2,.cms-heading h3,.cms-heading p{font-size:clamp(42px,4vw,var(--font-h2,52px));margin:0;color:var(--cream,#fbf6ea)}
.intro-grid>div:last-child{padding-top:28px;color:rgba(255,255,255,.72);font-size:17px;line-height:1.8}

/* categorias */
.category-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;padding-top:30px}
.category-tile{height:310px;position:relative;overflow:hidden;border-radius:20px;border:1px solid rgba(255,255,255,.16);background:#1d0b03}
.category-tile img{width:100%;height:100%;object-fit:cover;transition:transform .45s}
.category-tile:hover img{transform:scale(1.035)}
.category-tile::after{content:"";position:absolute;inset:38% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.82))}
.category-tile span{position:absolute;z-index:2;left:16px;right:12px;bottom:14px;font-family:var(--font-heading,Georgia,serif);font-size:20px;font-weight:700;color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.5)}

/* cabecalhos de secao */
.section-head{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:30px}
.section-head h2{font-size:clamp(36px,4vw,var(--font-h2,52px));margin:0}
.section-head>a{color:var(--gold,#f59e0b);font-weight:800}

/* produtos */
.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.product-card{overflow:hidden;border-radius:24px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.12)}
.product-media{display:block;aspect-ratio:4/3;overflow:hidden;background:#2b1407}
.product-media img{width:100%;height:100%;object-fit:cover;transition:transform .45s}
.product-card:hover .product-media img{transform:scale(1.035)}
.product-info{display:grid;grid-template-columns:1fr auto;gap:22px;padding:22px}
.product-info h3{font-size:25px;margin:0 0 9px}
.product-info p{margin:0;color:rgba(255,255,255,.63);font-size:14px;line-height:1.6}
.product-buy{display:flex;flex-direction:column;align-items:end;justify-content:space-between;gap:18px}
.product-buy strong{font-size:20px;color:var(--gold,#f59e0b);white-space:nowrap}
.icon-add{width:42px;height:42px;border-radius:50%;border:0;background:linear-gradient(135deg,var(--gold,#f59e0b),var(--orange,#d94b1a));font-size:24px;color:#1b0902}

/* historia */
.visual-story{display:grid;grid-template-columns:1.1fr .9fr;min-height:570px;padding-top:96px;padding-bottom:96px}
.story-image{overflow:hidden;border-radius:30px 0 0 30px}
.story-image img{width:100%;height:100%;min-height:500px;object-fit:cover}
.story-copy{padding:70px;background:var(--surface,#180606);border-radius:0 30px 30px 0;display:flex;flex-direction:column;justify-content:center}
.story-copy .cms-heading{margin-bottom:22px}
.story-copy p{color:rgba(255,255,255,.67);line-height:1.8}
.story-copy .btn{align-self:flex-start}

/* bento */
.bento{display:grid;grid-template-columns:1.5fr .75fr;grid-template-rows:1fr 1fr;gap:18px}
.bento-main{grid-row:1/3;min-height:540px;position:relative;overflow:hidden;border-radius:28px}
.bento-main img{width:100%;height:100%;object-fit:cover}
.bento-main::after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.82))}
.bento-main>div{position:absolute;z-index:2;left:38px;right:38px;bottom:35px}
.bento-main>div>span{color:var(--gold,#f59e0b);font-weight:800;text-transform:uppercase;font-size:12px;letter-spacing:.14em}
.bento-main .cms-heading p,.bento-main .cms-heading h2,.bento-main .cms-heading h3{font-size:46px;margin:10px 0 0}
.bento-small{border-radius:28px;padding:38px;background:#21110a;border:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column;justify-content:center}
.bento-small.hot{background:linear-gradient(145deg,rgba(217,75,26,.7),rgba(103,55,29,.75))}
.bento-small h3{font-size:33px;margin:0 0 12px}
.bento-small p{margin:0;color:rgba(255,255,255,.72);line-height:1.7}

/* paginas internas */
.page-hero{min-height:330px;padding:80px max(40px,calc((100vw - 1540px)/2));display:flex;flex-direction:column;justify-content:end;background:linear-gradient(90deg,rgba(31,12,3,.86),rgba(31,12,3,.55)),var(--page-hero-image) center/cover}
.page-hero.compact{min-height:245px}
.page-hero h1{font-size:clamp(48px,6vw,var(--font-h1,82px));margin:0 0 10px}
.page-hero p{max-width:700px;margin:0;color:rgba(255,255,255,.74);font-size:17px}
.filters{display:flex;flex-wrap:wrap;gap:10px;padding-top:34px;padding-bottom:34px}
.filters a{padding:9px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.04);font-size:13px;font-weight:700}
.search-page-form{display:flex;gap:10px;width:min(640px,100%)}
.search-page-form input{flex:1;min-width:0;border:1px solid rgba(255,255,255,.2);border-radius:999px;background:rgba(0,0,0,.22);color:#fff;padding:0 18px;outline:none}
.empty{padding:45px;border-radius:24px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.11);text-align:center}
.empty h2{font-size:34px}

/* detalhe produto */
.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.detail-image{border-radius:28px;overflow:hidden;background:#2b1307}
.detail-image img{width:100%;aspect-ratio:1/1;object-fit:cover}
.detail-copy h1{font-size:clamp(48px,5.5vw,76px);margin:0 0 18px}
.detail-copy .lead{font-size:18px;color:rgba(255,255,255,.68);line-height:1.7}
.price-line{display:flex;align-items:center;gap:14px;margin:26px 0}
.price-line strong{font-size:32px;color:var(--gold,#f59e0b)}
.price-line del{opacity:.5}
.buy-form{display:flex;gap:12px}
.buy-form input[type=number]{width:84px;border-radius:999px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.05);color:#fff;text-align:center}
.mini-benefits{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:22px;color:rgba(255,255,255,.62);font-size:12px}

/* carrinho */
.cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:34px;align-items:start}
.cart-list,.cart-summary,.account-card,.checkout-card{background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.11);border-radius:24px;padding:25px}
.cart-row{display:grid;grid-template-columns:90px 1fr 76px auto;gap:18px;align-items:center;padding:16px 0;border-bottom:1px solid rgba(255,255,255,.09)}
.cart-row img{width:90px;height:76px;border-radius:14px;object-fit:cover}
.cart-row h3{font-size:21px;margin:0 0 5px}
.cart-row span{font-size:13px;color:rgba(255,255,255,.58)}
.cart-row input{width:72px;padding:9px;border-radius:12px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.05);color:#fff}
.cart-summary{position:sticky;top:22px}
.cart-summary>div{display:flex;justify-content:space-between;gap:20px;margin:14px 0}
.cart-summary hr{border:0;border-top:1px solid rgba(255,255,255,.11);margin:20px 0}
.cart-summary small{display:block;color:rgba(255,255,255,.5);line-height:1.5;margin-top:15px}
.wa-order{display:block;text-align:center;color:var(--gold,#f59e0b);font-weight:800;margin-top:16px}

/* conta e checkout */
.account-grid,.checkout-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}
.account-card h2,.checkout-card h2{font-size:34px;margin-bottom:20px}
.stack-form{display:flex;flex-direction:column;gap:14px}
.stack-form label{display:flex;flex-direction:column;gap:7px;font-size:13px;color:rgba(255,255,255,.7)}
.stack-form input,.stack-form textarea,.stack-form select{width:100%;border:1px solid rgba(255,255,255,.16);border-radius:13px;background:rgba(0,0,0,.18);color:#fff;padding:12px 13px;outline:0}
.stack-form .two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.stack-form label.consent{display:grid;grid-template-columns:auto 1fr;align-items:start}
.stack-form label.consent input{width:auto;margin-top:3px}

/* sucesso e legal */
.success-page{text-align:center;max-width:760px}
.success-page h1{font-size:62px}
.success-icon{width:72px;height:72px;display:grid;place-items:center;margin:0 auto 18px;border-radius:50%;background:var(--gold,#f59e0b);color:#201006;font-size:35px;font-weight:900}
.notice{margin:24px 0;padding:16px;border-radius:14px;background:rgba(245,158,11,.12);border:1px solid rgba(245,158,11,.28)}
.notice.error{background:rgba(185,28,28,.15);border-color:rgba(255,100,100,.25)}
.legal{max-width:980px}
.legal h2{font-size:34px;margin-top:38px}
.legal p{color:rgba(255,255,255,.72);line-height:1.8}

/* rodape */
.site-footer{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:48px;padding:70px max(40px,calc((100vw - 1540px)/2));background:var(--footer-bg,#0b0705);border-top:1px solid rgba(255,255,255,.08)}
.site-footer>div:first-child img{width:90px;height:90px;object-fit:contain;border-radius:50%;margin-bottom:18px}
.site-footer h4{font-size:20px;margin:0 0 14px}
.site-footer p,.site-footer a{display:block;color:rgba(255,255,255,.62);font-size:14px;line-height:1.7;margin-bottom:8px}
.site-footer a:hover{color:var(--gold,#f59e0b)}
.floating-wa{position:fixed;z-index:60;right:22px;bottom:20px;width:52px;height:52px;display:grid;place-items:center;border-radius:50%;background:#42d664;color:#07150a;font-weight:900;box-shadow:0 14px 35px rgba(0,0,0,.3)}

/* animacao */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .55s ease,transform .55s ease}
.reveal.in{opacity:1;transform:none}

@media (max-width:1280px){
  .site-header{padding:0 30px;grid-template-columns:75px 1fr auto}.desktop-nav{gap:18px}.header-search{width:185px}
  .section{width:min(1180px,calc(100% - 50px))}.category-strip{grid-template-columns:repeat(4,1fr)}
  .product-grid{grid-template-columns:repeat(3,1fr)}
}

@media (max-width:980px){
  .site-header{height:70px;padding:0 20px;display:flex;justify-content:space-between}.brand,.brand img{width:56px;height:56px}.desktop-nav{display:none}.header-search,.header-actions>a{display:none}.header-actions{gap:6px}.menu-toggle{display:block}
  .mobile-drawer{display:flex;position:fixed;z-index:90;top:0;right:-100%;width:min(360px,90vw);height:100vh;padding:72px 24px 30px;background:#160b06;flex-direction:column;gap:14px;transition:right .3s;box-shadow:-20px 0 50px rgba(0,0,0,.35);overflow:auto}.mobile-drawer.open{right:0}.drawer-close{position:absolute;top:18px;right:20px;background:transparent;border:0;color:#fff;font-size:30px}.drawer-search{display:flex;border:1px solid rgba(255,255,255,.16);border-radius:999px;overflow:hidden;margin-bottom:10px}.drawer-search input{flex:1;min-width:0;background:transparent;border:0;color:#fff;padding:11px 14px;outline:0}.drawer-search button{width:45px;border:0;background:transparent;color:#fff}.mobile-drawer .nav-item{display:block}.mobile-drawer a{display:block;padding:10px 4px;border-bottom:1px solid rgba(255,255,255,.08)}
  .hero-slider{height:580px;min-height:0}.hero-copy{left:30px;width:72vw}.hero-number{right:30px;font-size:82px}.slide-prev{left:30px}.slide-next{left:84px}.slide-dots{left:158px}
  .section{width:calc(100% - 40px);padding:58px 0}.intro-grid{grid-template-columns:1fr;gap:20px}.intro-grid>div:last-child{padding-top:0}.category-strip{grid-template-columns:repeat(3,1fr)}.category-tile{height:255px}.product-grid{grid-template-columns:repeat(2,1fr)}
  .visual-story{grid-template-columns:1fr}.story-image{border-radius:28px 28px 0 0}.story-copy{border-radius:0 0 28px 28px;padding:45px}.bento{grid-template-columns:1fr}.bento-main{grid-row:auto}.bento-small{min-height:220px}
  .product-detail{grid-template-columns:1fr}.cart-layout{grid-template-columns:1fr}.cart-summary{position:static}.account-grid,.checkout-grid{grid-template-columns:1fr}.site-footer{grid-template-columns:1fr 1fr}
}

@media (max-width:640px){
  body{padding-bottom:64px}.announcement{font-size:10px;min-height:28px;padding:5px 12px}.site-header{height:64px}.brand,.brand img{width:50px;height:50px}
  .section{width:calc(100% - 28px);padding:45px 0}.hero-slider{height:520px;border-bottom-width:14px}.hero-slide{background-position:center}.hero-slide::before{background:linear-gradient(90deg,rgba(40,18,5,.88),rgba(40,18,5,.54) 62%,rgba(40,18,5,.25))}.hero-copy{left:20px;right:20px;top:48%;width:auto}.hero-copy h1{font-size:48px}.hero-copy p{font-size:15px}.hero-number{right:18px;bottom:45px;font-size:64px}.slide-prev,.slide-next{bottom:30px;width:40px;height:40px}.slide-prev{left:20px}.slide-next{left:68px}.slide-dots{left:120px;bottom:49px}.slide-dots button{width:24px}
  .category-strip{grid-template-columns:repeat(2,1fr);gap:10px}.category-tile{height:210px}.category-tile span{font-size:17px}.product-grid{grid-template-columns:1fr}.product-info{grid-template-columns:1fr auto;padding:18px}.product-info h3{font-size:22px}
  .story-image img{min-height:330px}.story-copy{padding:30px}.bento-main{min-height:400px}.bento-main>div{left:24px;bottom:24px}.bento-main .cms-heading p,.bento-main .cms-heading h2,.bento-main .cms-heading h3{font-size:34px}
  .page-hero{min-height:250px;padding:55px 20px 35px}.page-hero.compact{min-height:210px}.page-hero h1{font-size:46px}.search-page-form{flex-direction:column}.search-page-form input{min-height:46px}.product-detail{gap:30px}.detail-copy h1{font-size:44px}.buy-form{flex-wrap:wrap}.buy-form .btn{flex:1}.mini-benefits{display:grid}.cart-row{grid-template-columns:72px 1fr auto}.cart-row img{width:72px;height:66px}.cart-row input{grid-column:2;width:70px}.cart-row>strong{grid-column:3;grid-row:1}.stack-form .two{grid-template-columns:1fr}.site-footer{grid-template-columns:1fr;padding:50px 22px;gap:30px}.floating-wa{bottom:78px}
  .mobile-bottom{display:grid;position:fixed;z-index:55;left:0;right:0;bottom:0;height:64px;grid-template-columns:repeat(4,1fr);background:#120904;border-top:1px solid rgba(255,255,255,.11)}.mobile-bottom a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:18px}.mobile-bottom small{font-size:10px;color:rgba(255,255,255,.65)}
}
