/*
Theme Name: M.Liv — Conjuntos e Blog
Theme URI: https://www.mlivmoveis.com.br/
Author: M.Liv
Description: Tema WordPress para apresentação dos conjuntos M.Liv, atendimento pelo WhatsApp e blog editorial.
Version: 1.3.2
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: mliv
*/
:root{--navy:#101934;--navy-deep:#0b1228;--ink:#18223b;--muted:#596174;--gold:#efbd82;--gold-dark:#8c4c18;--sand:#f6f0e7;--cream:#fcfaf6;--white:#fff;--line:#dcd8d2;--radius:18px;--shadow:0 20px 56px rgba(11,18,40,.12)}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--cream);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline;text-underline-offset:4px}
button{font:inherit}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{line-height:1.13;color:var(--navy)}
h1,h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.035em}
h1{font-size:clamp(2.7rem,6vw,5.65rem)}
h2{font-size:clamp(2.1rem,4vw,3.45rem)}
h3{font-size:1.35rem}
p{margin-bottom:1.1rem}
:focus-visible{outline:3px solid #df842d;outline-offset:4px;border-radius:3px}
.container{width:min(100% - 40px,1220px);margin-inline:auto}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:absolute;z-index:1000;top:-80px;left:12px;padding:10px 16px;background:var(--gold);color:var(--navy)}
.skip-link:focus{top:12px}
.topline{background:var(--navy-deep);color:#f5dbc0;font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;text-align:center;padding:7px 0}
.site-header{background:var(--white);border-bottom:1px solid #ece8e2;position:relative;z-index:10}
.header-inner{min-height:94px;display:flex;align-items:center;gap:30px}
.brand{width:114px;flex:0 0 auto;display:flex;align-items:center}
.brand img{width:108px;height:74px;object-fit:contain}
.primary-nav{margin-left:auto}
.primary-nav__list{display:flex;align-items:center;gap:24px;list-style:none;padding:0;margin:0}
.primary-nav__list>li{position:relative}
.primary-nav .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:230px;list-style:none;margin:0;padding:10px 0;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);z-index:20}
.primary-nav li:hover>.sub-menu,.primary-nav li:focus-within>.sub-menu{display:block}
.primary-nav .sub-menu a{display:block;padding:7px 16px;white-space:nowrap}
.primary-nav a{font-size:.9rem;font-weight:700;color:var(--navy)}
.primary-nav a:hover,.primary-nav a:focus-visible{color:var(--gold-dark)}

.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:52px;padding:13px 23px;background:var(--navy);border:1px solid var(--navy);border-radius:4px;color:var(--white);font-weight:700;font-size:.94rem;text-align:center;transition:background .18s,transform .18s}
.button:hover{background:#23365e;transform:translateY(-2px);text-decoration:none}
.button--small{min-height:43px;padding:9px 16px;font-size:.84rem;white-space:nowrap}
.button--outline{background:transparent;color:var(--navy)}
.button--outline:hover{color:var(--white)}
.button--light{background:var(--gold);border-color:var(--gold);color:var(--navy)}
.button--light:hover{background:#f7d4a9;color:var(--navy)}
.button-row{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0}
.eyebrow{font-size:.71rem;line-height:1.35;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:var(--gold-dark);margin-bottom:18px}
.eyebrow--line::before{content:'';display:inline-block;width:30px;border-top:2px solid currentColor;vertical-align:middle;margin-right:12px}
.hero{background:linear-gradient(135deg,#fcfaf6 0%,#f0e5d6 100%);overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:6%;min-height:620px;padding-block:54px}
.hero-copy{padding:30px 0}
.hero h1{max-width:760px;margin-bottom:24px}
.hero h1 em{color:#9a581e;font-style:italic}
.hero-lead{font-size:1.12rem;max-width:570px;color:#3b455b}
.hero-note{font-size:.79rem;color:#6b6b6b;max-width:530px}
.hero-visual{position:relative;align-self:stretch;min-height:510px}
.hero-visual img{width:100%;height:100%;object-fit:cover;object-position:center;border-radius:120px 4px 4px 4px;box-shadow:var(--shadow)}
.hero-visual__badge{position:absolute;bottom:25px;left:-30px;background:var(--navy);padding:17px 24px;color:#fff;font-size:.75rem;letter-spacing:.06em;text-transform:uppercase;box-shadow:var(--shadow)}
.hero-visual__badge strong{display:block;font-size:1rem;letter-spacing:0;text-transform:none;color:var(--gold)}
.proof-strip{background:var(--white);border-bottom:1px solid var(--line)}
.proof-strip__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0}
.proof-strip__grid>div{padding:24px 22px;border-right:1px solid var(--line)}
.proof-strip__grid>div:first-child{padding-left:0}
.proof-strip__grid>div:last-child{border-right:0}
.proof-strip strong{display:block;font-family:Georgia,serif;font-size:1.6rem;line-height:1.1;color:var(--navy)}
.proof-strip span{display:block;color:var(--muted);font-size:.82rem;margin-top:6px}
.section{padding:96px 0}
.section--dark{background:var(--navy-deep);color:#e7ebf2}
.section--dark h2,.section--dark h3{color:#fff}
.section--dark .eyebrow{color:var(--gold)}
.section--sand{background:var(--sand)}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:34px;margin-bottom:34px}
.section-heading h2{margin-bottom:0;max-width:690px}
.section-heading>p{max-width:380px;color:var(--muted);margin-bottom:4px}
.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.product-card{background:var(--white);border:1px solid #e8e3dc;border-radius:var(--radius);overflow:hidden;box-shadow:0 7px 28px rgba(11,18,40,.055);transition:transform .2s,box-shadow .2s}
.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.product-card__image{display:block;aspect-ratio:1.18;overflow:hidden;background:#ddd}
.product-card__image img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.product-card:hover .product-card__image img{transform:scale(1.035)}
.product-card__body{padding:23px 24px 27px}
.product-card .eyebrow{margin-bottom:10px}
.product-card h3{font-family:Georgia,serif;font-size:1.75rem;font-weight:400;margin-bottom:10px}
.product-card h3 a:hover{text-decoration:none;color:var(--gold-dark)}
.product-card p:not(.eyebrow){color:var(--muted);font-size:.9rem;margin-bottom:22px}
.text-link{display:inline-flex;gap:9px;align-items:center;color:var(--navy);font-weight:800;font-size:.91rem;text-decoration:underline;text-decoration-color:#d5a26c;text-underline-offset:6px}
.text-link:hover{color:var(--gold-dark)}
.section-end{text-align:center;margin-top:32px}
.choice-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:11%;align-items:center}
.choice-grid h2{max-width:460px}
.choice-grid>div>p:not(.eyebrow){max-width:460px;color:#bbc4d3}
.choice-list article{display:flex;gap:26px;padding:28px 0;border-bottom:1px solid #47506a}
.choice-list article:first-child{border-top:1px solid #47506a}
.choice-list article>span{font-family:Georgia,serif;font-size:2.35rem;line-height:1;color:var(--gold)}
.choice-list h3{margin-bottom:5px}
.choice-list p{margin:0;color:#bbc4d3}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.steps article{border-top:2px solid var(--navy);padding-top:25px}
.steps span{font-family:Georgia,serif;color:var(--gold-dark);font-size:2.3rem}
.steps h3{margin:22px 0 8px}
.steps p{color:var(--muted);max-width:330px}
.story-grid{display:grid;grid-template-columns:1fr 1fr;gap:10%;align-items:start}
.story-grid p:not(.eyebrow){font-size:1.09rem;color:#444c5c}
.article-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.article-card{background:var(--sand);padding:36px;border-radius:var(--radius);min-height:260px}
.article-card h2,.article-card h3{font-family:Georgia,serif;font-size:1.65rem;line-height:1.2;font-weight:400;margin-bottom:18px}
.article-card h2 a:hover,.article-card h3 a:hover{color:var(--gold-dark);text-decoration:none}
.article-card p:not(.eyebrow){color:var(--muted)}
.closing-cta{background:var(--navy);color:#fff;padding:66px 0}
.closing-cta__inner{display:flex;align-items:center;justify-content:space-between;gap:40px}
.closing-cta h2{color:#fff;font-size:clamp(2rem,4vw,3rem);max-width:760px;margin-bottom:12px}
.closing-cta .eyebrow{color:var(--gold)}
.closing-cta p:not(.eyebrow){color:#c5cede;margin-bottom:0}
.closing-cta .button{flex:0 0 auto}
.site-footer{background:#080e20;color:#b7c0cf;padding:60px 0 22px}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1.2fr;gap:60px}
.footer-brand{font-family:Georgia,serif;font-style:italic;font-size:2.2rem;color:#fff;margin-bottom:14px}
.footer-grid h2{font:700 .83rem Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#fff;margin-bottom:18px}
.footer-grid ul{list-style:none;padding:0;margin:0}
.footer-grid li{margin-bottom:8px}
.footer-nav .sub-menu{list-style:none;padding:8px 0 0 14px;margin:0;border-left:1px solid #2f3850}
.footer-nav .sub-menu a{font-size:.88rem}
.footer-grid a:hover{color:var(--gold)}
.footer-whatsapp{display:inline-block;color:var(--gold);font-weight:700}
.footer-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #2f3850;margin-top:55px;padding-top:20px;font-size:.75rem}
.breadcrumbs{font-size:.81rem;color:var(--muted);margin-bottom:34px}
.breadcrumbs ol{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.breadcrumbs li+li::before{content:'/';color:#a2a5ab;margin-right:8px}
.breadcrumbs a{text-decoration:underline;text-underline-offset:3px}
.page-hero{padding:60px 0 72px;background:var(--sand)}
.page-hero h1{max-width:880px;font-size:clamp(2.8rem,5.5vw,5rem);margin-bottom:20px}
.page-hero p:not(.eyebrow){max-width:740px;color:#495064;font-size:1.1rem}
.page-hero .button{margin-top:15px}
.table-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:10px;background:#fff}
.table-scroll table{border-collapse:collapse;width:100%;min-width:760px}
.table-scroll caption{text-align:left;padding:14px 18px;color:var(--muted);font-size:.83rem}
.table-scroll th,.table-scroll td{padding:15px 18px;text-align:left;border-top:1px solid var(--line);font-size:.88rem;vertical-align:top}
.table-scroll thead th{background:#ece1d1;color:var(--navy)}
.table-scroll tbody th a{text-decoration:underline;text-underline-offset:3px}
.product-hero{background:var(--sand);padding:44px 0 78px}
.product-hero__grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:7%}
.product-hero__image{height:590px;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.product-hero__image img{width:100%;height:100%;object-fit:cover}
.product-hero h1{font-size:clamp(2.8rem,5.3vw,5.1rem)}
.product-hero__lead{font-size:1.08rem;color:#404960}
.feature-list{list-style:none;padding:0;margin:24px 0}
.feature-list li{padding:10px 0 10px 27px;border-bottom:1px solid #d8cfc2;position:relative}
.feature-list li::before{content:'•';position:absolute;left:4px;color:var(--gold-dark);font-size:1.3rem;line-height:1}
.fine-print,.data-note{font-size:.82rem;color:var(--muted)}
.spec-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.spec-card{border:1px solid var(--line);border-radius:var(--radius);padding:30px;background:#fff}
.spec-card>span{color:var(--gold-dark);font:2rem Georgia,serif}
.spec-card h3{margin:22px 0 10px}
.spec-card p{color:var(--muted)}
.spec-card dl{margin:0}
.spec-card dl div{display:flex;justify-content:space-between;gap:18px;border-top:1px solid var(--line);padding:9px 0;font-size:.88rem}
.spec-card dt{color:var(--muted)}
.spec-card dd{margin:0;text-align:right;font-weight:700}
.data-note{margin-top:25px;max-width:830px}
.option-grid,.colors-grid,.details-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:10%}
.option-list{border-top:1px solid #d3c7b9}
.option-item{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:21px 0;border-bottom:1px solid #d3c7b9}
.option-item strong,.option-item span{display:block}
.option-item span{font-size:.81rem;color:var(--muted);margin-top:2px}
.option-item a{color:var(--navy);font-weight:700;white-space:nowrap;text-decoration:underline;text-underline-offset:4px}
.color-list{display:grid;grid-template-columns:repeat(2,1fr);list-style:none;gap:10px;margin:0;padding:0}
.color-list li{background:var(--sand);border-left:5px solid var(--gold);padding:15px 18px;font-weight:700}
.faq-list details{border-bottom:1px solid #48546c;padding:18px 0}
.faq-list details:first-child{border-top:1px solid #48546c}
.faq-list summary{cursor:pointer;font-weight:700;color:#fff;list-style:none;padding-right:28px;position:relative}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::after{content:'+';position:absolute;right:0;color:var(--gold)}
.faq-list details[open] summary::after{content:'−'}
.faq-list p{color:#c5cede;margin:12px 0 0}
.product-grid--related .product-card:nth-child(n+4){display:none}
.prose-page{max-width:850px;font-size:1.08rem}
.prose-page p{margin-bottom:1.4rem}
.post-single{padding-bottom:90px}
.post-single__header{padding:50px 0 45px;max-width:880px}
.post-single h1{font-size:clamp(2.6rem,5.3vw,4.7rem)}
.post-lead{font-size:1.18rem;color:var(--muted)}
.post-meta{font-size:.82rem;color:var(--muted)}
.post-content{max-width:800px;margin-inline:auto;font-size:1.07rem}
.post-content h2{font-size:clamp(1.8rem,3vw,2.4rem);margin:45px 0 20px}
.post-content h3{margin:30px 0 14px}
.post-content p,.post-content ul,.post-content ol{margin-bottom:1.3rem}
.post-content a{color:#74400f;text-decoration:underline;text-underline-offset:4px}
.post-content small{font-size:.83rem;color:var(--muted)}
.post-after{max-width:800px;margin:55px auto 0;background:var(--sand);padding:30px;border-radius:var(--radius)}
.post-navigation{max-width:800px;margin:40px auto 0;border-top:1px solid var(--line);padding-top:22px}
.post-navigation .nav-links{display:flex;justify-content:space-between;gap:25px}
.post-navigation a{color:var(--gold-dark);font-weight:700}
.pagination{margin-top:35px}
.pagination .nav-links{display:flex;gap:9px;flex-wrap:wrap}
.pagination .page-numbers{padding:8px 13px;border:1px solid var(--line);border-radius:4px}
.pagination .current{background:var(--navy);color:#fff;border-color:var(--navy)}
@media (max-width:1050px){.header-inner{gap:18px}.primary-nav{gap:16px}.header-cta{display:none}.hero-grid{gap:4%}.hero h1{font-size:clamp(2.7rem,5vw,4.2rem)}.product-grid{gap:17px}.product-card__body{padding:20px}.choice-grid{gap:6%}}
@media (max-width:780px){.container{width:min(100% - 32px,640px)}.topline{font-size:.65rem}.header-inner{min-height:70px}.brand{width:96px}.brand img{width:94px;height:62px}.hero-grid,.product-hero__grid,.choice-grid,.story-grid,.option-grid,.colors-grid,.details-grid{grid-template-columns:1fr}.hero-grid{padding-block:34px;gap:20px}.hero-copy{padding:8px 0}.hero-visual{min-height:390px;max-height:520px}.hero-visual__badge{left:12px;bottom:12px}.proof-strip__grid{grid-template-columns:repeat(2,1fr)}.proof-strip__grid>div{padding:18px!important;border-bottom:1px solid var(--line)}.section{padding:68px 0}.section-heading{align-items:start;flex-direction:column;gap:13px}.product-grid,.spec-grid,.steps{grid-template-columns:repeat(2,minmax(0,1fr))}.product-hero__image{height:440px}.product-hero__copy{padding-top:24px}.choice-list{margin-top:20px}.closing-cta__inner{align-items:flex-start;flex-direction:column}.footer-grid{grid-template-columns:1fr 1fr;gap:36px}.footer-grid>div:first-child{grid-column:1/-1}.footer-bottom{flex-direction:column}.page-hero{padding:42px 0 58px}}
@media (max-width:560px){.product-grid,.spec-grid,.steps,.article-grid,.footer-grid{grid-template-columns:1fr}.footer-grid>div:first-child{grid-column:auto}.section{padding:56px 0}.hero h1{font-size:clamp(2.6rem,12vw,3.6rem)}.hero-lead{font-size:1rem}.hero-visual{min-height:355px}.button-row{flex-direction:column;align-items:stretch}.button-row .button{width:100%}.proof-strip strong{font-size:1.35rem}.proof-strip span{font-size:.75rem}.product-card__image{aspect-ratio:1.25}.product-hero__image{height:390px}.product-hero h1{font-size:2.8rem}.article-card{padding:28px}.color-list{grid-template-columns:1fr}.option-item{align-items:flex-start;flex-direction:column}.post-single__header{padding-top:35px}.post-navigation .nav-links{flex-direction:column}}
@media (max-width:780px){.primary-nav__list{gap:14px}.primary-nav a{font-size:.84rem;white-space:nowrap}}
@media (max-width:540px){.header-inner{flex-wrap:wrap;gap:0;padding-block:6px}.primary-nav{flex:0 0 100%;margin-left:0;padding:0 0 8px}.primary-nav__list{justify-content:space-between;gap:6px}.primary-nav a{font-size:.78rem}.primary-nav .sub-menu{left:auto;right:0}}
@media (max-width:400px){.primary-nav__list{flex-wrap:wrap;justify-content:center;gap:2px 14px}.primary-nav__list>li{padding-block:3px}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* Galeria de produto, amostras de fibra e pedidos M.Liv. */
.header-inner{display:grid;grid-template-columns:minmax(100px,1fr) auto minmax(100px,1fr);gap:20px}
.primary-nav{justify-self:center;margin:0}
.primary-nav__list{justify-content:center}
.header-cta{justify-self:end;white-space:nowrap}
.catalog-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.catalog-gallery figure{margin:0;min-width:0}
.catalog-gallery img{width:100%;aspect-ratio:4/5;height:auto;object-fit:contain;background:#fff;border-radius:12px}
.catalog-gallery figcaption{font-size:.85rem;margin-top:10px}
.product-card__image img,.product-hero__image img{object-fit:contain;background:#fff}
.primary-nav .sub-menu{max-height:65vh;overflow-y:auto}
.color-list li{display:flex;align-items:center;gap:12px;background:var(--sand);border:1px solid var(--line);border-left:0;padding:10px 12px}
.catalog-code{font-size:.82rem!important;font-weight:700;color:var(--navy)!important;margin:-4px 0 10px!important}
.order-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.order-grid article{padding:26px;background:#fff;border:1px solid var(--line);border-radius:10px}
.order-grid h3{margin-bottom:12px}
.order-grid p{color:var(--muted)}
.order-grid .button{margin-top:8px}
@media(max-width:1050px){.header-inner{grid-template-columns:90px 1fr}.primary-nav{grid-column:2;grid-row:1;justify-self:center}.header-cta{display:none}}
@media(max-width:780px){.catalog-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.order-grid{grid-template-columns:1fr 1fr}.header-inner{grid-template-columns:80px 1fr}.primary-nav__list{gap:14px}}
@media(max-width:560px){.catalog-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.order-grid{grid-template-columns:1fr}.header-inner{display:flex;flex-direction:column;gap:8px;padding-block:8px}.primary-nav{width:100%;padding:0}.primary-nav__list{flex-wrap:wrap;justify-content:center;gap:4px 16px}.primary-nav a{font-size:.8rem}.primary-nav .sub-menu{left:auto;right:0}}
