/*
Theme Name: Pernil do Zé — Moderno
Theme URI: https://www.pernildoze.com.br/
Author: Pernil do Zé
Description: Tema WordPress responsivo, moderno e editável para o Pernil do Zé. Inclui página inicial, cardápio, pernil por quilo, eventos e CTAs de pedido.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: pernil-do-ze
*/
:root{
 --brown:#2a1208;--brown2:#4a1f0d;--yellow:#f6c515;--cream:#fff7e6;--ink:#24140d;
 --white:#fff;--muted:#6d5c52;--shadow:0 16px 40px rgba(42,18,8,.12);--radius:22px;
}
*{box-sizing:border-box} html{scroll-behavior:smooth} body{margin:0;color:var(--ink);background:#fff;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;line-height:1.55}
img{max-width:100%;height:auto;display:block}.container{width:min(1180px,92%);margin:auto}
a{color:inherit;text-decoration:none}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 20px;border-radius:12px;font-weight:800;border:2px solid transparent;transition:.2s}
.btn-primary{background:var(--yellow);color:#1d120a}.btn-primary:hover{transform:translateY(-2px);filter:brightness(.97)}
.btn-outline{border-color:#fff;color:#fff}.btn-outline:hover{background:#fff;color:var(--brown)}
.site-header{position:sticky;top:0;z-index:1000;background:rgba(42,18,8,.96);backdrop-filter:blur(12px);color:#fff}
.header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand img{max-height:58px;width:auto}.brand-text{font-weight:900;font-size:24px;color:var(--yellow)}
.main-nav{display:flex;align-items:center;gap:24px;font-weight:700;font-size:14px}.main-nav a:hover{color:var(--yellow)}
.menu-toggle{display:none;background:none;border:0;color:#fff;font-size:28px}
.hero{min-height:650px;background:linear-gradient(90deg,rgba(25,8,2,.92) 0%,rgba(25,8,2,.68) 45%,rgba(25,8,2,.2) 100%),var(--hero-image,linear-gradient(135deg,#3a1608,#8c3c0d));background-size:cover;background-position:center;display:flex;align-items:center;color:#fff}
.hero-content{max-width:650px;padding:90px 0}.eyebrow{color:var(--yellow);font-weight:900;text-transform:uppercase;letter-spacing:.12em;font-size:13px}
.hero h1{font-size:clamp(42px,6vw,76px);line-height:.98;margin:12px 0 22px;font-weight:950}.hero h1 span{color:var(--yellow)}
.hero p{font-size:clamp(18px,2vw,22px);max-width:580px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}
.section{padding:78px 0}.section.alt{background:var(--cream)}.section.dark{background:var(--brown);color:#fff}
.section-head{text-align:center;max-width:720px;margin:0 auto 38px}.section-head h2{font-size:clamp(30px,4vw,48px);line-height:1.05;margin:0 0 12px}.section-head p{color:var(--muted);margin:0}.dark .section-head p{color:#e9d8cc}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:stretch}.about-card,.reason-card,.event-card,.kg-card{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.about-card{display:grid;grid-template-columns:42% 58%}.about-card .photo{min-height:300px;background-size:cover;background-position:center}.about-copy{padding:32px}.about-copy h3,.reason-card h3,.event-card h3,.kg-card h3{font-size:30px;margin:0 0 12px}.check-list{padding:0;margin:18px 0 0;list-style:none}.check-list li{margin:10px 0;font-weight:650}.check-list li::before{content:"✓";color:#8d6500;font-weight:900;margin-right:10px}
.products{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.product-card{background:#fff;border:1px solid #eee2d6;border-radius:18px;overflow:hidden;box-shadow:0 8px 24px rgba(42,18,8,.08);display:flex;flex-direction:column}.product-card .product-img{aspect-ratio:1/1;background:#efe3d5 center/cover no-repeat}.product-body{padding:20px;display:flex;flex-direction:column;flex:1}.product-body h3{margin:0 0 7px;font-size:22px}.product-body p{margin:0 0 14px;color:var(--muted);font-size:14px}.product-meta{margin-top:auto;font-weight:900;color:var(--brown)}.product-body .btn{margin-top:14px;width:100%}
.category-title{margin:48px 0 20px;font-size:30px}.kg-wrap{display:grid;grid-template-columns:1.1fr .9fr;gap:28px}.kg-card{padding:34px}.price-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:24px 0}.price{background:var(--cream);padding:18px;border-radius:16px}.price small{display:block;color:var(--muted)}.price strong{font-size:27px}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:28px}.step{background:#fff;border:1px solid #eaded2;border-radius:16px;padding:18px}.step b{display:block;color:var(--brown);margin-bottom:5px}
.event-card{padding:34px;display:grid;grid-template-columns:1.1fr .9fr;gap:25px;align-items:center}.event-photo{min-height:300px;border-radius:18px;background:center/cover no-repeat}
.delivery{display:grid;grid-template-columns:1fr 1fr;gap:20px}.delivery-box{background:#3b190b;border:1px solid rgba(255,255,255,.15);border-radius:20px;padding:28px}.delivery-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.delivery-links .btn{background:#fff;color:var(--brown);border:0}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.contact-box{padding:32px;border-radius:20px;background:var(--cream)}.contact-box h3{margin-top:0}.site-footer{background:#1d0d06;color:#fff;padding:46px 0 28px}.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:30px}.site-footer h3{color:var(--yellow);margin-top:0}.footer-bottom{border-top:1px solid rgba(255,255,255,.15);margin-top:35px;padding-top:20px;font-size:13px;color:#d7c7be}
.mobile-bar{display:none}.wp-block-button__link{border-radius:12px}
@media(max-width:980px){.main-nav{gap:14px}.products{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}.steps{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){
 .header-inner{min-height:66px}.main-nav{display:none;position:absolute;left:0;right:0;top:66px;background:var(--brown);padding:15px 5%;flex-direction:column;align-items:stretch;gap:0}.main-nav.open{display:flex}.main-nav a{padding:12px 0;border-bottom:1px solid rgba(255,255,255,.12)}.menu-toggle{display:block}
 .header-cta{display:none}.hero{min-height:620px}.hero-content{padding:80px 0 120px}.hero h1{font-size:46px}.section{padding:58px 0}.grid-2,.kg-wrap,.delivery,.contact-grid,.event-card{grid-template-columns:1fr}.about-card{grid-template-columns:1fr}.about-card .photo{min-height:230px}.products{grid-template-columns:1fr 1fr;gap:12px}.product-body{padding:14px}.product-body h3{font-size:18px}.product-body p{font-size:13px}.price-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.mobile-bar{display:grid;grid-template-columns:1fr 1fr 1.2fr;position:fixed;z-index:1100;bottom:0;left:0;right:0;background:#1d0d06;color:#fff;box-shadow:0 -8px 25px rgba(0,0,0,.2);padding:8px}.mobile-bar a{text-align:center;font-size:12px;font-weight:800;padding:8px 4px}.mobile-bar a:last-child{background:var(--yellow);color:#1d120a;border-radius:10px}.site-footer{padding-bottom:90px}
}
@media(max-width:430px){.products{grid-template-columns:1fr}.hero h1{font-size:42px}.hero p{font-size:17px}.hero-actions .btn{width:100%}}
