/*
Theme Name: Créa’Bois Nature — Complet
Author: Créa’bois Nature
Description: Quatre pages éditables avec l’éditeur de blocs WordPress, installation guidée et formulaire configurable.
Version: 2.0.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: creabois-nature
License: GPL-2.0-or-later
*/
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}img{max-width:100%;height:auto}a{text-underline-offset:6px}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #987047;outline-offset:4px}.wp-site-blocks>*,main.wp-block-group,.wp-block-post-content>*{margin-block-start:0}.section{padding:76px max(5vw,calc((100vw - 1240px)/2))}.site-header{padding:18px 4%;display:flex;justify-content:space-between;align-items:center;gap:28px;background:var(--wp--preset--color--blanc)}.site-header>*{margin:0!important}.wp-block-navigation{font-family:'Cormorant Garamond',Georgia,serif;font-size:20px}.wp-block-site-logo img{object-fit:contain}.hero{min-height:560px;padding:72px 5%;color:var(--wp--preset--color--brun)}.hero-copy{max-width:570px;margin-right:auto}.hero h1,.page-intro h1{font-size:clamp(42px,4.9vw,76px);margin:0 0 24px}.hero p{max-width:490px}.hero .wp-block-cover__inner-container{width:100%}.wp-block-buttons{gap:14px}.wp-block-button__link{padding:14px 24px;transition:transform .2s,opacity .2s}.wp-block-button__link:hover{transform:translateY(-2px);opacity:.88}h2{font-size:clamp(34px,3.4vw,52px)}h3{font-size:30px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:600;color:var(--wp--preset--color--bois)}.intro{background:var(--wp--preset--color--ivoire);padding:0}.intro .wp-block-columns{gap:0;margin:0;align-items:center!important}.intro-copy{padding:55px 10%}.atelier{margin:0}.atelier img{width:100%;height:450px;object-fit:cover;object-position:right}.centered{text-align:center}.centered .wp-block-buttons{justify-content:center}.creation{background:var(--wp--preset--color--ivoire)}.creation h3{font-size:25px;padding:10px 8px 20px;margin:0}.gallery-photo{margin:0;overflow:hidden}.gallery-photo img{width:100%;height:310px;object-fit:cover;object-position:75%;transition:transform .35s}.gallery-photo:hover img{transform:scale(1.025)}.view-1 img{object-position:right}.view-2 img{object-position:90%;object-fit:cover}.caption{font-size:12px;color:#6c5b4e;text-align:center}.signature{padding:70px 20px;background:var(--wp--preset--color--sable)}.signature h2{margin:0}.cta{background:var(--wp--preset--color--ivoire)}.cta h2{max-width:760px}.site-footer{border-top:1px solid var(--wp--preset--color--sable);padding-top:40px;padding-bottom:25px;font-size:14px}.site-footer .wp-block-columns{gap:60px}.page-intro{padding-top:75px;padding-bottom:50px}.page-intro p{max-width:720px}.wide-photo{margin:0}.wide-photo img{width:100%;height:420px;object-fit:cover;object-position:right}.form-panel{background:var(--wp--preset--color--ivoire);padding:32px}.contact-details{padding:0 25px}.contact-photo img{width:100%;height:230px;object-fit:cover;object-position:right}.cbn-form label{display:block;margin:0 0 7px}.cbn-form input:not([type=checkbox]),.cbn-form textarea{width:100%;border:1px solid var(--wp--preset--color--sable);background:var(--wp--preset--color--blanc);padding:13px;font:inherit;color:inherit}.cbn-form textarea{min-height:170px;resize:vertical}.cbn-form button{border:0;padding:15px 25px;background:var(--wp--preset--color--brun);color:var(--wp--preset--color--blanc);font:inherit;cursor:pointer}.cbn-trap{position:absolute;left:-9999px}.cbn-status{padding:15px;border:1px solid currentColor}.cbn-privacy{font-size:13px}.wp-block-column{min-width:0}.editor-styles-wrapper .hero{color:#422719}
@media(max-width:781px){.section{padding:45px 22px}.site-header{padding:12px 20px;gap:12px}.site-header>.wp-block-buttons{display:none}.site-header .wp-block-site-logo img{width:68px}.hero{min-height:640px;padding:42px 22px;align-items:flex-start}.hero .wp-block-cover__image-background{object-position:65%}.hero-copy{padding:18px;background:rgba(252,250,245,.92)}.hero h1{font-size:43px}.hero .wp-block-buttons{flex-direction:column;align-items:flex-start}.intro{padding:0}.intro-copy{padding:35px 24px}.atelier img{height:280px}.gallery-photo img{height:320px}.site-footer .wp-block-columns{gap:22px}.wide-photo img{height:280px}.contact-details{padding:20px 0}.form-panel{padding:22px}.wp-block-navigation__responsive-container.is-menu-open{padding:30px;background:#FCFAF5;color:#422719}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item{font-size:26px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* 1.0.1: section spacing belongs to outer sections, not nested column groups. */
.wp-block-column > .wp-block-group.section{padding:0;width:100%;max-width:100%}
.site-footer > .wp-block-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;width:100%}
.site-footer > .wp-block-columns > .wp-block-column{width:auto;min-width:0;margin:0}
.site-footer .wp-block-column > .wp-block-group{padding:0;max-width:100%;width:100%}
.site-footer p,.site-footer a{word-break:normal;overflow-wrap:break-word}
@media(max-width:781px){.site-footer > .wp-block-columns{grid-template-columns:1fr;gap:28px}}

/* Presentation PPT — 1.1 */
.site-header{padding:16px max(4vw,calc((100vw - 1400px)/2));min-height:110px;border-bottom:1px solid rgba(152,112,71,.14)}
.site-header .wp-block-button__link{background:var(--wp--preset--color--bois);font-family:'Cormorant Garamond',Georgia,serif;font-size:19px;padding:10px 25px}
.wp-block-navigation-item.current-menu-item>a{border-bottom:2px solid var(--wp--preset--color--bois);padding-bottom:7px}
.hero{min-height:570px;padding:64px max(4vw,calc((100vw - 1400px)/2))}
.hero-copy{max-width:620px}.hero h1{font-size:clamp(44px,4.4vw,72px);letter-spacing:-1.8px}.hero p{max-width:510px;font-size:17px}
.wp-block-button__link{font-family:'Cormorant Garamond',Georgia,serif;font-size:20px;padding:11px 25px}
.intro .wp-block-columns{align-items:stretch!important}.intro .wp-block-column:first-child{display:flex}.intro .atelier{width:100%}.intro .atelier img{height:100%;min-height:400px;object-position:center}.intro-copy{padding:56px 11%;align-self:center}.intro-copy h2{margin-top:18px}.intro-copy:before,.page-intro-copy:before,.cta-copy:before,.centered>h2:before{content:'';display:block;width:48px;height:2px;background:var(--wp--preset--color--bois);margin-bottom:22px}.centered>h2:before{margin:0 auto 22px}
.intro-copy .is-style-outline .wp-block-button__link{border:0;border-bottom:1px solid var(--wp--preset--color--bois);padding:5px 0}
.centered.section{padding-top:65px;padding-bottom:55px}.centered.section>h2{margin-top:0}.creation{overflow:hidden}.creation h3{font-size:25px}.gallery-photo img{height:330px;object-position:center}.caption{font-size:11px;line-height:1.6;margin:20px auto}.signature{position:relative;background:var(--wp--preset--color--ivoire);padding:65px 24px;border-block:1px solid var(--wp--preset--color--sable)}.signature h2{font-size:clamp(30px,3.4vw,52px)}.signature:before,.signature:after{content:'';display:block;margin:0 auto 22px;width:60px;height:1px;background:var(--wp--preset--color--bois)}.signature:after{margin:22px auto 0}
.ppt-banner{min-height:350px;padding:50px max(4vw,calc((100vw - 1400px)/2));color:var(--wp--preset--color--brun)}.ppt-banner .wp-block-cover__image-background{object-position:center}.page-intro-copy{max-width:610px}.page-intro-copy h1{font-size:clamp(40px,4vw,60px);margin:0 0 18px}.page-intro-copy p{max-width:450px}.ppt-banner .wp-block-cover__inner-container{width:100%}
.cta{padding:0;background:transparent}.cta-banner{min-height:330px;padding:44px max(4vw,calc((100vw - 1400px)/2));color:var(--wp--preset--color--brun)}.cta-copy{max-width:610px}.cta-copy h2{margin:0 0 18px}.cta-copy p{max-width:480px}.cta-banner .wp-block-cover__inner-container{width:100%}
.ppt-process .wp-block-columns{gap:0;align-items:stretch!important}.ppt-process .atelier img{height:100%;min-height:420px;object-position:center}.ppt-process .intro-copy{padding:35px 8%}.ppt-materials h3{font-size:29px}.ppt-materials .wp-block-image img{height:230px;width:100%;object-fit:cover}.ppt-materials .wp-block-column{background:var(--wp--preset--color--ivoire);padding:0 0 25px}.ppt-materials .wp-block-column>p{padding-inline:24px}.ppt-process h3{font-size:27px;margin-bottom:5px}.ppt-process p{margin-top:6px}.form-panel{background:#f5efe6;padding:32px}.form-panel:before{content:'';display:block;width:35px;height:2px;background:var(--wp--preset--color--bois);margin-bottom:22px}.contact-details h2{font-size:42px}.cbn-form input:not([type=checkbox]),.cbn-form textarea{border-radius:2px}.cbn-form button{width:100%;font-family:'Cormorant Garamond',Georgia,serif;font-size:21px}.site-footer{padding-top:28px;padding-bottom:20px}.site-footer>.wp-block-columns{grid-template-columns:1fr 1.2fr 1fr;align-items:center}.site-footer .wp-block-column:first-child>.wp-block-group{display:flex;align-items:center;gap:20px}.site-footer .wp-block-column:first-child p{font-family:'Cormorant Garamond',Georgia,serif;font-size:25px;line-height:1.05}.site-footer .wp-block-column:last-child{border-left:1px solid var(--wp--preset--color--sable);padding-left:35px}.site-footer a{text-decoration:none}.site-footer a:hover{text-decoration:underline}
@media(max-width:781px){.site-header{min-height:90px;padding:12px 22px}.hero{display:flex;flex-direction:column-reverse;align-items:stretch;padding:0;min-height:0;background:var(--wp--preset--color--blanc)}.hero .wp-block-cover__image-background{position:relative;height:320px;width:100%;object-fit:cover;object-position:right}.hero>.wp-block-cover__background{display:none}.hero>.wp-block-cover__inner-container{padding:28px 22px}.hero-copy{background:transparent;padding:0}.hero h1{font-size:43px;letter-spacing:-1px}.hero .wp-block-buttons{align-items:stretch}.hero .wp-block-button{width:100%}.hero .wp-block-button__link{width:100%}.intro-copy{padding:35px 24px}.intro .atelier img{min-height:0;height:300px}.ppt-banner{min-height:360px;padding:35px 22px}.page-intro-copy{background:rgba(252,250,245,.94);padding:20px}.page-intro-copy h1{font-size:40px}.cta-banner{padding:35px 22px;min-height:330px}.cta-copy{background:rgba(252,250,245,.92);padding:20px}.gallery-photo img{height:300px}.site-footer>.wp-block-columns{grid-template-columns:1fr}.site-footer .wp-block-column:last-child{border-left:0;padding-left:0}.ppt-process .atelier img{min-height:0;height:320px}.ppt-process .intro-copy{padding:25px}.signature{padding:45px 22px}.section.centered{padding:40px 22px}}
/* 1.2 — structures spécifiques à chaque page du document de référence */
.cbn-section{padding:54px 4%}.cbn-centered{text-align:center}.cbn-centered>.wp-block-buttons{justify-content:center}.cbn-centered>h2{margin:0 0 28px}.cbn-centered>h2:before,.cbn-story-copy:before,.cbn-process-copy:before,.cbn-contact-details:before,.cbn-form-panel:before{content:'';display:block;width:45px;height:2px;background:var(--wp--preset--color--bois);margin:0 0 22px}.cbn-centered>h2:before{margin:0 auto 22px}.cbn-home-hero,.cbn-page-hero,.cbn-cta{isolation:isolate;background:var(--wp--preset--color--blanc);color:var(--wp--preset--color--brun);padding:55px 4%;min-height:540px}.cbn-page-hero{min-height:390px}.cbn-cta{min-height:340px}.cbn-home-hero>.wp-block-cover__image-background,.cbn-page-hero>.wp-block-cover__image-background,.cbn-cta>.wp-block-cover__image-background{width:62%;left:auto;right:0;height:100%;object-position:center;object-fit:cover}.cbn-home-hero>.wp-block-cover__background,.cbn-page-hero>.wp-block-cover__background,.cbn-cta>.wp-block-cover__background{opacity:1;background:linear-gradient(90deg,#FCFAF5 0%,#FCFAF5 36%,rgba(252,250,245,.92) 43%,rgba(252,250,245,0) 60%);z-index:1}.cbn-home-hero>.wp-block-cover__inner-container,.cbn-page-hero>.wp-block-cover__inner-container,.cbn-cta>.wp-block-cover__inner-container{z-index:2;width:100%}.cbn-banner-copy{max-width:55%;margin:0}.cbn-banner-copy h1{font-size:clamp(42px,4.6vw,74px);letter-spacing:-1.5px;margin:0 0 22px}.cbn-page-hero h1{font-size:clamp(38px,3.9vw,60px)}.cbn-banner-copy p{max-width:490px}.cbn-page-hero .cbn-banner-copy:before,.cbn-cta .cbn-banner-copy:before{content:'';display:block;width:40px;height:2px;background:var(--wp--preset--color--bois);margin-bottom:20px}.cbn-banner-copy h2{margin:0 0 20px;font-size:clamp(36px,3.8vw,58px)}.cbn-story,.cbn-process{gap:0!important;margin:0!important;align-items:stretch!important;background:var(--wp--preset--color--blanc)}.cbn-story>.wp-block-column:first-child{flex-basis:55%!important}.cbn-story>.wp-block-column:last-child{flex-basis:45%!important}.cbn-story-copy{padding:50px 12%}.cbn-story-copy h2{margin:0 0 22px}.cbn-process-photo{margin:0;height:100%;width:100%}.cbn-process-photo img{width:100%;height:100%;min-height:400px;object-fit:cover;object-position:center}.cbn-text-link a{text-decoration:none;border-bottom:1px solid var(--wp--preset--color--bois);padding-bottom:7px;font-family:'Cormorant Garamond',Georgia,serif;font-size:22px}.cbn-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.cbn-gallery>*{margin:0!important;min-width:0}.cbn-card{background:#f5efe6;text-align:center;overflow:hidden}.cbn-card-photo{margin:0!important}.cbn-card-photo img{width:100%;aspect-ratio:1.25;height:auto;object-fit:cover;display:block;transition:transform .3s}.cbn-card:hover img{transform:scale(1.025)}.cbn-card h3{font-size:24px;font-weight:500;margin:0;padding:15px 8px;line-height:1.15}.cbn-creations .cbn-card-photo img{aspect-ratio:.9}.cbn-signature{text-align:center;background:#f2e5d1 url('assets/reference/branche.png') no-repeat left center;background-size:auto 100%;padding:55px 24px}.cbn-signature h2{font-size:clamp(32px,3.9vw,57px);margin:0 0 0 12%}.cbn-signature h2:before,.cbn-signature h2:after{content:'';display:block;width:60px;height:1px;background:var(--wp--preset--color--bois);margin:0 auto 20px}.cbn-signature h2:after{margin:20px auto 0}.cbn-small-signature{padding:35px 20px}.cbn-small-signature h3{margin:0 0 14px;font-size:32px}.cbn-signature>.wp-block-buttons{justify-content:center}.cbn-process-section{padding:20px 4% 0}.cbn-process-copy{padding:35px 8%}.cbn-process-copy h2{font-size:42px;margin:0 0 12px}.cbn-step{display:flex;gap:20px;align-items:flex-start;margin:20px 0}.cbn-step-number{width:42px;min-width:42px;height:42px;border-radius:50%;background:var(--wp--preset--color--sauge);color:#fff;outline:1px solid var(--wp--preset--color--sauge);outline-offset:3px;text-align:center;line-height:42px;font-family:'Cormorant Garamond',Georgia,serif;font-size:27px;margin:0}.cbn-step-copy{margin:0}.cbn-step h3{font-size:26px;margin:0 0 5px}.cbn-step p:not(.cbn-step-number){font-size:14px;margin:0}.cbn-materials>.wp-block-columns{gap:24px}.cbn-material{background:#f5efe6;height:100%;padding-bottom:22px}.cbn-material-photo{margin:0}.cbn-material-photo img{width:100%;height:190px;object-fit:cover;display:block}.cbn-material h3{font-size:29px;margin:18px 0 6px}.cbn-material p{font-size:14px;padding-inline:15px;margin:0}.cbn-filters{justify-content:center!important;gap:12px;margin:0}.cbn-filters .wp-block-button__link{border-radius:30px;background:#f4eee5;color:var(--wp--preset--color--brun);font-size:18px;padding:8px 25px}.cbn-filters .wp-block-button__link[aria-pressed=true]{background:var(--wp--preset--color--brun);color:#fff}.cbn-card[hidden]{display:none!important}.cbn-contact-columns{gap:40px;align-items:stretch!important}.cbn-form-panel{background:#f6f0e8;padding:30px}.cbn-form-panel h2,.cbn-contact-details>h2{font-size:42px;margin:0 0 25px}.cbn-contact-details{padding:20px 10px}.cbn-contact-details h3{font-size:27px;margin:22px 0 4px}.cbn-contact-details p{margin:0 0 15px}.cbn-contact-details .wp-block-image{display:none}.cbn-contact-details .caption{display:none}.cbn-contact-details .contact-details{padding:0}.cbn-contact-details .contact-details h2{font-size:36px}.cbn-form input:not([type=checkbox]),.cbn-form textarea{background:#FCFAF5}.cbn-form label{font-size:14px}.cbn-form textarea{min-height:180px}.cbn-form button{font-family:'Cormorant Garamond',Georgia,serif;font-size:22px}.cbn-form p{margin:0 0 15px}.site-footer .wp-block-column:nth-child(2) p{display:flex;gap:16px;flex-wrap:wrap}.site-footer .wp-block-column:nth-child(2) br{display:none}.wp-block-site-logo img{border-radius:50%}
@media(max-width:781px){.cbn-section{padding:35px 20px}.cbn-home-hero,.cbn-page-hero,.cbn-cta{display:flex;flex-direction:column-reverse;min-height:0;padding:0}.cbn-home-hero>.wp-block-cover__image-background,.cbn-page-hero>.wp-block-cover__image-background,.cbn-cta>.wp-block-cover__image-background{position:relative;inset:auto;width:100%;height:280px;display:block}.cbn-home-hero>.wp-block-cover__background,.cbn-page-hero>.wp-block-cover__background,.cbn-cta>.wp-block-cover__background{display:none}.cbn-home-hero>.wp-block-cover__inner-container,.cbn-page-hero>.wp-block-cover__inner-container,.cbn-cta>.wp-block-cover__inner-container{padding:30px 22px}.cbn-banner-copy{max-width:100%}.cbn-banner-copy h1{font-size:43px}.cbn-banner-copy h2{font-size:37px}.cbn-home-hero .wp-block-buttons{display:block}.cbn-home-hero .wp-block-button{margin:12px 0;width:100%}.cbn-home-hero .wp-block-button__link{width:100%}.cbn-story-copy{padding:35px 24px}.cbn-process-photo img{height:300px;min-height:0}.cbn-gallery{grid-template-columns:1fr;gap:20px}.cbn-card-photo img,.cbn-creations .cbn-card-photo img{aspect-ratio:1.4}.cbn-signature{background-size:auto 100%;padding:40px 20px}.cbn-signature h2{margin-left:15%;font-size:30px}.cbn-small-signature h3{font-size:26px;margin-left:15%}.cbn-process-section{padding:0}.cbn-process-copy{padding:30px 24px}.cbn-material-photo img{height:180px}.cbn-filters{gap:7px}.cbn-filters .wp-block-button__link{padding:8px 15px;font-size:17px}.cbn-contact-columns{gap:20px}.cbn-form-panel{padding:24px}.cbn-contact-details{padding:24px 0}}

.cbn-mobile-story{display:none}@media(max-width:781px){.cbn-story{flex-direction:column-reverse}.cbn-mobile-story{display:block;padding:24px;margin:0;font-size:15px}.cbn-story>.wp-block-column:first-child{display:block}}

/* 1.3 — photographies réelles, montrées en entier */
.cbn-card .cbn-real-photo{background:#fff;padding:14px;box-sizing:border-box}
.cbn-card .cbn-real-photo img,.cbn-creations .cbn-card .cbn-real-photo img{width:100%;height:390px;aspect-ratio:auto;object-fit:contain;transform:none}
.cbn-about{max-width:960px;margin-inline:auto;box-sizing:border-box}.cbn-about p{line-height:1.85}.cbn-about h2{margin-top:0}.cbn-about-short{max-width:860px;text-align:center}
.cbn-real-gallery>h2{margin-top:0}.cbn-real-gallery>.cbn-filters{margin:28px 0}.cbn-real-gallery>.cbn-gallery{margin-top:28px}.cbn-card[hidden]{display:none!important}
@media(max-width:781px){.cbn-card .cbn-real-photo img,.cbn-creations .cbn-card .cbn-real-photo img{height:350px}.cbn-about{padding:35px 22px}}
