/*
Theme Name: Biologiquement Éditorial
Theme URI: https://www.biologiquement.com/
Author: Laboratoire Biologiquement
Description: Thème éditorial commun des blogs Biologiquement et Baomix. Profils par site, carrousels accessibles, catégories et boutique.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: bio-editorial
License: GPL-2.0-or-later
*/
@font-face{font-family:BioSans;src:url('assets/bio-sans.ttf') format('truetype');font-display:swap;font-weight:100 900}
:root{--green:#245b3d;--deep:#173f2b;--lime:#a8bd47;--cream:#f8f8f1;--ink:#253d2e;--muted:#607062;--line:#dde4d6;--soft:#edf1e4;--radius:18px;--serif:Georgia,'Times New Roman',serif;--sans:BioSans,'Trebuchet MS',sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:120px}body{margin:0;background:var(--cream);color:var(--ink);font:17px/1.65 var(--sans);-webkit-font-smoothing:antialiased}img{max-width:100%;height:auto;display:block}a{color:inherit;text-underline-offset:4px}button,input,textarea,select{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible,.product-rail:focus-visible{outline:3px solid #8b9d28;outline-offset:4px}h1,h2,h3,p,figure{margin:0}h1,h2,h3{line-height:1.12;font-weight:500;overflow-wrap:anywhere}p+p{margin-top:1em}h1{font:500 clamp(42px,5.7vw,82px)/1.02 var(--serif);letter-spacing:-.045em}h2{font:500 clamp(30px,3.2vw,46px)/1.12 var(--serif);letter-spacing:-.025em}h3{font:500 25px/1.22 var(--serif);letter-spacing:-.015em}.wrap{width:min(1200px,calc(100% - 80px));margin-inline:auto}.eyebrow{display:block;color:var(--green);font:700 11px/1.5 var(--sans);letter-spacing:.16em;text-transform:uppercase;margin-bottom:16px}.small-label{display:block;font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}.text-link{font-size:14px;font-weight:700;text-decoration:none;display:inline-flex;gap:20px;align-items:center}.text-link:hover{text-decoration:underline}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:30px;background:var(--green);border:1px solid var(--green);color:#fff;text-decoration:none;font-size:14px;font-weight:700;padding:17px 24px;border-radius:6px;min-height:52px;transition:background .15s}.button:hover{background:var(--deep)}.button.light{background:#f4f6e7;color:var(--deep);border-color:#f4f6e7}.skip-link{position:fixed;top:-100px;left:20px;background:#fff;z-index:100;padding:15px}.skip-link:focus{top:10px}.topbar{background:var(--green);color:#fff;text-align:center;font-size:11px;letter-spacing:.03em;padding:9px 16px}.topbar a{text-decoration:none}.topbar span{margin-left:14px}.site-header{background:rgba(248,248,241,.97);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:104px}.brand{display:flex;align-items:center;gap:23px;text-decoration:none}.brand img{width:145px;height:auto}.brand>span{font-size:12px;max-width:160px;line-height:1.4;border-left:1px solid #c5cfbb;padding-left:23px;color:var(--muted)}.main-menu{display:flex;align-items:center;gap:30px;font-size:13px;font-weight:600}.main-menu a{text-decoration:none;white-space:nowrap;min-height:44px;display:flex;align-items:center;gap:8px}.main-menu a:hover,.main-menu a[aria-current]{color:var(--green);text-decoration:underline}.main-menu .menu-shop{background:var(--green);color:#fff;padding:0 19px;border-radius:5px}.hero{display:grid;grid-template-columns:1fr 1fr;gap:68px;align-items:center;padding-block:54px 48px}.hero-copy{padding-block:16px}.hero h1{max-width:620px}.hero-intro{font-size:17px;color:var(--muted);margin-top:25px;max-width:530px}.hero-actions{display:flex;gap:25px;align-items:center;flex-wrap:wrap;margin-top:29px}.hero-note{display:flex;align-items:center;gap:10px;margin-top:30px;font-size:11px;color:var(--muted)}.leaf-dot{display:block;background:var(--lime);width:10px;height:16px;border-radius:10px 0 10px 0;flex:none}.hero-image{position:relative;border-radius:150px 16px 16px 16px;overflow:hidden;background:var(--soft);aspect-ratio:1.03}.hero-image>img{width:100%;height:100%;object-fit:cover}.hero-image:after{content:'';position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(10,35,19,.8));pointer-events:none}.hero-image figcaption{position:absolute;bottom:28px;left:30px;right:22px;color:#fff;z-index:1}.hero-image figcaption span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.15em}.hero-image figcaption strong{display:block;font:400 25px/1.2 var(--serif);margin-top:7px}.quick-links{display:flex;gap:35px;padding-block:21px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:12px;font-weight:600;flex-wrap:wrap}.quick-links a{text-decoration:none}.quick-links a:hover{text-decoration:underline}.categories-section{padding-block:65px 30px;display:grid;grid-template-columns:1fr 1fr;gap:18px 70px}.categories-section>.eyebrow,.categories-section>h2{grid-column:1/-1}.categories-section>h2{margin-bottom:12px}.category-browser{align-self:start;background:#fff;border:1px solid var(--line);border-radius:9px;overflow:hidden}.category-browser summary{cursor:pointer;padding:18px 20px;list-style-position:inside;font-weight:600;font-size:14px}.category-browser summary>span{float:right;color:var(--muted);font-size:11px;margin-top:3px}.category-browser nav{display:grid;max-height:360px;overflow:auto;border-top:1px solid var(--line);padding:10px 20px}.category-browser nav a{font-size:13px;padding:8px 0;display:flex;justify-content:space-between;gap:15px;text-decoration:none;border-bottom:1px solid #eff1ea}.category-browser nav a span{color:var(--muted);font-size:11px}.search-form label{display:block;font-size:12px;margin-bottom:6px;color:var(--muted)}.search-form>div{display:flex;gap:8px}.search-form input{min-width:0;width:100%;padding:12px 15px;border:1px solid #cbd4c3;border-radius:5px;background:white;font-size:14px;color:var(--ink)}.search-form button{font-size:12px;border:0;border-radius:5px;background:var(--green);color:white;padding:12px 16px}.journal{padding-block:42px 55px}.section-top{display:flex;justify-content:space-between;align-items:end;gap:35px;margin-bottom:30px}.section-top h2{max-width:710px}.section-top p{color:var(--muted);margin-top:12px;font-size:15px}.journal-label{font-size:11px;color:var(--muted);white-space:nowrap}.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 25px}.post-card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;display:flex;flex-direction:column}.post-image{display:block;aspect-ratio:1.6;overflow:hidden;background:var(--soft)}.post-image img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.post-image:hover img{transform:scale(1.025)}.post-copy{padding:24px;display:flex;flex-direction:column;flex:1;gap:13px}.post-copy h3 a{text-decoration:none}.post-copy h3 a:hover{text-decoration:underline}.post-copy p{font-size:14px;color:var(--muted);line-height:1.6}.post-copy>.text-link{margin-top:auto;padding-top:10px}.pagination{margin-top:32px;display:flex;justify-content:center;flex-wrap:wrap;gap:8px}.pagination a,.pagination span{padding:6px 12px;min-width:38px;text-align:center;font-size:13px;border-radius:5px;text-decoration:none}.pagination .current{background:var(--green);color:#fff}.product-section{padding-block:54px;border-top:1px solid var(--line)}.rail-controls{display:flex;gap:9px;flex:none}.rail-controls button{width:46px;height:46px;border-radius:50%;border:1px solid #bbc9b2;background:transparent;color:var(--green);font-size:22px}.rail-controls button:hover{background:var(--soft)}.product-rail{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;padding:0 0 17px;scrollbar-width:thin;scrollbar-color:#9daa8c #e6ebdf}.product-card{flex:0 0 calc((100% - 60px)/4);min-width:0;scroll-snap-align:start;border:1px solid var(--line);background:#fff;border-radius:12px;overflow:hidden}.product-image{display:block;height:235px;background:#fff;padding:20px}.product-image img{width:100%;height:100%;object-fit:contain;image-rendering:auto;transform:none;filter:none}.product-copy{padding:18px 20px 23px}.product-copy h3{font:500 20px/1.25 var(--serif);margin:8px 0 17px;min-height:50px}.product-copy h3 a{text-decoration:none}.product-copy .text-link{font-size:12px}.collection-link{display:inline-flex;gap:20px;font-size:13px;font-weight:600;text-decoration:none;margin-top:16px}.collection-link:hover{text-decoration:underline}.shop-banner{display:flex;justify-content:space-between;align-items:center;gap:50px;background:var(--green);color:#fff;padding:46px 48px;border-radius:16px;margin-block:15px 45px;position:relative;overflow:hidden}.shop-banner:after{content:'';position:absolute;width:180px;height:290px;border:1px solid rgba(221,238,185,.18);border-radius:100% 0 100% 0;right:270px;top:-40px;transform:rotate(30deg);pointer-events:none}.shop-banner .eyebrow{color:#d6e4a3}.shop-banner h2{font-size:36px;max-width:600px}.shop-banner p{font-size:14px;max-width:580px;color:#e3ecdd;margin-top:15px}.shop-banner .button{flex:none;z-index:1}.related-section{padding-block:55px 65px;border-top:1px solid var(--line)}.related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.related-card{display:flex;flex-direction:column;gap:16px;padding:28px;border:1px solid #cfdac5;border-radius:12px;text-decoration:none;background:#f0f3e6;transition:background .15s}.related-card:hover{background:#e6edda}.related-number{font-size:11px;color:#748666;letter-spacing:.12em}.related-card p{font-size:14px;color:var(--muted);line-height:1.6}.related-card>.text-link{margin-top:auto;padding-top:5px}.social-section{padding:45px 48px;background:#e9efdf;border-radius:16px;margin-bottom:65px;display:grid;grid-template-columns:1.4fr 1fr;gap:70px}.social-section h2{font-size:36px}.social-section p{font-size:14px;color:var(--muted);max-width:530px;margin-top:20px}.social-section nav{display:flex;flex-direction:column;justify-content:center}.social-section nav a{display:flex;justify-content:space-between;text-decoration:none;font-size:14px;font-weight:600;padding:11px 0;border-bottom:1px solid #c7d4ba}.social-section nav a:hover{padding-left:7px}.site-footer{border-top:1px solid var(--line);background:#fff}.footer-top{display:flex;justify-content:space-between;gap:50px;padding-block:45px}.footer-top img{width:160px}.footer-top p{font-size:12px;color:var(--muted);margin-top:20px}.footer-top nav{display:grid;grid-template-columns:1fr 1fr;gap:10px 50px;align-content:center;font-size:12px}.footer-top nav a{text-decoration:none}.footer-bottom{border-top:1px solid var(--line);padding-block:20px;display:flex;gap:30px;justify-content:space-between;font-size:10px;color:var(--muted)}.footer-bottom p+p{margin:0;max-width:500px}.mobile-shop{display:none}.archive-header{padding-block:55px 10px}.archive-header h1{font-size:clamp(36px,4.6vw,64px)}.archive-description{max-width:800px;margin-top:20px;color:var(--muted)}.single-article{padding-top:30px;padding-bottom:55px}.breadcrumbs{display:flex;gap:12px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin-bottom:35px}.article-header{max-width:940px;padding:20px 0 35px}.article-header h1{font-size:clamp(36px,4.8vw,65px)}.article-meta{color:var(--muted);font-size:12px;margin-top:22px}.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:65px;align-items:start}.article-cover{margin-bottom:30px}.article-cover img{width:100%;max-height:540px;object-fit:cover;border-radius:12px}.entry-content{overflow-wrap:anywhere;font-size:18px;line-height:1.85}.entry-content>*+*{margin-top:1.25em}.entry-content h2{font-size:34px;line-height:1.22;margin-top:1.5em}.entry-content h3{font-size:26px;margin-top:1.4em}.entry-content img{max-width:100%;height:auto;border-radius:8px}.entry-content iframe,.entry-content video{max-width:100%}.entry-content iframe{aspect-ratio:16/9;height:auto}.entry-content table{display:block;overflow-x:auto;max-width:100%}.entry-content a{color:var(--green)}.entry-content blockquote{border-left:3px solid var(--lime);margin-inline:0;padding:5px 24px;color:var(--muted)}.article-sidebar{position:sticky;top:130px;border:1px solid var(--line);background:#fff;border-radius:12px;padding:25px}.article-sidebar img{height:160px;width:100%;object-fit:contain;margin-bottom:20px}.article-sidebar h2{font-size:29px}.article-sidebar p{font-size:13px;color:var(--muted);margin-top:15px}.article-sidebar .button{width:100%;margin-block:20px;font-size:12px;padding:14px}.article-sidebar>.text-link{font-size:11px}.post-navigation{margin-top:40px;padding-top:25px;border-top:1px solid var(--line);font-size:14px}.post-navigation .nav-links{display:grid;grid-template-columns:1fr 1fr;gap:20px}.comments-area{margin-top:45px}.comments-area h2{font-size:30px}.comments-area textarea,.comments-area input{max-width:100%;padding:10px;border:1px solid var(--line)}.comments-area textarea{width:100%}.comments-area input[type=submit]{background:var(--green);color:#fff;cursor:pointer}.comment-list{padding-left:22px;font-size:14px}.page-article{padding-block:40px 60px}.page-article .entry-content{max-width:1000px}.empty-page{padding-block:80px}.empty-page p{margin:20px 0}.empty-page .button{margin-bottom:25px}.vitrine-content #bio-vitrine{max-width:100%;padding:0}.vitrine-content .bv-section{padding-block:48px}.vitrine-content .bv-hero{display:none}.vitrine-content .bv-product-card h4{font-size:18px}.vitrine-content .bv-closing{display:none}.vitrine-content h2{font-family:var(--serif)!important}.vitrine-content .bv-family{margin-top:28px}.vitrine-content #bio-vitrine a{color:var(--green)}
@media(min-width:1550px){.wrap{width:min(1320px,calc(100% - 120px))}.hero{gap:90px}}
@media(max-width:1000px){.wrap{width:calc(100% - 48px)}.brand>span{display:none}.hero{gap:32px}.hero h1{font-size:58px}.hero-image{border-top-left-radius:100px}.hero-actions{gap:20px}.hero-actions .button{padding-inline:18px;font-size:12px}.post-grid{gap:20px;grid-template-columns:repeat(2,minmax(0,1fr))}.post-grid .post-card:last-child:nth-child(odd){grid-column:auto}.journal-label{display:none}.product-card{flex-basis:calc((100% - 40px)/3)}.product-image{height:200px;padding:14px}.shop-banner{padding:35px;gap:30px}.shop-banner h2{font-size:31px}.shop-banner .button{font-size:12px;padding-inline:18px}.related-card{padding:23px}.social-section{gap:40px;padding:35px}.article-layout{grid-template-columns:minmax(0,1fr) 240px;gap:30px}.article-sidebar{padding:20px}.categories-section{gap:18px 30px}.main-menu{gap:22px}}
@media(max-width:700px){html{scroll-padding-top:112px}body{font-size:16px;padding-bottom:72px}.wrap{width:calc(100% - 36px)}.topbar{font-size:10px;padding:7px 10px}.topbar span{margin-left:4px}.header-inner{min-height:86px;gap:12px}.brand img{width:111px}.main-menu{gap:13px;font-size:11px}.main-menu .menu-shop{padding-inline:10px}.main-menu a{min-height:42px}.main-menu .menu-shop span{display:none}.hero{grid-template-columns:1fr;gap:25px;padding-block:29px 28px}.hero-copy{padding:0}.hero h1{font-size:clamp(42px,11.8vw,64px);line-height:1.04;letter-spacing:-.04em}.hero .eyebrow{font-size:9px;letter-spacing:.13em;margin-bottom:14px}.hero-intro{font-size:16px;line-height:1.65;margin-top:20px}.hero-actions{margin-top:24px;gap:18px}.hero-actions .button{font-size:12px;padding:15px 17px;gap:14px}.hero-actions .text-link{font-size:12px;gap:5px}.hero-note{font-size:10px;margin-top:20px}.hero-image{aspect-ratio:1.5;border-radius:80px 12px 12px 12px}.hero-image figcaption{bottom:20px;left:23px}.hero-image figcaption strong{font-size:22px}.quick-links{display:grid;grid-template-columns:1fr 1fr;gap:14px 12px;padding-block:20px;font-size:11px}.categories-section{grid-template-columns:1fr;padding-block:37px 15px;gap:18px}.categories-section h2{font-size:32px}.categories-section .eyebrow{margin-bottom:0}.category-browser summary{padding:15px 17px}.search-form input{font-size:16px;padding:11px}.search-form button{padding-inline:12px}.journal{padding-block:30px 40px}.section-top{gap:14px;align-items:end;margin-bottom:22px}.section-top .eyebrow{font-size:9px;letter-spacing:.11em;margin-bottom:12px}.section-top h2{font-size:32px}.section-top p{font-size:13px}.post-grid{grid-template-columns:1fr;gap:23px}.post-image{aspect-ratio:1.7}.post-copy{padding:22px}.post-copy h3{font-size:26px}.post-copy p{font-size:15px}.post-copy .small-label{font-size:9px}.product-section{padding-block:36px}.product-section .section-top>div:first-child{min-width:0}.product-section .section-top h2{font-size:29px}.rail-controls{gap:5px}.rail-controls button{height:36px;width:36px;font-size:19px}.product-rail{gap:13px}.product-card{flex-basis:75%;max-width:300px}.product-image{height:220px;padding:16px}.product-copy{padding:17px 19px 22px}.product-copy h3{font-size:22px;min-height:54px}.product-copy .text-link{font-size:13px}.collection-link{font-size:12px;gap:10px;line-height:1.5;max-width:100%}.shop-banner{flex-direction:column;align-items:start;gap:25px;padding:30px 25px;margin-block:5px 30px}.shop-banner h2{font-size:32px}.shop-banner p{font-size:14px}.shop-banner .button{font-size:13px;width:100%;justify-content:space-between}.related-section{padding-block:35px 40px}.related-section .section-top{align-items:start;flex-direction:column;gap:18px}.related-grid{grid-template-columns:1fr;gap:13px}.related-card{padding:23px;gap:11px}.related-card h3{font-size:26px}.related-card p{font-size:14px}.related-number{font-size:10px}.social-section{grid-template-columns:1fr;gap:24px;padding:28px 24px;margin-bottom:40px}.social-section h2{font-size:31px}.social-section .eyebrow{font-size:9px}.social-section p{font-size:14px;margin-top:16px}.social-section nav a{font-size:15px;padding:12px 0}.footer-top{flex-direction:column;gap:25px;padding-block:30px}.footer-top img{width:145px}.footer-top p{font-size:12px;margin-top:16px}.footer-top nav{font-size:12px;gap:13px 20px;grid-template-columns:1fr 1fr}.footer-bottom{flex-direction:column;gap:10px;padding-block:17px}.mobile-shop{position:fixed;bottom:0;left:0;right:0;min-height:64px;display:flex;justify-content:space-between;align-items:center;gap:15px;background:var(--green);color:white;text-decoration:none;padding:15px 20px calc(15px + env(safe-area-inset-bottom));z-index:30;font-size:13px;font-weight:700;box-shadow:0 -3px 15px #173f2b18}.mobile-shop span{font-size:10px;font-weight:400}.article-layout{grid-template-columns:1fr;gap:30px}.article-sidebar{position:static;display:none}.single-article{padding-top:23px;padding-bottom:35px}.breadcrumbs{margin-bottom:20px;font-size:10px}.article-header{padding-block:10px 25px}.article-header h1{font-size:38px}.entry-content{font-size:17px;line-height:1.8}.entry-content h2{font-size:29px}.entry-content h3{font-size:25px}.entry-content figure,.entry-content .wp-caption{max-width:100%!important;margin-inline:0}.entry-content .alignleft,.entry-content .alignright{float:none;margin:20px 0}.archive-header{padding-block:35px 0}.archive-header h1{font-size:38px}.page-article{padding-block:25px 35px}.vitrine-content .bv-section{padding-block:34px}.vitrine-content .bv-product-grid{grid-template-columns:1fr!important}.vitrine-content .bv-family h3{font-size:28px}.vitrine-content .bv-section h2{font-size:30px!important}.vitrine-content .bv-product{padding:20px}.vitrine-content .bv-addresses{grid-template-columns:1fr}.vitrine-content .bv-principles{grid-template-columns:1fr}.post-navigation .nav-links{grid-template-columns:1fr}}
@media(max-width:360px){.wrap{width:calc(100% - 28px)}.brand img{width:96px}.main-menu{gap:9px;font-size:10px}.main-menu .menu-shop{padding-inline:8px}.hero h1{font-size:39px}.hero-actions{align-items:start;flex-direction:column}.hero-image{aspect-ratio:1.35}.mobile-shop{padding-inline:14px;font-size:12px}.mobile-shop span{font-size:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

.collection-photo{width:150px;height:150px;object-fit:contain;float:right;background:#fff;border-radius:12px;margin:0 0 20px 25px}.bv-collection:after{content:"";display:table;clear:both}@media(max-width:700px){.collection-photo{width:110px;height:110px;margin:0 0 15px 15px}}

@media(max-width:700px){.chaty-widget{bottom:88px!important}}

.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;white-space:nowrap}

.network-shops{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px;margin-bottom:16px}.network-shops a{display:flex;flex-direction:column;gap:3px;border:1px solid #d9e2d3;border-radius:12px;padding:12px 16px;background:#f6f8f3;color:#254b35;text-decoration:none}.network-shops strong{font-size:16px}.network-shops span{font-size:13px}.network-shops a:hover{border-color:#497b50;background:#edf3e8}.network-directory-group{margin-bottom:44px}.contextual-products{padding:24px;border:1px solid #d9e2d3;border-radius:16px;background:#f6f8f3}.contextual-products a{text-decoration:underline}@media(max-width:600px){.network-shops{grid-template-columns:1fr;gap:6px}.network-shops a{flex-direction:row;flex-wrap:wrap;justify-content:space-between;padding:10px 12px;gap:8px}.network-shops strong{font-size:14px}.network-shops span{font-size:12px}}
