/* Les Maroufleurs Aixois — styles du thème */
@font-face{font-family:"Cinzel";src:url("../fonts/cinzel.woff") format("woff");font-weight:400 900;font-style:normal;font-display:swap}
@font-face{font-family:"Montserrat";src:url("../fonts/montserrat.woff") format("woff");font-weight:100 900;font-style:normal;font-display:swap}
body{margin:0;background:#F7F4EE}
a{color:#7E5F2E}a:hover{color:#5E4520}
html{scroll-behavior:smooth}
.disp{font-family:'Cinzel',Georgia,serif;letter-spacing:0.02em}
.eyebrow{margin:0;font-size:13px;letter-spacing:0.22em;text-transform:uppercase;font-weight:600}
.navlinks{display:flex}
.mbar{display:none}
.ph{display:block;width:100%;height:100%;object-fit:cover}

/* ---------- animations au chargement ---------- */
.line{display:block;overflow:hidden;padding-bottom:.06em}
.line > span{display:block;animation:lineup 1.1s cubic-bezier(.2,.8,.2,1) both}
.line:nth-child(2) > span{animation-delay:.15s}
.line:nth-child(3) > span{animation-delay:.3s}
@keyframes lineup{from{transform:translateY(110%)}}
.fadeup{animation:fadeup 1s .55s cubic-bezier(.2,.8,.2,1) both}
.fadeup2{animation:fadeup 1s .8s cubic-bezier(.2,.8,.2,1) both}
@keyframes fadeup{from{opacity:0;transform:translateY(24px)}}
.kenburns{animation:kb 22s ease-in-out infinite alternate}
@keyframes kb{from{transform:scale(1.04)}to{transform:scale(1.16) translate(-2%,-1%)}}
.scrollhint{animation:hint 2s ease-in-out infinite}
@keyframes hint{0%{transform:scaleY(0);transform-origin:top}50%{transform:scaleY(1);transform-origin:top}51%{transform-origin:bottom}100%{transform:scaleY(0);transform-origin:bottom}}

.ticker{overflow:hidden;white-space:nowrap}
.ticker-track{display:flex;width:max-content;animation:marquee 32s linear infinite}
.ticker-rev .ticker-track{animation-direction:reverse;animation-duration:40s}
@keyframes marquee{to{transform:translateX(-50%)}}
.marq:hover .ticker-track{animation-play-state:paused}

.btn{transition:transform .25s ease, box-shadow .25s ease, background .25s ease}
.btn:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(30,39,49,.28)}
.pulse{position:relative}
.pulse::after{content:"";position:absolute;inset:0;border-radius:2px;animation:pulse 2.6s ease-out infinite;pointer-events:none}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(201,165,106,.6)}70%{box-shadow:0 0 0 18px rgba(201,165,106,0)}100%{box-shadow:0 0 0 0 rgba(201,165,106,0)}}
.card{transition:transform .4s ease}
.card:hover{transform:translateY(-8px)}
.zoombox{overflow:hidden}
.zoombox img{transition:transform .9s cubic-bezier(.2,.8,.2,1)}
.zoombox:hover img{transform:scale(1.07)}
.arrow{display:inline-block;transition:transform .25s}
a:hover .arrow{transform:translateX(6px)}
.knob{animation:knob 2.4s ease-in-out infinite}
@keyframes knob{0%,100%{box-shadow:0 0 0 0 rgba(201,165,106,.7)}50%{box-shadow:0 0 0 12px rgba(201,165,106,0)}}

.social{position:fixed;right:16px;top:50%;transform:translateY(-50%);z-index:84;display:flex;flex-direction:column;gap:10px;align-items:center}
.social::before,.social::after{content:"";width:1px;height:38px;background:rgba(176,138,79,.6)}
.social a{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(30,39,49,.92);border:1px solid rgba(201,165,106,.55);color:#C9A56A;transition:transform .25s ease,background .25s ease,color .25s ease;box-shadow:0 6px 18px rgba(0,0,0,.2)}
.social a:hover{transform:scale(1.12);background:#B08A4F;color:#1E2731}
.social svg{width:19px;height:19px;display:block}
.social{animation:socin .9s 1s cubic-bezier(.2,.8,.2,1) both}
@keyframes socin{from{opacity:0;transform:translate(40px,-50%)}}
@media (max-width: 900px){.social{right:10px;top:auto;bottom:96px;transform:none;gap:8px}.social::before,.social::after{display:none}.social a{width:40px;height:40px}@keyframes socin{from{opacity:0;transform:translateX(40px)}}}
.faq summary::-webkit-details-marker{display:none}
.faq[open] .faq-plus{transform:rotate(45deg)}
.faq-plus{transition:transform .25s}
.navlinks a{white-space:nowrap}
@media (max-width: 1280px){.navlinks a:nth-child(2),.navlinks a:nth-child(3),.navlinks a:nth-child(4){display:none}}
@media (max-width: 1080px){.hdr-tag{display:none}}
.hdr-social{display:none;gap:6px;align-items:center}
.hdr-social a{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:1px solid rgba(201,165,106,.55);color:#C9A56A}
.hdr-social svg{width:16px;height:16px;display:block}
@media (max-width: 900px){.hdr-social{display:flex}.hdr-devis{display:none!important}.hdr-tag{display:none}.hdr-name{font-size:14px!important;line-height:1.1;max-width:120px;display:block}.social{display:none!important}}
@media (max-width: 380px){.hdr-name{font-size:12.5px!important;max-width:105px}.hdr-social{gap:4px}.hdr-social a{width:32px;height:32px}}
@media (max-width: 900px){
.build-sticky > div{padding:74px 20px 92px!important;gap:16px!important;align-content:flex-start!important}
.build-sticky .eyebrow{display:none}
.build-sticky .k-lit{font-size:11px!important;padding:5px 10px!important}
.caps{min-height:190px!important}
.caps .cap > span.disp{font-size:44px!important}
.caps h2{font-size:28px!important}
.caps p{font-size:15px;line-height:1.5}
.caps .btn{padding:13px 20px!important}
.build-sticky [role="img"]{max-width:min(100%, calc((100vh - 470px) * 1.43))!important;margin:0 auto}
}
/* ---------- animations au défilement ---------- */
.progress{position:fixed;top:0;left:0;right:0;height:3px;background:#B08A4F;transform-origin:0 50%;transform:scaleX(0);z-index:90}
.caps .cap{position:relative}
.scene-wrap svg *{transform-box:fill-box}
.scene-wrap .ox{transform-origin:left center}.scene-wrap .ob{transform-origin:center bottom}.scene-wrap .oc{transform-origin:center}
.k-blueprint,.k-spark{opacity:0}.k-glow{opacity:.9}
.htrack{display:flex;gap:24px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-left:24px;padding:6px 24px 28px;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#B08A4F rgba(255,255,255,.08);cursor:grab}
.htrack > *{scroll-snap-align:start}
.htrack::-webkit-scrollbar{height:6px}.htrack::-webkit-scrollbar-thumb{background:#B08A4F;border-radius:3px}.htrack::-webkit-scrollbar-track{background:rgba(255,255,255,.08)}
.harrow{width:48px;height:48px;border-radius:50%;border:1px solid #C9A56A;background:transparent;color:#C9A56A;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .25s,color .25s}
.harrow:hover{background:#C9A56A;color:#1E2731}

@supports (animation-timeline: view()){
.progress{animation:sx linear both;animation-timeline:scroll(root)}
@keyframes sx{to{transform:scaleX(1)}}
.hdr{animation:hdr linear both;animation-timeline:scroll(root);animation-range:0px 320px}
@keyframes hdr{from{background:rgba(30,39,49,0);box-shadow:none;border-bottom-color:rgba(201,165,106,0)}to{background:rgba(30,39,49,.96);box-shadow:0 10px 30px rgba(0,0,0,.25);border-bottom-color:rgba(201,165,106,.35)}}
.hdrin{animation:hdrin linear both;animation-timeline:scroll(root);animation-range:0px 320px}
@keyframes hdrin{from{padding-top:26px;padding-bottom:26px}}
.herobg{animation:herobg linear both;animation-timeline:scroll(root);animation-range:0px 900px}
@keyframes herobg{to{transform:translateY(180px)}}
.herotxt{animation:herotxt linear both;animation-timeline:scroll(root);animation-range:0px 700px}
@keyframes herotxt{to{transform:translateY(-90px);opacity:0}}
.ghost{animation:ghost linear both;animation-timeline:view();animation-range:cover 0% cover 100%}
@keyframes ghost{from{transform:translateX(5%)}to{transform:translateX(-35%)}}

.reveal{animation:reveal linear both;animation-timeline:view();animation-range:entry 0% cover 28%}
@keyframes reveal{from{opacity:0;transform:translateY(60px)}}
.slide-l{animation:slidel linear both;animation-timeline:view();animation-range:entry 0% cover 35%}
@keyframes slidel{from{opacity:0;transform:translateX(-90px)}}
.slide-r{animation:slider linear both;animation-timeline:view();animation-range:entry 0% cover 35%}
@keyframes slider{from{opacity:0;transform:translateX(90px)}}
.clipup{animation:clipup linear both;animation-timeline:view();animation-range:entry 0% cover 45%}
@keyframes clipup{from{clip-path:inset(100% 0 0 0)}}
.clipside{animation:clipside linear both;animation-timeline:view();animation-range:entry 10% cover 50%}
@keyframes clipside{from{clip-path:inset(0 100% 0 0)}}
.clipup img,.clipside img{animation:inzoom linear both;animation-timeline:view();animation-range:entry 0% cover 70%}
@keyframes inzoom{from{transform:scale(1.35)}}
.float{animation:float linear both;animation-timeline:view();animation-range:cover 0% cover 100%}
@keyframes float{from{transform:translateY(120px)}to{transform:translateY(-120px)}}
.bignum{animation:bignum linear both;animation-timeline:view();animation-range:cover 0% cover 100%}
@keyframes bignum{from{transform:translateY(140px);opacity:.15}50%{opacity:1}to{transform:translateY(-140px)}}
.uline{transform-origin:left center;animation:ux linear both;animation-timeline:view();animation-range:entry 20% cover 40%}
@keyframes ux{from{transform:scaleX(0)}}
.st1{animation-range:entry 0% cover 22%!important}
.st2{animation-range:entry 8% cover 30%!important}
.st3{animation-range:entry 16% cover 38%!important}
.st4{animation-range:entry 24% cover 46%!important}
.st5{animation-range:entry 32% cover 54%!important}
.st6{animation-range:entry 40% cover 62%!important}

/* maison qui se construit */
.build{height:520vh;view-timeline-name:--build}
.build-sticky{position:sticky;top:0;height:100vh;overflow:hidden}
.tl{animation-timeline:--build;animation-fill-mode:both;animation-timing-function:linear;animation-duration:1ms}
.ox{transform-origin:left center}
.oy{transform-origin:center bottom}
.k-growX{animation-name:growX}@keyframes growX{from{transform:scaleX(0)}}
.k-growY{animation-name:growY}@keyframes growY{from{transform:scaleY(0)}}
.k-drop{animation-name:drop}@keyframes drop{from{transform:translateY(-120px);opacity:0}}
.k-wipe{animation-name:wipe}@keyframes wipe{from{clip-path:inset(0 100% 0 0)}}
.k-pop{animation-name:pop}@keyframes pop{from{transform:scale(0);opacity:0}}
.k-fade{animation-name:fade}@keyframes fade{from{opacity:0}}
.k-slide{animation-name:slidein}@keyframes slidein{from{transform:translate(140px,-40px) rotate(8deg);opacity:0}}
.k-sky{animation-name:sky}@keyframes sky{from{background:#D6DEE3}to{background:#F1DDB8}}
.k-sun{animation-name:sun}@keyframes sun{from{transform:translateY(160px)}to{transform:translateY(0)}}
.k-cap{animation-name:cap}@keyframes cap{0%{opacity:0;transform:translateY(50px)}18%,82%{opacity:1;transform:none}100%{opacity:0;transform:translateY(-50px)}}
.k-caplast{animation-name:caplast}@keyframes caplast{0%{opacity:0;transform:translateY(50px)}40%,100%{opacity:1;transform:none}}
.k-lit{animation-name:lit}@keyframes lit{from{background:transparent;color:#AEB6BF;border-color:#3A4654}to{background:#B08A4F;color:#1E2731;border-color:#B08A4F}}
.k-draw{animation-name:draw;stroke-dasharray:1}@keyframes draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
.k-blueprint{animation-name:bp}@keyframes bp{from{opacity:1}to{opacity:0}}
.k-spark{animation-name:spark;transform-box:fill-box;transform-origin:center}@keyframes spark{0%{opacity:0;transform:scale(.2)}40%{opacity:1;transform:scale(1.8)}100%{opacity:0;transform:scale(.4)}}
.k-sunarc{animation-name:sunarc}@keyframes sunarc{0%{transform:translate(-120px,330px);opacity:0}22%{transform:translate(-120px,330px);opacity:0}45%{transform:translate(-40px,30px);opacity:1}70%{transform:translate(0,0);opacity:1}100%{transform:translate(-90px,190px);opacity:1}}
.k-glow{animation-name:glow}@keyframes glow{from{opacity:0}to{opacity:.9}}
.sky-a{animation-name:skya}@keyframes skya{0%{stop-color:#1B2733}35%{stop-color:#9CC3D8}75%{stop-color:#F3C98A}100%{stop-color:#E9A35E}}
.sky-b{animation-name:skyb}@keyframes skyb{0%{stop-color:#24313E}35%{stop-color:#DCEAF0}75%{stop-color:#F8E7C6}100%{stop-color:#F7E2BC}}
.caps{position:relative;min-height:300px}
.caps .cap{position:absolute;inset:0;opacity:0}
.caps .cap.k-caplast{opacity:1}

/* réalisations horizontales */
}
@supports not (animation-timeline: view()){
.caps .cap{margin-bottom:20px}
}
@media (prefers-reduced-motion: reduce){
*,*::before,*::after{animation:none!important;transition:none!important}
.caps .cap{position:relative!important;opacity:1!important;margin-bottom:28px}
.build{height:auto!important}
.build-sticky{position:relative!important;height:auto!important}
}
@media (max-width: 900px){
.navlinks{display:none}
.mbar{display:flex}
.caps{min-height:230px}
.hide-m{display:none!important}
}

/* ---------- base WordPress ---------- */
*,*::before,*::after{box-sizing:border-box}
body{margin:0;font-family:Montserrat,system-ui,sans-serif;color:#1E2731;background:#F7F4EE;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img{max-width:100%;height:auto}
.ph{height:100%}
.site{overflow-x:clip}
.skip-link{position:absolute;left:-9999px;top:8px;z-index:200;background:#1E2731;color:#F7F4EE;padding:12px 18px}
.skip-link:focus{left:8px}
:focus-visible{outline:2px solid #B08A4F;outline-offset:3px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
body.admin-bar .hdr{top:32px}
@media (max-width:782px){body.admin-bar .hdr{top:46px}}

/* ---------- avant / après ---------- */
.ba-tab{background:transparent;color:#1E2731;border:1px solid #1E2731;padding:12px 18px;font:inherit;font-weight:600;cursor:pointer;min-height:44px;border-radius:2px;transition:background .2s,color .2s}
.ba-tab:hover{background:rgba(30,39,49,.06)}
.ba-tab.is-active{background:#1E2731;color:#F7F4EE}
.ba-frame img{transition:opacity .35s}
.ba-range{-webkit-appearance:none;appearance:none}
.ba-range:focus-visible + *{outline:none}

/* ---------- pages intérieures (blog, articles, pages) ---------- */
.page-hero{background:#1E2731;color:#F7F4EE;padding:140px 24px 72px}
.page-hero .in{max-width:1280px;margin:0 auto;display:flex;flex-direction:column;gap:20px}
.page-hero h1{margin:0;font-family:'Cinzel',Georgia,serif;font-weight:600;font-size:clamp(36px,5vw,68px);line-height:1.05;max-width:980px}
.page-hero .lead{margin:0;font-size:19px;color:#DCE1E6;max-width:760px}
.crumbs{font-size:13.5px;color:#C8CDD3}
.crumbs a{color:#C8CDD3}
.meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;font-size:14.5px;color:#C8CDD3}
.meta strong{color:#F7F4EE}
.wrap{max-width:1280px;margin:0 auto;padding:64px 24px}
.grid-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:32px}
.pagination{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:56px}
.pagination .page-numbers{min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center;border:1px solid #D5CCBB;color:#1E2731;text-decoration:none;padding:0 14px}
.pagination .page-numbers.current{background:#1E2731;color:#F7F4EE;border-color:#1E2731}
.cat-pills{display:flex;flex-wrap:wrap;gap:8px}
.cat-pills a{border:1px solid rgba(201,165,106,.6);color:#F7F4EE;text-decoration:none;font-size:13px;padding:7px 14px;border-radius:999px}
.cat-pills a:hover,.cat-pills a.on{background:#B08A4F;color:#1E2731;border-color:#B08A4F}

.article-layout{max-width:1280px;margin:0 auto;padding:56px 24px 40px;display:flex;flex-wrap:wrap;gap:56px;align-items:flex-start}
.article-aside{flex:1 1 240px;min-width:0}
.toc{position:sticky;top:104px;background:#EDE8DE;padding:24px;display:flex;flex-direction:column;gap:10px;font-size:14.5px}
.toc strong{font-size:12px;letter-spacing:.16em;text-transform:uppercase}
.toc a{text-decoration:none;color:#1E2731;line-height:1.4}
.toc a:hover,.toc a.on{color:#7E5F2E}
.toc:empty{display:none}
@media (max-width:900px){.toc{position:static}}
.article-main{flex:999 1 640px;min-width:0;max-width:780px}
.article-cover{margin:0 0 32px;aspect-ratio:16/10;overflow:hidden}
.article-cover img{width:100%;height:100%;object-fit:cover;display:block}

.prose{font-size:18px;line-height:1.75;color:#1E2731}
.prose > *{margin:0 0 1.1em}
.prose h2{font-family:'Cinzel',Georgia,serif;font-weight:600;font-size:clamp(26px,3vw,34px);line-height:1.15;margin:1.8em 0 .6em;scroll-margin-top:110px}
.prose h3{font-size:21px;line-height:1.3;margin:1.5em 0 .5em;scroll-margin-top:110px}
.prose a{color:#7E5F2E;text-decoration:underline;text-underline-offset:3px}
.prose ul,.prose ol{padding-left:1.3em}
.prose li{margin:.35em 0}
.prose ul li::marker{color:#B08A4F}
.prose blockquote{margin:1.6em 0;padding:4px 0 4px 24px;border-left:2px solid #B08A4F;font-style:italic;color:#4F5660}
.prose img,.prose figure img{display:block;width:100%;height:auto}
.prose figure{margin:1.6em 0}
.prose figcaption{font-size:14px;color:#4F5660;margin-top:8px}
.prose table{width:100%;border-collapse:collapse;font-size:16px;display:block;overflow-x:auto}
.prose th,.prose td{padding:12px 14px;border:1px solid #D5CCBB;text-align:left}
.prose thead th{background:#1E2731;color:#F7F4EE}
.prose details{background:#FFFFFF;border:1px solid #E0D8C9;padding:0 20px}
.prose summary{cursor:pointer;padding:18px 0;font-weight:600}
.prose .alignwide{max-width:none}
.prose .wp-block-image{margin:1.6em 0}

.cta-box{background:#1E2731;color:#F7F4EE;padding:34px;display:flex;flex-wrap:wrap;gap:20px;align-items:center;justify-content:space-between;margin:48px 0;border-top:4px solid #B08A4F}
.cta-box strong{font-family:'Cinzel',Georgia,serif;font-size:26px;font-weight:600}
.cta-box p{margin:6px 0 0;color:#DCE1E6;font-size:16px}
.btn-gold{background:#B08A4F;color:#1E2731;text-decoration:none;font-weight:700;padding:16px 26px;border-radius:2px;min-height:44px;display:inline-flex;align-items:center;gap:8px}
.btn-gold:hover{color:#1E2731}
.related{background:#EDE8DE}
.related .in{max-width:1280px;margin:0 auto;padding:80px 24px;display:flex;flex-direction:column;gap:32px}
.related h2{margin:0;font-family:'Cinzel',Georgia,serif;font-weight:600;font-size:32px}
.post-nav{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-top:40px;font-size:15px}
.post-nav a{color:#7E5F2E;text-decoration:none;font-weight:600}
.empty{padding:40px;background:#FFFFFF;border:1px solid #E0D8C9;text-align:center}

/* repli (navigateurs plus anciens) : apparition au défilement */
.io-hide{opacity:0;transform:translateY(40px);transition:opacity .8s ease,transform .8s cubic-bezier(.2,.8,.2,1)}
.io-hide.clipup,.io-hide.clipside{transform:none;clip-path:inset(100% 0 0 0);transition:clip-path 1s cubic-bezier(.2,.8,.2,1),opacity .6s}
.io-show{opacity:1;transform:none;clip-path:inset(0 0 0 0)}
