/*
Theme Name: Éditions Fenêtres
Description: Thème éditorial pour les Éditions Fenêtres et WooCommerce.
Version: 1.0.0
Text Domain: fenetres
*/
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');
:root{--ink:#202921;--cream:#f5f2e9;--paper:#fbf9f3;--orange:#c86640;--green:#405d4e;--line:#c8cbbd}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:15px;line-height:1.6}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}img{max-width:100%;height:auto}h1,h2,h3,p{margin-top:0}h1,h2{font-family:'DM Serif Display',Georgia,serif;font-weight:400;line-height:1.03;letter-spacing:-.035em}h1{font-size:clamp(3.7rem,6.1vw,6.2rem)}h2{font-size:clamp(2.8rem,4.5vw,4.5rem)}em{font-weight:400;color:var(--orange)}.skip{position:absolute;top:-100px}.skip:focus{top:0;z-index:99;background:white}.site-header{background:var(--cream);border-bottom:1px solid var(--line)}.header-inner{max-width:1440px;margin:auto;padding:22px 5%;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:10px;font-size:11px;line-height:1.1;letter-spacing:.16em}.brand strong{font-size:14px}.brand-mark{font-size:32px;color:var(--orange)}nav ul{list-style:none;display:flex;gap:35px;margin:0;padding:0}nav a,.basket{font-size:12px;font-weight:600}.basket{border:1px solid var(--ink);padding:10px 16px}.basket span{margin-left:20px}.hero{background:var(--cream);display:grid;grid-template-columns:1fr 1fr;max-width:1600px;margin:auto;padding:60px 5% 22px;gap:25px}.hero-copy{padding:5% 3% 5% 2%}.eyebrow{font-size:10px;font-weight:700;letter-spacing:.18em}.dot{display:inline-block;width:7px;height:7px;background:var(--orange);border-radius:50%;margin-right:8px}.hero h1{margin:43px 0 28px}.hero-text{max-width:410px;color:#5d665d;font-size:16px}.hero-actions{display:flex;align-items:center;gap:28px;margin-top:36px}.button{display:inline-flex;gap:34px;padding:15px 20px;font-weight:600;font-size:12px}.button-dark{background:var(--ink);color:white}.text-link{display:inline-block;font-size:12px;font-weight:700;border-bottom:1px solid currentColor;padding-bottom:5px}.hero-art{background:#d9d2bc;min-height:490px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}.art-window{width:57%;height:79%;position:relative;background:#e8c59f;border-radius:48% 48% 0 0;overflow:hidden}.art-sun{position:absolute;width:42%;aspect-ratio:1;border-radius:50%;background:#c97551;left:29%;top:18%}.art-hill{position:absolute;width:140%;height:60%;border-radius:50% 50% 0 0;bottom:-24%;transform:rotate(-17deg)}.hill-one{background:#81917a;left:-39%}.hill-two{background:#455e4e;right:-57%;bottom:-30%;transform:rotate(22deg)}.art-frame{position:absolute;inset:0;border:12px solid #f2e5cd;border-bottom:0;border-radius:50% 50% 0 0}.art-caption{position:absolute;bottom:18px;left:22px;font-size:9px;letter-spacing:.16em}.hero-bottom{grid-column:1/-1;display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:20px;font-size:9px;font-weight:700;letter-spacing:.15em}.wrap{max-width:1320px;padding-left:6%;padding-right:6%;margin:auto}.catalog-section,.journal{padding-top:105px;padding-bottom:105px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:42px}.section-head h2{margin-bottom:0}.section-head>div:last-child,.section-head>p{max-width:290px;color:#646b62}.section-head .text-link{color:var(--ink)}.book-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}.book-cover{display:block;background:#e6e2d7;aspect-ratio:4/5;padding:9%;text-align:center}.book-cover img{width:100%;height:100%;object-fit:contain}.book-info{display:flex;justify-content:space-between;gap:10px;margin-top:18px}.book-info h3{font-family:Georgia,serif;font-size:17px;font-weight:400;line-height:1.25}.book-info span{white-space:nowrap;font-size:12px}.book-link{font-size:11px;text-decoration:underline}.manifesto{background:#dce2d7;padding:100px 0}.manifesto-inner{display:grid;grid-template-columns:1fr 1fr;gap:12%}.manifesto-inner>div:last-child{font-family:Georgia,serif;font-size:21px;line-height:1.6}.quote-mark{display:block;color:var(--orange);font-size:60px;line-height:.8}.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.article-grid article{border-top:1px solid var(--line);padding:20px 0}.article-grid h3{font:24px Georgia,serif}.empty-note{color:#6a7168;border-top:1px solid var(--line);padding-top:20px}.site-footer{background:#263b30;color:#f5f2e9;padding:85px 6% 22px}.footer-inner,.footer-bottom{max-width:1200px;margin:auto;display:flex;justify-content:space-between;gap:30px}.site-footer h2{font-size:clamp(3rem,5vw,5rem)}.footer-link{border-bottom:1px solid;padding-bottom:6px}.footer-meta{font-size:12px}.footer-meta strong{letter-spacing:.12em}.footer-bottom{border-top:1px solid #718174;margin-top:85px;padding-top:20px;font-size:10px}.content{min-height:50vh;padding-top:75px;padding-bottom:90px}.content h1{font-size:clamp(3rem,5vw,5rem)}.post{max-width:800px;margin:40px 0}.post h2{font-size:2rem}.commerce .button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--ink);color:white;border-radius:0;padding:14px}.woocommerce ul.products li.product .price{color:var(--ink)}.woocommerce ul.products li.product a img{background:#eee}.woocommerce-message{border-top-color:var(--green)}@media(max-width:800px){.header-inner{flex-wrap:wrap}.header-inner nav{order:3;width:100%;overflow:auto}nav ul{gap:22px;white-space:nowrap}.hero{grid-template-columns:1fr;padding-top:20px}.hero h1{margin-top:30px}.hero-art{min-height:400px}.hero-bottom{gap:20px}.book-grid{grid-template-columns:repeat(2,1fr)}.manifesto-inner{grid-template-columns:1fr;gap:20px}.section-head{align-items:start;flex-direction:column}.article-grid{grid-template-columns:1fr}.catalog-section,.journal,.manifesto{padding-top:70px;padding-bottom:70px}}@media(max-width:480px){.hero-actions{align-items:flex-start;flex-direction:column}.hero-bottom span:last-child{display:none}.book-grid{gap:14px}.book-info{flex-direction:column;gap:0}.footer-inner{flex-direction:column}.footer-bottom{margin-top:45px}}


/* Une lecture confortable sur les pages éditoriales et la boutique. */
body { font-size: 17px; line-height: 1.7; }
.brand { font-size: 13px; }
.brand strong { font-size: 16px; }
nav a, .basket, .button, .text-link, .book-link { font-size: 15px; }
.eyebrow, .hero-bottom, .art-caption, .footer-bottom { font-size: 12px; }
.hero-text { font-size: 18px; }
.book-info h3 { font-size: 19px; }
.book-info span, .footer-meta { font-size: 15px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 18px; line-height: 1.35; }
.woocommerce ul.products li.product .price { font-size: 16px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { font-size: 20px; }
.woocommerce button.button, .woocommerce a.button, .woocommerce input.button { font-size: 16px; }
@media (max-width: 480px) {
  .hero h1 { font-size: clamp(3rem, 12vw, 3.7rem); }
  nav ul { gap: 18px; }
  .hero-bottom { line-height: 1.5; }
}

/* Archives des événements */
body:has(.events-archive) .post{max-width:100%}.events-archive{max-width:1020px}.events-intro{font-size:20px;max-width:800px;color:#526052;margin-bottom:65px}.event-entry{border-top:1px solid #c8cbbd;padding:45px 0 55px}.event-entry h2{font-size:clamp(2.2rem,4vw,3.6rem);margin:12px 0 24px}.event-entry h3{font-family:Georgia,serif;font-size:21px;font-weight:400;margin:30px 0 12px}.event-entry p,.event-entry li{max-width:850px}.event-meta{font-size:13px;font-weight:700;letter-spacing:.13em;color:#916044}.event-lead{font-size:19px}.event-banner,.event-photo{margin:30px 0}.event-banner img,.event-photo img{display:block;width:100%;height:auto}.event-photo{max-width:700px}.event-schedule{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.event-schedule section{background:#e8ece3;padding:18px 24px}.event-schedule h3{margin:0 0 10px}.event-schedule p{margin-bottom:10px}.event-link{font-weight:700;border-bottom:1px solid;padding-bottom:4px}@media(max-width:640px){.event-schedule{grid-template-columns:1fr}.events-intro{font-size:18px}.event-entry{padding:35px 0}}

.brand-mark{width:34px;height:34px;flex:none}.brand-mark path{stroke-width:1.8;stroke-linecap:round}

/* Illustration de la page d’accueil */
.hero-art{background:#d7d9c8;background-image:linear-gradient(145deg,#e4e1d0,#c6d0bc);isolation:isolate}
.hero-art:before,.hero-art:after{content:"";position:absolute;border:1px solid rgba(64,93,78,.2);border-radius:50%;pointer-events:none}
.hero-art:before{width:78%;aspect-ratio:1;top:-25%;right:-28%}.hero-art:after{width:38%;aspect-ratio:1;bottom:-20%;left:-8%}
.art-window{background:linear-gradient(160deg,#f5e4ce 0%,#e7bc99 100%);box-shadow:0 22px 50px rgba(43,65,50,.14);z-index:1}
.art-frame{border-color:#f6ead7;box-shadow:inset 0 0 0 1px rgba(255,255,255,.5)}
.art-star{position:absolute;width:35%;height:auto;left:32.5%;top:18%;z-index:2;filter:drop-shadow(0 4px 10px rgba(89,72,55,.12))}
.art-star path{stroke-width:2.7;stroke-linecap:round}
.art-orbit{position:absolute;border:1px solid rgba(120,110,94,.24);border-radius:50%;aspect-ratio:1;z-index:1}
.orbit-one{width:50%;left:25%;top:13%}.orbit-two{width:66%;left:17%;top:8%;border-color:rgba(255,255,255,.5)}
.hill-one{background:#99a892}.hill-two{background:#405f50}
.art-caption{z-index:2;color:#34473b;font-weight:700}

/* Notre maison */
body:has(.maison-page) .post{max-width:100%}.maison-page{max-width:1100px}.maison-kicker{font-size:13px;font-weight:700;letter-spacing:.15em;color:#996447}.maison-intro{display:grid;grid-template-columns:1fr 0.75fr;align-items:center;gap:8%;padding-bottom:60px}.maison-intro h2{font-size:clamp(3rem,5vw,4.5rem)}.maison-lead{font-size:20px;max-width:560px}.maison-intro figure,.maison-founder figure{margin:0}.maison-intro img{width:100%;max-height:480px;object-fit:cover}.maison-section{padding:55px 0;border-top:1px solid #c8cbbd}.maison-section h2{font-size:clamp(2.4rem,4vw,3.7rem)}.maison-section>p:not(.maison-kicker){max-width:850px}.maison-section blockquote{margin:35px 0 0;padding:30px 35px;background:#e4eadf;font:italic 23px/1.5 Georgia,serif;max-width:850px}.maison-section cite{display:block;font:600 14px 'DM Sans',sans-serif;margin-top:16px}.maison-founder{display:grid;grid-template-columns:220px 1fr;gap:36px}.maison-founder img{width:100%;height:auto}.maison-founder h3,.maison-contacts h3{font:28px Georgia,serif;margin:0 0 15px}.maison-contacts{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:32px}.maison-contacts>div{background:#e5eadf;padding:25px}.maison-contacts a{font-weight:600;overflow-wrap:anywhere}@media(max-width:700px){.maison-intro,.maison-founder,.maison-contacts{grid-template-columns:1fr}.maison-intro{gap:25px}.maison-founder figure{max-width:220px}}

/* Aperçu des livres : la seconde image se révèle au survol ou au clavier. */
.fenetres-image-wrap{position:relative;display:block;width:100%;aspect-ratio:4/5;overflow:hidden;background:#e8e5dc}.fenetres-image-wrap img,.woocommerce ul.products li.product a .fenetres-image-wrap img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;margin:0;transition:opacity .3s ease,transform .4s ease}.fenetres-image-wrap .fenetres-image-secondary,.woocommerce ul.products li.product a .fenetres-image-wrap .fenetres-image-secondary{opacity:0}.book-card:hover .fenetres-image-secondary,.book-card:focus-within .fenetres-image-secondary,.woocommerce ul.products li.product:hover .fenetres-image-secondary,.woocommerce ul.products li.product:focus-within .fenetres-image-secondary{opacity:1}.book-card:hover .has-secondary .fenetres-image-primary,.book-card:focus-within .has-secondary .fenetres-image-primary,.woocommerce ul.products li.product:hover .has-secondary .fenetres-image-primary,.woocommerce ul.products li.product:focus-within .has-secondary .fenetres-image-primary{opacity:0}.book-cover .fenetres-image-wrap{height:100%;aspect-ratio:auto;background:transparent}@media(prefers-reduced-motion:reduce){.fenetres-image-wrap img,.woocommerce ul.products li.product a .fenetres-image-wrap img{transition:none}}

/* Logo en arche à quatre couleurs. */
.brand-mark{width:40px;height:48px}.brand-mark path{stroke-linecap:initial}

.social-links{display:flex;align-items:center;gap:10px;margin-top:25px}.social-links a{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid #718174;border-radius:50%}.social-links a:hover,.social-links a:focus-visible{background:#405d4e;outline-offset:3px}.social-links img{width:17px;height:17px;filter:invert(96%) sepia(8%) saturate(300%) hue-rotate(350deg)}

/* Carrousel de livres */
.book-carousel{position:relative}.carousel-controls{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin:-10px 0 20px}.carousel-controls button{font:600 18px 'DM Sans',sans-serif;color:#202921;background:transparent;border:1px solid #9ca79c;width:44px;height:44px;cursor:pointer}.carousel-controls button:hover,.carousel-controls button:focus-visible{background:#202921;color:#fff}.carousel-controls .carousel-pause{font-size:13px;width:auto;padding:0 16px}.book-grid{display:flex;overflow-x:auto;gap:24px;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#a7b3a5 transparent;padding-bottom:16px}.book-grid .book-card{flex:0 0 calc((100% - 72px)/4);min-width:0;scroll-snap-align:start}@media(max-width:800px){.book-grid .book-card{flex-basis:calc((100% - 24px)/2)}}@media(max-width:480px){.book-grid{gap:14px}.book-grid .book-card{flex-basis:calc((100% - 14px)/2)}}

.maison-intro figure img{object-fit:contain;background:#fffcf6}

/* Carrousel sans barre visible, avec repli défilable si JavaScript est désactivé. */
.book-carousel.is-ready .carousel-viewport{overflow:hidden}.book-carousel.is-ready .book-grid{overflow:visible;scroll-snap-type:none;scrollbar-width:none;will-change:transform;transition:transform .65s cubic-bezier(.22,.7,.25,1)}.book-carousel.is-ready .book-grid::-webkit-scrollbar{display:none}.carousel-controls button:disabled{opacity:.4;cursor:default}@media(prefers-reduced-motion:reduce){.book-carousel.is-ready .book-grid{transition:none}}

/* Le carrousel suit la largeur de la page et les marges de l’en-tête. */
.catalog-section.wrap{max-width:none;width:100%;padding-left:5%;padding-right:5%}

/* Présentations éditoriales des ouvrages */
.featured-books{padding-top:95px;padding-bottom:100px}.featured-intro{max-width:650px;margin-bottom:55px}.featured-intro h2{margin-bottom:20px}.featured-intro>p:last-child{color:#5d665d;font-size:18px}.featured-book{display:grid;grid-template-columns:minmax(220px, .8fr) 1fr;gap:8%;align-items:center;padding:45px 0;border-top:1px solid var(--line)}.featured-book:nth-of-type(even) .featured-image{order:2}.featured-image{display:flex;align-items:center;justify-content:center;background:#e6e5d9;min-height:390px;padding:32px}.featured-image img{width:auto;max-width:90%;height:330px;object-fit:contain;box-shadow:0 12px 28px rgba(32,41,33,.16)}.featured-copy{max-width:550px}.featured-copy h3{font:400 clamp(2rem,3vw,3rem)/1.08 'DM Serif Display',Georgia,serif;margin:18px 0 22px}.featured-copy>p:not(.eyebrow){font-size:17px;color:#536052;line-height:1.75}.featured-actions{display:flex;align-items:center;gap:25px;margin-top:28px}.featured-price{font-weight:600}.featured-copy h3 a:hover{text-decoration:underline}@media(max-width:700px){.featured-books{padding-top:65px;padding-bottom:65px}.featured-book{grid-template-columns:1fr;gap:25px;padding:30px 0}.featured-book:nth-of-type(even) .featured-image{order:0}.featured-image{min-height:300px}.featured-image img{height:260px}.featured-actions{flex-wrap:wrap}}

/* Couvertures et titres du carrousel */
.book-carousel .book-cover{aspect-ratio:3/4;padding:5%;background:#e5e5d9}.book-carousel .book-cover img{filter:drop-shadow(0 8px 10px rgba(32,41,33,.15))}.book-carousel .book-info{display:block;margin-top:18px}.book-carousel .book-info h3{font:600 clamp(1.18rem,1.45vw,1.45rem)/1.25 'DM Sans',sans-serif;letter-spacing:-.015em;margin:0 0 10px;color:#202921}.book-carousel .book-info span{display:block;font-size:17px;font-weight:700;color:#405d4e}.book-carousel .book-link{display:inline-block;font-size:15px;margin-top:10px;text-underline-offset:4px}.book-carousel .book-card{padding-bottom:8px}@media(max-width:480px){.book-carousel .book-info h3{font-size:1.1rem}.book-carousel .book-info span{font-size:16px}}

/* Découverte : un livre à l'honneur et des chemins dans le catalogue. */
.hero-art{min-height:560px;padding-bottom:100px}.hero-book{position:absolute;z-index:3;right:5%;bottom:24px;display:flex;align-items:center;gap:14px;max-width:min(310px,65%);padding:12px;background:#fbf9f3;box-shadow:0 12px 30px rgba(32,41,33,.16);text-decoration:none}.hero-book:hover{text-decoration:none;transform:translateY(-3px)}.hero-book>img{width:58px;height:78px;object-fit:contain;background:#e8e5dc}.hero-book>span{display:grid;gap:3px;line-height:1.25}.hero-book small{font-size:10px;font-weight:700;letter-spacing:.1em;color:#996447}.hero-book strong{font-family:Georgia,serif;font-size:16px}.hero-book span span{font-size:12px;text-decoration:underline;text-underline-offset:3px}.art-caption{max-width:32%;line-height:1.4}
.theme-section{background:#e9ece3;padding:82px 0}.theme-heading{display:flex;justify-content:space-between;gap:32px;align-items:end;margin-bottom:35px}.theme-heading h2{margin-bottom:0}.theme-heading>p{max-width:300px;margin-bottom:0;color:#526052}.theme-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.theme-card{min-height:190px;padding:24px;display:flex;flex-direction:column;justify-content:space-between;background:#faf9f3;border:1px solid transparent;transition:transform .2s,border-color .2s}.theme-card:nth-child(2){background:#f1e1d4}.theme-card:nth-child(3){background:#dbdfd0}.theme-card:hover,.theme-card:focus-visible{transform:translateY(-4px);border-color:#405d4e;text-decoration:none}.theme-number{font-size:12px;letter-spacing:.14em;color:#805840}.theme-card strong{display:block;font:400 27px/1.2 'DM Serif Display',Georgia,serif}.theme-card span span{display:block;font-size:15px;margin-top:5px;color:#526052}.theme-arrow{align-self:flex-end;font-size:22px;line-height:1}
.community-section{padding-top:90px;padding-bottom:100px}.community-heading{max-width:720px;margin-bottom:35px}.community-heading h2{margin-bottom:20px}.community-heading>p:last-child{color:#526052}.community-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.community-card{display:flex;flex-direction:column;align-items:flex-start;min-height:240px;padding:32px;gap:15px;background:#e6e8dc}.community-support{background:#eed9c7}.community-card strong{font:400 clamp(1.6rem,2.4vw,2.3rem)/1.15 'DM Serif Display',Georgia,serif;max-width:360px}.community-card>span:last-child{margin-top:auto;font-size:15px;font-weight:700;text-decoration:underline;text-underline-offset:4px}.community-card:hover{text-decoration:none;box-shadow:inset 0 0 0 2px #405d4e}
/* Fiches WooCommerce : hiérarchie plus claire et achat facile à repérer. */
.single-product .commerce{max-width:1320px}.single-product .woocommerce-breadcrumb{font-size:14px;margin-bottom:30px}.single-product div.product{padding-top:10px}.single-product div.product .product_title{font-size:clamp(2.5rem,4vw,4.3rem);line-height:1.08}.single-product div.product div.images{background:#e9e8dd;padding:24px}.single-product div.product div.images img{object-fit:contain}.single-product div.product div.summary{padding:0 0 30px}.single-product div.product .woocommerce-product-details__short-description{font-size:18px;line-height:1.75;color:#526052}.single-product div.product p.price,.single-product div.product span.price{font-weight:700;color:#405d4e}.single-product div.product form.cart{padding:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.single-product div.product form.cart .button{padding:16px 24px}.single-product .product_meta{font-size:14px;color:#526052}.single-product .woocommerce-tabs{padding-top:35px}.single-product .related.products{padding-top:45px;border-top:1px solid var(--line)}.single-product .related.products h2{font-size:clamp(2rem,3vw,3rem)}
@media(max-width:700px){.hero-art{min-height:440px}.art-window{height:320px}.hero-book{right:15px;bottom:15px;max-width:70%}.art-caption{bottom:20px;left:15px;font-size:10px}.theme-section{padding:60px 0}.theme-heading{display:block}.theme-heading>p{margin-top:20px}.theme-grid{grid-template-columns:1fr}.theme-card{min-height:150px}.community-section{padding-top:65px;padding-bottom:70px}.community-grid{grid-template-columns:1fr}.community-card{min-height:200px}.single-product div.product div.images{padding:15px}.single-product div.product .product_title{font-size:2.5rem}}
@media(prefers-reduced-motion:reduce){.theme-card{transition:none}.theme-card:hover,.theme-card:focus-visible,.hero-book:hover{transform:none}}

/* Couleurs inspirées des couvertures des collections. */
.theme-card--sciences-humaines{background:#f4d4d1;border-top:5px solid #dd1f2b}.theme-card--religion,.theme-card--religion:nth-child(2){background:#cbe6d2;border-top:5px solid #65b684}.theme-card--lettres,.theme-card--lettres:nth-child(3){background:#c4e6e5;border-top:5px solid #3db4ba}

/* Textes de présentation des catégories. */
.theme-card{min-height:225px;gap:18px}.theme-card span span{max-width:32ch;line-height:1.55;margin-top:10px}.theme-arrow{margin-top:auto}@media(max-width:700px){.theme-card{min-height:190px}}

/* Un accueil plus resserré, sans perdre le rythme de lecture. */
.home .catalog-section{padding-top:68px;padding-bottom:65px}.home .theme-section{padding-top:60px;padding-bottom:60px}.home .featured-books{padding-top:65px;padding-bottom:65px}.home .featured-intro{margin-bottom:35px}.home .featured-book{padding-top:35px;padding-bottom:35px}.home .manifesto{padding-top:70px;padding-bottom:70px}.home .community-section{padding-top:65px;padding-bottom:70px}@media(max-width:700px){.home .catalog-section,.home .theme-section,.home .featured-books,.home .manifesto,.home .community-section{padding-top:48px;padding-bottom:48px}.home .featured-intro{margin-bottom:25px}.home .featured-book{padding-top:28px;padding-bottom:28px}}

/* Marges internes plus compactes en haut et en bas des sections de l’accueil. */
.home .catalog-section,.home .theme-section,.home .featured-books,.home .manifesto,.home .community-section{padding-top:38px;padding-bottom:38px}.home .section-head,.home .theme-heading,.home .featured-intro,.home .community-heading{margin-bottom:24px}.home .featured-book{padding-top:25px;padding-bottom:25px}.home .site-footer{padding-top:48px}.home .footer-bottom{margin-top:45px}@media(max-width:700px){.home .catalog-section,.home .theme-section,.home .featured-books,.home .manifesto,.home .community-section{padding-top:30px;padding-bottom:30px}.home .featured-book{padding-top:22px;padding-bottom:22px}.home .site-footer{padding-top:35px}.home .footer-bottom{margin-top:30px}}

.manifesto-portrait{display:flex;align-items:center;gap:18px;margin-top:28px;padding-top:20px;border-top:1px solid #b5c1b3;font:15px/1.4 'DM Sans',sans-serif}.manifesto-portrait img{width:86px;height:86px;object-fit:cover;border-radius:50%}.manifesto-portrait span{display:grid;gap:5px}.manifesto-portrait strong{font-size:14px;text-decoration:underline;text-underline-offset:4px}.fenetres-read-more{font-size:15px;font-weight:700;text-decoration:underline;text-underline-offset:4px}.event-single{max-width:900px}.event-single-image{margin:25px 0}.event-single-image img{display:block;max-height:520px;width:auto;object-fit:contain}.event-single-content{max-width:750px;font-size:18px}.woocommerce-cart .commerce,.woocommerce-checkout .commerce{overflow-wrap:anywhere}@media(max-width:700px){.woocommerce-cart .commerce,.woocommerce-checkout .commerce{padding-top:35px}.woocommerce table.shop_table{font-size:15px}.woocommerce form .form-row{width:100%;float:none}.single-product div.product form.cart .button{min-height:48px}.manifesto-portrait img{width:70px;height:70px}}

/* Inscription à la newsletter, en lien avec le formulaire de l’extension. */
.newsletter-section{background:#263e32;color:#fbf9f3;padding:55px 0}.newsletter-inner{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:9%}.newsletter-copy h2{font-size:clamp(2.4rem,3.5vw,3.8rem);margin:10px 0 16px}.newsletter-copy h2 em{color:#efb697}.newsletter-copy>p:last-child{max-width:490px;margin-bottom:0;color:#e0e8df}.newsletter-signup{background:#f8f5ec;color:#202921;padding:27px}.newsletter-label{font-size:16px;font-weight:700;margin:0 0 12px}.newsletter-signup .tnp{max-width:none;margin:0}.newsletter-signup .tnp form{display:flex;gap:8px;flex-wrap:wrap;margin:0}.newsletter-signup .tnp input.tnp-email{flex:1 1 180px;width:auto;min-width:0;min-height:50px;padding:12px;border:1px solid #7d8c80;background:#fff;color:#202921;font:16px 'DM Sans',sans-serif}.newsletter-signup .tnp input.tnp-submit{width:auto;min-height:50px;padding:12px 20px;border:0;background:#263e32;color:#fff;font:700 15px 'DM Sans',sans-serif;cursor:pointer}.newsletter-signup .tnp input.tnp-submit:hover,.newsletter-signup .tnp input.tnp-submit:focus-visible{background:#bf5d39}.newsletter-note,.newsletter-test-note{font-size:13px;line-height:1.45;color:#526052;margin:12px 0 0}.newsletter-test-note{font-weight:700;color:#86492e}@media(max-width:700px){.newsletter-section{padding:35px 0}.newsletter-inner{grid-template-columns:1fr;gap:22px}.newsletter-signup{padding:20px}.newsletter-copy h2{font-size:2.5rem}.newsletter-signup .tnp input.tnp-submit{flex:1 1 auto}}

.brand-custom-logo { max-width: 220px; max-height: 64px; width: auto; height: auto; object-fit: contain; }

.art-window--custom { background-size: cover !important; background-position: center !important; }
.art-window--custom > * { display: none !important; }

/* Sur mobile, l’arche conserve ses proportions quelle que soit la largeur. */
@media (max-width: 700px) {
  .hero-art { min-height: 440px; padding: 20px 0 150px; }
  .art-window { width: min(68%, 260px); height: auto; aspect-ratio: 0.85; flex: 0 0 auto; }
  .hero-book { right: 15px; bottom: 55px; max-width: calc(100% - 30px); }
  .art-caption { left: 15px; right: 15px; bottom: 12px; max-width: none; font-size: 9px; }
}
/* Garder les proportions de l’arche, y compris entre tablette et ordinateur. */
.art-window { width: min(65%, 330px); height: auto; aspect-ratio: 0.85; flex: 0 0 auto; }
@media (max-width: 1000px) {
  .header-inner { flex-wrap: wrap; }
  .header-inner nav { order: 3; width: 100%; overflow: auto; }
  .header-inner nav ul { gap: 22px; white-space: nowrap; }
  .hero { grid-template-columns: 1fr; padding-top: 20px; }
  .hero h1 { margin-top: 30px; }
  .hero-art { min-height: 440px; padding: 20px 0 150px; }
  .art-window { width: min(68%, 260px); }
  .hero-book { right: 15px; bottom: 55px; max-width: calc(100% - 30px); }
  .art-caption { left: 15px; right: 15px; bottom: 12px; max-width: none; font-size: 9px; }
}
@media (min-width: 1001px) and (max-width: 1300px) {
  .hero-art { padding: 20px 0 150px; }
  .hero-book { right: 15px; bottom: 55px; max-width: calc(100% - 30px); }
  .art-caption { left: 15px; right: 15px; bottom: 12px; max-width: none; font-size: 9px; }
}
/* Sur tablette, conserver une première page équilibrée en deux colonnes. */
@media (min-width: 701px) and (max-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px; padding-top: 36px; }
  .hero-copy { padding: 12px 0; }
  .hero h1 { font-size: clamp(2.7rem, 5.7vw, 3.8rem); margin: 30px 0 22px; }
  .hero-text { font-size: 16px; }
  .hero-actions { flex-wrap: wrap; gap: 16px; margin-top: 25px; }
  .hero-art { min-height: 450px; }
  .art-window { width: min(72%, 260px); }
}
.archive-intro { max-width: 750px; margin-bottom: 40px; }
.archive-intro > p:last-child { color: #536052; font-size: 18px; }
.archive-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 25px; }
.archive-card { border-top: 1px solid #b7c2b3; padding-top: 20px; }
.archive-card > a { display: block; }
.archive-card img { width: 100%; height: 220px; object-fit: contain; background: #e8e7dc; }
.archive-card time { display: block; color: #68776b; font-size: 13px; margin-top: 14px; }
.archive-card h2 { font-size: 1.8rem; margin: 10px 0 16px; }
.archive-article { max-width: 850px; margin: 0 auto; }
.archive-article h1 { font-size: clamp(2.8rem,5vw,4.5rem); }
.archive-article-content { font-size: 18px; line-height: 1.75; overflow-wrap: anywhere; }
.archive-article-content img { height: auto; max-width: 100%; }
.archive-article-content figure { margin: 25px 0; }
.archive-article-content a { text-decoration: underline; }
.archive-article-content h2, .archive-article-content h3 { margin-top: 1.2em; }
.archive-home-link { display: inline-block; margin-top: 22px; }
@media(max-width: 700px) { .archive-grid { grid-template-columns: 1fr; } .archive-article-content { font-size: 16px; } }
.article-filters { display:flex; flex-wrap:wrap; gap:10px; margin:0 0 22px; }
.article-filters a { padding:9px 14px; border:1px solid #b7c2b3; font-size:14px; font-weight:600; }
.article-filters a[aria-current="page"], .article-filters a:hover { background:#263e32; color:#fff; text-decoration:none; }
.article-search { margin:0 0 32px; max-width:500px; }
.article-search label { display:block; font-weight:600; margin-bottom:6px; }
.article-search div { display:flex; gap:8px; }
.article-search input { min-width:0; flex:1; padding:12px; border:1px solid #8b9b8d; font:inherit; }
.article-search button { border:0; background:#263e32; color:#fff; padding:12px 16px; font:inherit; font-weight:600; cursor:pointer; }
