@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--dark:#191817;--ink:#24211e;--muted:#7d7973;--cream:#f7f5f1;--cream2:#efebe5;--accent:#b78964;--line:#e7e2dc}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font-family:'DM Sans',Arial,sans-serif}h1,h2,h3,h4,p{margin-top:0}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}img{display:block;width:100%;height:100%;object-fit:cover}.shell{width:min(1300px,calc(100% - 88px));margin:auto}.announcement{background:var(--dark);color:#eae3dd;text-align:center;padding:10px 20px;font-size:11px;letter-spacing:.1em;text-transform:uppercase}.announcement span{color:var(--accent);margin:0 22px}.header{height:90px;background:#fff;position:sticky;top:0;z-index:20;border-bottom:1px solid #eae7e3}.nav{height:100%;display:flex;align-items:center;justify-content:space-between;gap:26px}.logo{display:flex;flex-direction:column;font-family:Manrope,sans-serif;white-space:nowrap}.logo>span{font-size:30px;font-weight:800;letter-spacing:-2px;line-height:1}.logo-accent{color:var(--accent)}.logo small{font-size:8px;font-weight:700;letter-spacing:3.1px;margin-top:8px}.nav nav{display:flex;gap:34px;font-size:13px;color:#514c47}.nav nav a:hover,.link-arrow:hover,.catalog-footer a:hover{color:var(--accent)}.nav-cta{background:var(--dark);color:#fff;padding:15px 21px;border-radius:3px;font-size:12px;font-weight:700}.nav-cta span{padding-left:17px}.hamburger{display:none;background:none;border:0;font-size:24px}.hero{background:var(--cream);overflow:hidden}.hero-layout{min-height:650px;display:grid;grid-template-columns:49% 51%;align-items:center}.hero-copy{padding:72px 65px 68px 0}.eyebrow,.kicker{font-size:10px;letter-spacing:.18em;font-weight:700;color:#886b55}.eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:33px}.eyebrow i{background:var(--accent);width:7px;height:7px;border-radius:50%}.hero h1,h2{font-family:Manrope,sans-serif;letter-spacing:-.065em}.hero h1{font-size:clamp(55px,5.3vw,86px);font-weight:800;line-height:1.07;margin-bottom:26px}.hero h1 em,h2 em{font-style:normal;color:var(--accent)}.hero-copy>p{color:#77716b;max-width:460px;line-height:1.85;font-size:16px}.hero-actions{display:flex;align-items:center;gap:28px;margin-top:32px}.btn{display:inline-flex;align-items:center;justify-content:center;padding:18px 25px;border-radius:3px;font-size:12px;font-weight:700;gap:35px;transition:transform .2s,background .2s}.btn:hover{transform:translateY(-2px)}.btn-dark{background:var(--dark);color:white}.btn-light{background:#fff;color:var(--dark)}.link-arrow{font-size:12px;font-weight:700}.link-arrow span{margin-left:15px}.hero-facts{display:flex;gap:32px;padding-top:59px}.hero-facts div{display:flex;flex-direction:column;gap:7px;border-left:1px solid #d7cec6;padding-left:16px}.hero-facts b{font-size:11px;color:var(--accent)}.hero-facts span{font-size:11px;font-weight:600;white-space:nowrap}.hero-media{position:relative;height:650px;padding:30px 0 30px 44px}.hero-main-image{width:78%;height:100%;overflow:hidden;background:#ccc}.hero-main-image img{object-position:center 47%}.hero-mini-image{position:absolute;right:0;top:100px;width:33%;height:340px;border:8px solid var(--cream);overflow:hidden}.hero-caption{position:absolute;right:0;bottom:45px;width:300px;background:#fff;padding:25px 27px;box-shadow:0 8px 35px #1111}.hero-caption span{display:block;font-size:9px;letter-spacing:.1em;color:var(--accent);margin-bottom:10px}.hero-caption b{font-size:15px;letter-spacing:-.02em}.features{border-bottom:1px solid var(--line);background:white}.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);text-align:center;padding:25px 0;font-size:11px;font-weight:700;color:#706960;letter-spacing:.02em}.feature-grid span+span{border-left:1px solid var(--line)}.section{padding:110px 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:48px}.section-head h2,.faq h2{font-size:clamp(38px,4vw,59px);line-height:1.1;margin:18px 0 0}.section-head>p{max-width:255px;font-size:13px;color:var(--muted);line-height:1.8;margin:0 0 5px}.dot{color:var(--accent)}.category-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:18px}.category{height:420px;position:relative;overflow:hidden;background:#eae3db;color:white}.category img{transition:transform .6s}.category:hover img{transform:scale(1.045)}.category:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#000b 0%,transparent 70%)}.category>div:not(.type-art){position:absolute;bottom:30px;left:29px;right:20px;z-index:1}.category small{font-size:9px;letter-spacing:.13em}.category h3{font:800 23px/1.2 Manrope,sans-serif;letter-spacing:-.04em;margin:10px 0 20px}.category>div>span{font-size:11px;font-weight:700}.category-neutral{background:#d9cec0;color:white}.type-art{height:100%;display:flex;justify-content:center;align-items:center;font:800 125px Manrope,sans-serif;color:#746557;letter-spacing:-.12em}.type-art span{color:#ae906f}.type-art small{position:absolute;top:28px;right:25px;letter-spacing:.1em;font-size:9px}.products-section{background:#faf9f7}.filters{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:34px}.filters button{padding:12px 19px;border:1px solid #e5e0da;background:#fff;color:#5d5852;font-size:12px;border-radius:3px}.filters button.selected,.filters button:hover{background:#1d1b19;color:#fff;border-color:#1d1b19}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.product{background:#fff;border:1px solid #e9e5e0;display:flex;flex-direction:column;min-width:0}.product-media{height:255px;position:relative;background:#e9e4de;overflow:hidden}.product-media img{transition:transform .45s}.product:hover img{transform:scale(1.05)}.product-tag{position:absolute;top:15px;left:15px;background:#fff;padding:8px 10px;font-size:9px;letter-spacing:.1em;font-weight:700}.product-info{padding:23px;flex:1;display:flex;flex-direction:column}.product-info>small{font-size:10px;color:#a17f65;margin-bottom:12px}.product h3{font:700 17px/1.3 Manrope,sans-serif;letter-spacing:-.03em;margin:0 0 9px}.product p{font-size:12px;color:var(--muted);line-height:1.6;flex:1}.product-actions{display:flex;align-items:center;justify-content:space-between;padding-top:16px;border-top:1px solid var(--line);margin-top:10px;gap:6px}.product-actions button{background:none;border:0;padding:0;font-size:11px;font-weight:700}.product-actions a{font-size:11px;font-weight:700;color:#997359}.catalog-footer{display:flex;justify-content:center;gap:18px;font-size:13px;margin-top:42px;flex-wrap:wrap}.catalog-footer span{color:#827b73}.catalog-footer a{font-weight:700}.wide-showcase{min-height:580px;background:#292723;color:white;display:grid;grid-template-columns:50% 50%}.wide-image{height:580px;overflow:hidden}.wide-image img{object-position:center 50%}.wide-copy{padding:105px clamp(40px,8vw,140px) 50px 90px;position:relative}.wide-copy .kicker{color:#c19c7b}.wide-copy h2{font-size:clamp(38px,4.4vw,65px);line-height:1.12;margin:23px 0}.wide-copy p{font-size:14px;line-height:1.9;color:#c7c0b9;margin-bottom:30px;max-width:420px}.showcase-foot{position:absolute;bottom:35px;letter-spacing:.16em;color:#9d958d;font-size:9px}.steps .step-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.step-grid article{border-top:1px solid #d9d3cd;padding-top:20px}.step-grid b{color:#a47b5b;font-size:12px;display:flex;justify-content:space-between}.step-grid h3{font:700 21px Manrope,sans-serif;margin:55px 0 12px;letter-spacing:-.04em}.step-grid p{font-size:13px;color:var(--muted);line-height:1.8;max-width:220px}.cta-section{background:#e9dfd3;text-align:center;padding:102px 0}.cta-inner h2{font-size:clamp(44px,5.4vw,78px);line-height:1.1;margin:20px 0}.cta-inner p{max-width:440px;margin:0 auto 29px;color:#746a62;line-height:1.8;font-size:14px}.faq-layout{display:grid;grid-template-columns:40% 60%;gap:20px}.faq-list details{border-bottom:1px solid var(--line);padding:20px 0}.faq-list summary{cursor:pointer;font:700 15px Manrope,sans-serif;list-style:none;display:flex;justify-content:space-between;gap:20px}.faq-list summary:after{content:'+';font-size:22px;font-weight:400;color:#a17f65}.faq-list details[open] summary:after{content:'−'}.faq-list p{color:var(--muted);line-height:1.8;font-size:13px;padding-right:35px;margin:18px 0 0}.footer{background:var(--dark);color:white;padding:70px 0 25px}.footer-top{display:grid;grid-template-columns:2.3fr 1fr 1fr;gap:30px;padding-bottom:75px}.footer-logo{display:inline-flex}.footer-logo>span{font-size:34px}.footer-top p{color:#aaa5a0;max-width:250px;font-size:13px;line-height:1.7;margin-top:25px}.footer-top h4{font-size:12px;margin-bottom:21px}.footer-top>div:not(:first-child) a{display:block;color:#aba6a1;font-size:12px;margin-bottom:15px}.footer-bottom{border-top:1px solid #49443e;padding-top:24px;display:flex;justify-content:space-between;gap:20px;font-size:11px;color:#9e9993}.float-wa{position:fixed;bottom:25px;right:24px;z-index:30;background:#227b50;color:white;border-radius:50px;padding:14px 20px;box-shadow:0 7px 25px #0002;font-size:13px;font-weight:700}.float-wa span{margin-left:8px}dialog{border:0;border-radius:5px;padding:0;width:min(820px,calc(100% - 30px));max-height:85vh;box-shadow:0 30px 100px #0006}dialog::backdrop{background:#0009}.dialog-close{position:absolute;right:15px;top:15px;z-index:2;border:0;background:#fff;border-radius:50%;width:37px;height:37px}.dialog-inner{display:grid;grid-template-columns:1fr 1fr}.dialog-inner>img{height:430px}.dialog-body{padding:55px 36px 30px}.dialog-body small{color:#a17f65}.dialog-body h2{font-size:31px;letter-spacing:-.04em;margin:16px 0}.dialog-body p,.dialog-body li{color:#756f69;font-size:13px;line-height:1.8}.dialog-body ul{padding-left:20px;margin-bottom:25px}@media(max-width:1100px){.shell{width:min(100% - 52px,1300px)}.nav nav{gap:18px}.hero h1{font-size:62px}.hero-facts{gap:10px}.hero-facts span{font-size:9px}.product-grid{grid-template-columns:repeat(3,1fr)}.category-grid{grid-template-columns:repeat(3,1fr)}.wide-copy{padding-left:50px;padding-right:40px}}@media(max-width:760px){.shell{width:calc(100% - 36px)}.announcement{font-size:9px}.announcement span{margin:0 7px}.header{height:72px}.logo>span{font-size:27px}.nav nav{display:none;position:absolute;top:72px;left:0;right:0;background:white;flex-direction:column;gap:0;padding:15px 20px 24px;box-shadow:0 15px 22px #0001}.nav nav.open{display:flex}.nav nav a{padding:15px}.nav-cta{display:none}.hamburger{display:block}.hero-layout{display:flex;flex-direction:column;align-items:stretch}.hero-copy{padding:67px 0 25px}.hero h1{font-size:clamp(49px,11vw,72px);max-width:600px}.hero-copy>p{font-size:14px}.hero-facts{padding-top:38px;justify-content:space-between}.hero-media{height:400px;padding:0 0 20px 0}.hero-main-image{width:82%}.hero-mini-image{height:210px;top:48px;border-width:5px;width:32%}.hero-caption{width:225px;bottom:24px;padding:16px}.hero-caption b{font-size:12px}.features{overflow-x:auto}.feature-grid{width:720px;gap:0}.section{padding:75px 0}.section-head{align-items:start;flex-direction:column;gap:16px;margin-bottom:31px}.section-head h2,.faq h2{font-size:40px}.category-grid{grid-template-columns:1fr 1fr;gap:12px}.category{height:280px}.category-large{grid-column:span 2;height:360px}.category>div:not(.type-art){left:18px;bottom:20px}.category h3{font-size:19px}.type-art{font-size:80px}.product-grid{grid-template-columns:repeat(2,1fr);gap:11px}.product-media{height:205px}.product-info{padding:14px}.product h3{font-size:14px}.product p{font-size:11px}.product-actions{align-items:start;flex-direction:column;gap:13px}.filters{gap:6px}.filters button{padding:10px 12px;font-size:11px}.wide-showcase{grid-template-columns:1fr}.wide-image{height:350px}.wide-copy{padding:65px 25px 95px}.wide-copy h2{font-size:45px}.steps .step-grid{grid-template-columns:repeat(2,1fr);row-gap:35px}.step-grid h3{margin-top:35px;font-size:18px}.faq-layout{grid-template-columns:1fr}.footer-top{grid-template-columns:1.3fr 1fr;gap:28px}.footer-top>div:first-child{grid-column:span 2}.footer-bottom{flex-direction:column}.dialog-inner{grid-template-columns:1fr}.dialog-inner>img{height:235px}.dialog-body{padding:25px}.dialog-body h2{font-size:25px}}@media(max-width:390px){.hero-actions{gap:13px}.btn{padding:15px 13px;gap:9px}.hero-facts div{padding-left:9px}.hero-facts span{font-size:8px}.product-media{height:160px}.category h3{font-size:16px}.float-wa span{display:none}.float-wa{padding:13px 17px}}

/* Formulário rápido de orçamento, sem coleta ou armazenamento de dados */
.quote-form{display:grid;gap:10px;margin-top:20px}.quote-form label{font-size:13px;font-weight:700}.quote-form input,.quote-form select,.quote-form textarea{box-sizing:border-box;width:100%;padding:12px;border:1px solid #cfcac4;border-radius:8px;background:#fff;color:#191817;font:inherit}.quote-form button{margin-top:8px;cursor:pointer;text-align:center}.quote-form textarea{resize:vertical}


/* Logo oficial MeDecora */
.logo{display:inline-flex;align-items:center}
.logo-img{display:block;width:168px;max-width:100%;height:auto}
.footer-logo-wrap{display:inline-flex;align-items:center;justify-content:center;background:#fff;border-radius:12px;padding:10px 12px;box-shadow:0 10px 24px rgba(0,0,0,.12)}
.footer-logo-img{width:170px}
@media(max-width:760px){.logo-img{width:138px}.footer-logo-img{width:150px}.footer-logo-wrap{padding:8px 10px}}
/* Correção definitiva do encaixe do logotipo oficial no cabeçalho */
.header .nav > .logo {flex:0 0 auto; height:100%;display:flex;align-items:center;justify-content:center;overflow:visible;min-width:0}
.header .logo-img {display:block;width:auto!important;height:65px!important;max-height:calc(100% - 12px);max-width:190px;object-fit:contain;object-position:center}
.footer-logo .footer-logo-img {height:105px!important;width:auto!important;max-width:185px;object-fit:contain}
@media(max-width:760px){.header .logo-img{height:53px!important;max-height:calc(100% - 8px);max-width:150px}.footer-logo .footer-logo-img{height:92px!important}}

/* Estado de falha para imagens carregadas de servidor externo */
.photo-unavailable{min-height:190px;position:relative;background:#e9e2d7!important}
.photo-unavailable:after{content:attr(data-fallback);display:flex;align-items:center;justify-content:center;position:absolute;inset:0;text-align:center;color:#776a5b;font:600 12px/1.5 Arial,sans-serif;padding:20px}


/* Ajustes solicitados */
.category-neutral img{object-position:center center;}
.showcase-foot{display:flex;flex-wrap:wrap;gap:18px 28px;align-items:center;}
.showcase-foot span{display:inline-block;letter-spacing:.16em;}
@media(max-width:760px){.showcase-foot{gap:10px 18px;line-height:1.8;}}


/* Galeria local de fotos e variantes */
.product-gallery{min-width:0;background:#f5f1eb}.product-gallery .gallery-main{display:block;width:100%;height:335px;object-fit:contain;background:#f5f1eb}.photo-thumbs{display:flex;gap:7px;padding:9px;overflow-x:auto}.photo-thumb{padding:2px;width:67px;height:64px;flex:none;border:2px solid transparent;border-radius:5px;background:#fff}.photo-thumb.is-active{border-color:#b78964}.photo-thumb img{width:100%;height:100%;object-fit:cover}.product-media img{width:100%;height:100%;object-fit:cover}.product .price-from{flex:none;margin:4px 0 9px;color:#776d64;font-size:12px}.price-from strong{color:#25221e;font-size:15px}.product-note{padding:9px 0;border-top:1px solid #e8e2da}.selected-price{color:#80674e;font-weight:600;font-size:12px;line-height:1.5;margin:0}.dialog-inner{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
@media(max-width:760px){.dialog-inner{grid-template-columns:minmax(0,1fr)}.product-gallery .gallery-main{height:225px}.photo-thumb{height:55px;width:58px}.dialog-body{padding:22px}.product .price-from{min-height:38px}}

/* Cards clicáveis e botões de ação */
.product-clickable{cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.product-clickable:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(30,25,20,.10);border-color:#cbbb9f}
.product-clickable:focus-visible{outline:3px solid #ac8159;outline-offset:4px}
.product-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;align-items:stretch;padding-top:15px}
.product-actions .product-details-btn,.product-actions .product-quote-btn{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 12px;border-radius:5px;font:700 11px/1.3 'DM Sans',Arial,sans-serif;text-align:center;text-decoration:none;transition:background .2s ease,transform .2s ease,box-shadow .2s ease}
.product-actions .product-details-btn{border:1px solid #c8b7a3;background:#f4eee6;color:#5f4734}
.product-actions .product-quote-btn{border:1px solid #24211e;background:#24211e;color:#fff}
.product-actions .product-details-btn:hover{background:#e9dbc8;color:#352b22}
.product-actions .product-quote-btn:hover{background:#816244;color:#fff;border-color:#816244}
.product-actions :is(a,button):focus-visible{outline:3px solid #ac8159;outline-offset:2px}
@media(max-width:1100px){.product-actions{grid-template-columns:1fr}}
@media(max-width:760px){.product-actions{display:grid;grid-template-columns:1fr;gap:8px;align-items:stretch}.product-actions .product-details-btn,.product-actions .product-quote-btn{font-size:11px;min-height:43px;width:100%}}
@media(prefers-reduced-motion:reduce){.product-clickable,.product-actions .product-details-btn,.product-actions .product-quote-btn{transition:none}.product-clickable:hover{transform:none}}

/* Botões: textos e setas sempre alinhados na mesma linha */
.product-actions .product-details-btn,
.product-actions .product-quote-btn,
.btn,
.nav-cta,
.link-arrow {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
  flex-wrap: nowrap;
}
.product-actions .product-details-btn,
.product-actions .product-quote-btn {
  padding-left: 7px;
  padding-right: 7px;
  font-size: 10.5px;
  min-width: 0;
}
.btn-arrow {
  display: inline-block;
  flex: 0 0 auto;
  font: inherit;
  line-height: 1;
  white-space: nowrap;
}
.nav-cta span:not(.btn-arrow) {padding-left: 0;}
@media (max-width: 760px) {
  .product-actions .product-details-btn,
  .product-actions .product-quote-btn {
    font-size: 11px;
    gap: 8px;
  }
}

/* Galeria redesenhada: imagem preenche coluna, miniaturas fixas logo abaixo */
#product-dialog{width:min(1160px,calc(100% - 36px));max-height:90dvh;overflow:hidden;border-radius:14px;}
#dialog-content{height:100%;}
#product-dialog .dialog-inner{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,1fr);height:min(84dvh,780px);min-height:560px;}
#product-dialog .product-gallery{display:flex;flex-direction:column;min-width:0;min-height:0;height:100%;background:#ece6de;padding:16px;gap:12px;}
#product-dialog .gallery-main{display:block;width:100%;height:auto;flex:1 1 auto;min-height:0;object-fit:cover;object-position:center center;border-radius:9px;background:#ddd5cc;}
#product-dialog .photo-thumbs{display:flex;gap:10px;flex:0 0 auto;margin:0;padding:0 1px 4px;overflow-x:auto;align-items:center;scrollbar-width:thin;}
#product-dialog .photo-thumb{width:73px;height:69px;border-radius:7px;padding:3px;flex:none;}
#product-dialog .dialog-body{min-width:0;height:100%;overflow-y:auto;overscroll-behavior:contain;padding:60px 42px 35px;}
#product-dialog .dialog-close{position:absolute;top:16px;right:18px;z-index:5;}
@media(max-width:760px){
 #product-dialog{width:calc(100% - 18px);max-height:94dvh;overflow-y:auto;border-radius:12px;}
 #dialog-content{height:auto;}
 #product-dialog .dialog-inner{display:flex;flex-direction:column;height:auto;min-height:0;}
 #product-dialog .product-gallery{height:auto;padding:10px;gap:9px;}
 #product-dialog .gallery-main{height:clamp(270px,48dvh,430px);min-height:0;flex:none;object-fit:cover;}
 #product-dialog .photo-thumbs{gap:7px;padding-bottom:4px;}
 #product-dialog .photo-thumb{width:61px;height:59px;}
 #product-dialog .dialog-body{height:auto;overflow:visible;padding:26px 20px 30px;}
 #product-dialog .dialog-close{top:13px;right:14px;}
}
@media(max-width:390px){#product-dialog .gallery-main{height:270px;}}
