/*
Theme Name: Miguel Sá — Lovable Final
Author: Miguel Sá / conversão do projeto Lovable
Description: Tema independente para o site Miguel Sá Mirtilos, adaptado do projeto Lovable.
Version: 3.0.0
Requires PHP: 7.4
Text Domain: miguel-sa-mirtilos
*/
:root{--berry:#354c83;--forest:#203f32;--green:#36a45c;--text:#293345;--muted:#68707a;--cream:#fbfcf7}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--text);font-family:'Nunito Sans',Arial,sans-serif;line-height:1.6}h1,h2,h3{font-family:'Libre Baskerville',Georgia,serif;line-height:1.23;font-weight:700}h1{font-size:clamp(2.6rem,5vw,4.2rem)}h2{font-size:clamp(2rem,3.5vw,3rem)}h3{font-size:1.15rem}a{color:inherit;text-decoration:none}img{max-width:100%}.wrap{max-width:1240px;margin:auto;padding-left:24px;padding-right:24px}.site-head{position:sticky;top:0;z-index:20;background:rgba(251,252,247,.96);border-bottom:1px solid #e8e9e3;backdrop-filter:blur(12px)}body.admin-bar .site-head{top:32px}.head-inner{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:22px}.logo{width:165px;height:auto;display:block}.nav{display:flex;gap:28px;font-size:14px}.nav a:hover,.foot-nav a:hover{color:var(--berry)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 20px;border-radius:7px;background:var(--green);color:#fff;font-weight:700;font-size:14px;box-shadow:0 3px 12px #0001}.btn:hover{filter:brightness(1.1)}.btn-outline{background:var(--cream);border:1px solid #9ca0a4;color:var(--text);box-shadow:none}.hero{position:relative;min-height:620px;display:flex;align-items:center;overflow:hidden}.hero>img,.contact>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hero>img{object-position:right}.hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#fbfcf7 0%,rgba(251,252,247,.95) 35%,rgba(251,252,247,.1) 100%);z-index:1}.hero-content{position:relative;z-index:2;width:100%;padding-top:90px;padding-bottom:90px}.hero-copy{max-width:590px}.eyebrow{font-size:12px;font-weight:800;letter-spacing:.25em;text-transform:uppercase}.muted{color:var(--muted)}.berry{color:var(--berry)}.hero-copy h1{margin:15px 0 20px}.hero-copy>p:not(.eyebrow){font-size:18px}.actions{display:flex;gap:15px;flex-wrap:wrap;margin-top:30px}.facts{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-top:44px;font-size:12px}.fact{display:flex;gap:8px;align-items:center}.ico{font-size:25px;color:var(--forest)}.hand{font-family:'Caveat',cursive;font-size:35px;line-height:1.05}.hero-hand{position:absolute;bottom:30px;right:8%;z-index:2;color:white;transform:rotate(-6deg)}.production{height:420px;position:relative;color:white;text-align:center;overflow:hidden}.production>img{height:100%;width:100%;object-fit:cover}.production:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(53,76,131,.8),transparent 65%)}.production-copy{position:absolute;z-index:2;top:40px;left:20px;right:20px}.production-copy h2{margin:10px 0}.production-hand{position:absolute;bottom:28px;right:7%;z-index:2;transform:rotate(-6deg)}.features{background:#f0f3ed;padding:58px 0}.feature-grid{display:grid;grid-template-columns:repeat(4,1fr)}.feature{text-align:center;padding:8px 22px;border-right:1px solid #d9dfd7}.feature:last-child{border:0}.feature h3{color:var(--berry);margin:14px 0 6px}.feature p{font-size:14px;color:var(--muted);margin:0}.two-col{display:grid;grid-template-columns:1fr 1fr}.sustain>img{height:100%;min-height:430px;width:100%;object-fit:cover}.sustain-copy{padding:70px clamp(24px,5vw,90px)}.sustain-copy p{color:var(--muted)}.mini-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;color:var(--berry);font-size:14px;font-weight:700;margin-top:30px}.mini-grid span{display:block}.products{padding-top:85px;padding-bottom:85px;align-items:center;gap:60px}.products p{color:var(--muted)}.products .lead{font-weight:700;color:var(--berry)}.checks{padding:0;list-style:none}.checks li{margin:12px 0}.checks li:before{content:'✓';background:var(--forest);color:white;border-radius:50%;padding:1px 5px;margin-right:12px}.product-img{position:relative}.product-img>img{width:100%;border-radius:12px;display:block}.product-logo{position:absolute;width:32%;left:34%;top:21%;transform:rotate(-6deg)}.product-hand{position:absolute;top:18px;right:22px;color:var(--berry);transform:rotate(-6deg)}.contact{position:relative;color:#f8faf5;overflow:hidden}.contact>img{opacity:.65}.contact:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#203f32 0%,rgba(32,63,50,.6) 55%,rgba(32,63,50,.9));z-index:1}.contact-inner{position:relative;z-index:2;padding-top:85px;padding-bottom:85px;display:grid;grid-template-columns:1.4fr 1fr;gap:60px}.contact h2{margin:12px 0}.contact p{max-width:480px}.contact-details{align-self:center}.contact-details p{margin:16px 0}.footer{padding-top:40px;padding-bottom:28px}.footer-top{display:flex;justify-content:space-between;gap:28px;align-items:center;flex-wrap:wrap}.foot-nav{display:flex;flex-wrap:wrap;gap:18px;font-size:14px}.foot-meta{font-size:14px}.footer-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;border-top:1px solid #ddd;margin-top:35px;padding-top:22px;font-size:12px;color:var(--muted)}.footer-bottom a{text-decoration:underline}.mobile-menu{display:none}.note{font-size:12px;opacity:.75}@media(max-width:900px){.nav{display:none}.head-inner{flex-wrap:wrap}.head-inner>.btn{padding:10px}.hero{min-height:570px}.hero:before{background:linear-gradient(90deg,#fbfcf7 0%,rgba(251,252,247,.9) 65%,rgba(251,252,247,.35))}.facts{grid-template-columns:repeat(2,1fr)}.feature-grid{grid-template-columns:repeat(2,1fr);gap:22px}.feature:nth-child(2){border:0}.two-col{grid-template-columns:1fr}.sustain>img{max-height:380px}.contact-inner{grid-template-columns:1fr;gap:15px}}@media(max-width:550px){body.admin-bar .site-head{top:0}.logo{width:125px}.head-inner{min-height:70px}.head-inner>.btn{font-size:12px}.hero-content{padding-top:75px;padding-bottom:75px}.hero-hand,.production-hand{display:none}.hero h1{font-size:2.5rem}.feature-grid{grid-template-columns:1fr}.feature{border:0;border-bottom:1px solid #d9dfd7;padding:16px}.mini-grid{gap:10px;font-size:12px}.products{padding-top:50px;padding-bottom:50px}.product-hand{font-size:24px}}

/* Isolamento do tema final e apresentação responsiva */
body.home .site-head{display:block}body.home main#inicio{display:block}body.home .hero-copy h1{font-family:'Libre Baskerville',Georgia,serif;font-weight:700;color:var(--text)}body.home .hero-copy h1 .berry{color:var(--berry)}
body.home .hero-copy .eyebrow{color:var(--muted)}
body.home .hero .btn-outline{background:var(--cream);color:var(--text);border:1px solid #cbd0ca}
body.home .hero .btn{background:var(--green);color:#fff}body.home .hero .btn-outline{background:var(--cream);color:var(--text)}
body.home .hero .facts{color:var(--text)}
@media(max-width:650px){body.home .hero{min-height:650px}body.home .hero:before{background:linear-gradient(90deg,rgba(251,252,247,.98),rgba(251,252,247,.86) 65%,rgba(251,252,247,.35))}body.home .hero-copy{max-width:100%}body.home .hero-copy h1{font-size:clamp(2rem,8vw,2.8rem)}body.home .head-inner{gap:12px}body.home .head-inner>.btn{font-size:11px;padding:10px 12px}}
