/*
Theme Name: Fibres & Actions
Description: Thème sur mesure de l'association Fibres & Actions (reprise du site d'origine).
Version: 1.0.0
Requires at least: 6.4
Text Domain: fibres-actions
*/

@font-face{font-family:"Inter";src:url("assets/InterVariable.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}

:root{--ink:#1B022F;--muted:#5D5666;--bg:#FBFCF7;--grey:#F2F2F2;--white:#fff;--line:rgba(0,31,31,.08);--lilac:#F0E5FF;--violet:#8B3DFF;--blue:#E9F2FC;--yellow:#FBF5D0;--wrap:1120px}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-size:16px;line-height:1.5}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4,p,ul,figure{margin:0}
ul{padding:0;list-style:none}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
.center{text-align:center}
.screen-reader-text{position:absolute;left:-9999px}

/* Boutons */
.btn{display:inline-block;background:var(--ink);color:#fff;font-size:16px;font-weight:600;line-height:1.2;padding:14px 22px;border-radius:16px;border:0;cursor:pointer;font-family:inherit;text-align:center}
.btn:hover{opacity:.9}

/* En-tête */
.site-header{height:92px;display:flex;align-items:center}
.site-header .wrap{width:100%;display:flex;align-items:center;justify-content:space-between;gap:24px}
.site-logo img{width:50px;height:50px;object-fit:contain}
.site-nav ul{display:flex;gap:44px;align-items:center}
.site-nav a{font-size:14px;font-weight:500;color:var(--muted)}
.site-nav .current-menu-item a,.site-nav a:hover{color:var(--ink)}
.nav-toggle,.nav-toggle-label{display:none}

/* Titres */
.h-hero{font-size:64px;font-weight:700;line-height:1.1;letter-spacing:-.01em}
.h-page{font-size:64px;font-weight:500;line-height:1.1;text-align:center}
.h-section{font-size:44px;font-weight:500;line-height:1.2}
.h-plain{font-size:30px;font-weight:700;line-height:1.25;margin-bottom:22px}
.pill{display:inline-block;background:var(--lilac);color:var(--violet);font-size:16px;font-weight:500;padding:8px 40px;border-radius:30px;margin-bottom:22px}
.page-head{padding:50px 0 40px;text-align:center}
.page-head .lead{font-size:20px;max-width:720px;margin:26px auto 0}

/* Accueil : héro */
.hero{background:url("assets/hero-bg.svg") right top/auto 100% no-repeat}
.hero .wrap{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;padding-top:60px;padding-bottom:90px}
.hero p{font-size:20px;margin:28px 0 36px}
.mosaic{display:flex;gap:18px;align-items:center;justify-content:center}
.mosaic .col{display:flex;flex-direction:column;gap:18px}
.mosaic img{width:170px;border-radius:24px;object-fit:cover}

/* Bandes */
.band-grey{background:var(--grey);padding:40px 0 70px}
.band-white{background:#fff;padding:40px 0}
.band{padding:60px 0}
.band-grey .h-section,.band .h-section{margin-bottom:28px}

/* Cartes */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;align-items:start}
.card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px}
.card-service img{width:100%;aspect-ratio:4/3;object-fit:cover}
.card-service h3{font-size:22px;font-weight:700;text-align:center;line-height:1.3;margin:18px 0 14px}
.card-service p{margin-bottom:22px}

/* Adhésion */
.join{display:grid;grid-template-columns:1fr 1fr;background:var(--bg);align-items:center}
.join img{width:100%;height:100%;max-height:480px;object-fit:cover}
.join .txt{padding:40px 50px}
.join h2{font-size:42px;font-weight:700;line-height:1.15;margin-bottom:18px}
.join p{margin-bottom:28px}

/* Témoignages */
.testi{border:3px solid #333;background:var(--bg);padding:20px 28px 28px}
.testi .h-section{text-align:center;margin-bottom:18px}
.testi .card{padding:18px 22px}
.testi .stars{width:112px;margin-bottom:8px}
.testi h3,.testi .who{font-size:18px;font-weight:700}
.testi p{margin:8px 0 18px}

/* Créations */
.creations{display:grid;grid-template-columns:repeat(4,1fr);gap:40px 18px;align-items:start}
.creation img{width:100%}
.creation h3{font-size:22px;font-weight:700;color:#000;text-align:center;line-height:1.25;margin:6px 0 10px}
.creation p{color:#A3A3A3;text-align:center;line-height:1.65}
.creations-box{background:var(--bg);padding:40px 10px}
.intro-creations{max-width:640px;color:rgba(18,18,18,.75);padding:26px 0 30px}
.intro-creations .h-plain{color:var(--ink)}

/* Carte dégradée (don, rejoindre) */
.cta-card{background:#fff url("assets/cta-bg.png") center/cover no-repeat;border:1px solid var(--line);border-radius:32px;padding:70px 60px;text-align:center}
.cta-card .h-section{margin-bottom:18px}
.cta-card p{max-width:860px;margin:0 auto 26px}

/* Ateliers : formules */
.plan{padding:16px}
.plan-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:6px 6px 0}
.plan-head h2{font-size:18px;font-weight:700}
.plan-head .price{font-size:24px;font-weight:700;white-space:nowrap}
.plan-stripe{min-height:120px;margin:6px 0 10px}
.plan-body{border-radius:12px;padding:18px 16px}
.plan-body.yellow{background:var(--yellow)}
.plan-body.lilac{background:var(--lilac)}
.plan-body.blue{background:var(--blue)}
.plan-body p{margin-bottom:14px}
.plan-body .u{text-decoration:underline;margin-bottom:2px}
.plan-body ul{list-style:disc;padding-left:22px;margin-bottom:16px}
.plan-body li{margin-bottom:12px}
.plan-body>*:last-child{margin-bottom:0}
.text-block{padding:50px 0 20px}
.text-block h4{font-size:24px;font-weight:600}
.text-block p{margin-bottom:24px}

/* Mission */
.mission{background:var(--blue);border:1px solid var(--line);border-radius:32px;padding:40px 36px;display:grid;grid-template-columns:250px 1fr;gap:28px;align-items:start;margin-bottom:20px}
.mission p{font-size:24px;line-height:1.5;margin-bottom:32px}
.mission .sig{font-size:16px;font-weight:500;margin:0}
.mission .role{font-size:14px;color:rgba(27,2,47,.6);margin:0}
.card-icon img{width:24px;height:24px;object-fit:contain;margin-bottom:14px}
.card-icon h3{font-size:18px;font-weight:600;margin-bottom:10px}
.card-icon p{margin-bottom:24px}
.card-icon p:last-child{margin-bottom:0}

/* FAQ */
.faq{max-width:540px;margin:0 auto}
.faq details{background:#fff;border-radius:22px;box-shadow:0 1px 5px rgba(0,0,0,.2);margin-bottom:12px;padding:0 22px}
.faq summary{list-style:none;cursor:pointer;font-size:18px;font-weight:500;padding:20px 0;display:flex;justify-content:space-between;gap:16px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:24px;line-height:1;font-weight:400}
.faq details[open] summary::after{content:"\2212"}
.faq .answer{padding:0 0 20px}
.faq .answer p{margin-bottom:16px}
.faq .answer ul{list-style:disc;padding-left:22px;margin-bottom:16px}
.faq .answer li{margin-bottom:8px}
.faq .answer>*:last-child{margin-bottom:0}

/* Texte simple */
.prose{padding:26px 0 30px}
.prose p{margin-bottom:24px}
.prose ul{list-style:disc;padding-left:44px;margin-bottom:24px}
.prose .portrait{width:400px;margin:0 auto 24px}
.prose h1.h-plain{font-weight:600}

/* Contact */
.contact-form{max-width:740px;margin:0 auto;padding-bottom:70px}
.contact-form input,.contact-form textarea{width:100%;background:#fff;border:1px solid var(--line);border-radius:16px;height:58px;padding:18px 16px;font:inherit;color:inherit;margin-bottom:12px;display:block}
.contact-form textarea{height:120px;resize:vertical}
.contact-form .hp{position:absolute;left:-9999px}
.form-note{max-width:740px;margin:0 auto 20px;padding:14px 18px;border-radius:16px;background:var(--lilac)}
.socials{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:30px 0 26px}
.social{display:block;border-radius:22px;color:#fff;text-align:center;padding:24px 26px 30px}
.social img{width:46px;height:46px;margin:0 auto 14px}
.social h3{font-size:18px;font-weight:500;margin-bottom:10px}
.social.fb{background:#345CA0}
.social.ig{background:#8a3ab9 url("assets/instagram-bg.png") center/cover no-repeat}
.social.in{background:#0B5376}

/* Mentions légales */
.legal{max-width:580px;margin:0 auto;padding-bottom:60px}
.legal section{padding:34px 0;border-bottom:1px solid var(--line)}
.legal section:last-child{border-bottom:0}
.legal h2{font-size:32px;font-weight:500;margin-bottom:22px}
.legal h2.strong{font-weight:700}
.legal p{margin-bottom:22px}
.legal a{color:var(--violet)}

/* Pied de page */
.site-footer{padding:70px 0 30px}
.site-footer .cols{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;text-align:center}
.site-footer .logo img{width:64px;height:64px;object-fit:contain;margin:0 auto}
.site-footer h2{font-size:18px;font-weight:700;margin-bottom:26px}
.site-footer li a{font-size:14px;font-weight:500;color:var(--muted)}
.site-footer li a:hover{color:var(--ink)}
.site-footer .icons{display:flex;gap:18px;justify-content:center;margin-top:22px}
.site-footer .icons img{width:24px;height:24px}
.site-footer .copy{text-align:center;font-size:14px;font-weight:500;color:var(--muted);margin-top:44px}

/* Pages génériques */
.generic{padding:40px 0 60px}
.generic h1{font-size:44px;font-weight:500;margin-bottom:24px}
.generic p{margin-bottom:20px}

@media (max-width:900px){
.h-hero,.h-page{font-size:40px}
.h-section,.join h2{font-size:30px}
.hero .wrap,.join,.mission{grid-template-columns:1fr}
.hero .wrap{gap:36px;padding-top:30px;padding-bottom:50px}
.cards,.socials{grid-template-columns:1fr}
.creations{grid-template-columns:repeat(2,1fr)}
.site-footer .cols{grid-template-columns:repeat(2,1fr)}
.mosaic img{width:110px}
.join .txt{padding:30px 24px}
.cta-card{padding:44px 22px}
.mission{padding:28px 22px}
.mission p{font-size:18px}
.mission img{max-width:220px}
.prose .portrait{width:100%;max-width:400px}
.site-header{position:relative}
.site-header .btn{padding:10px 14px;font-size:14px}
.nav-toggle-label{display:block;font-size:26px;cursor:pointer;order:3;line-height:1}
.site-nav{display:none;position:absolute;left:0;right:0;top:92px;background:var(--bg);border-bottom:1px solid var(--line);z-index:20;padding:10px 24px 20px}
.site-nav ul{flex-direction:column;gap:16px;align-items:flex-start}
.nav-toggle:checked~.site-nav{display:block}
}

/* Créations : grille uniforme */
.creations.uniform{gap:36px 20px}
.creations.uniform img{aspect-ratio:1/1;object-fit:cover;border-radius:16px}
.creations.uniform h3{font-size:18px;line-height:1.3;height:2.6em;display:flex;align-items:center;justify-content:center;margin:12px 0 6px;overflow:hidden}
.creations.uniform p{margin:0;line-height:1.45;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.creations.uniform .desc{color:var(--muted);font-size:15px;height:2.9em}
.creations.uniform .mat{color:#A3A3A3;font-size:14px;height:2.9em;margin-top:6px}

/* Blog */
.posts{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding-bottom:70px}
.post-card{background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden;display:flex;flex-direction:column}
.post-card img{width:100%;aspect-ratio:4/3;object-fit:cover}
.post-card .body{padding:20px 22px 24px;display:flex;flex-direction:column;gap:10px;flex:1}
.post-card .date{font-size:14px;color:var(--muted)}
.post-card h2{font-size:22px;font-weight:700;line-height:1.25}
.post-card p{color:var(--muted);flex:1}
.post-card .more{font-weight:600;text-decoration:underline}
.post{max-width:820px;margin:0 auto;padding-bottom:70px}
.post-content p{font-size:18px;line-height:1.65;margin-bottom:22px}
.post-content .lead{font-size:20px}
.post-content .gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:10px 0 30px}
.post-content .gallery img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:16px}
.post-content .gallery.one{grid-template-columns:1fr}
.post-content .gallery.one img{aspect-ratio:auto;max-height:620px}
.post-back{display:inline-block;margin-top:20px;font-weight:600;text-decoration:underline}
@media (max-width:900px){
.posts{grid-template-columns:1fr}
.post-content .gallery{grid-template-columns:repeat(2,1fr)}
.post-content .gallery.one{grid-template-columns:1fr}
.creations.uniform{gap:28px 14px}
.creations.uniform h3{font-size:16px}
}

.post-content h2{font-size:26px;font-weight:600;line-height:1.3;margin:34px 0 14px}
.post-content ul{list-style:disc;padding-left:24px;margin-bottom:22px;font-size:18px;line-height:1.65}
.nav-links{display:flex;gap:14px;justify-content:center;padding-bottom:60px}
.site-nav ul{gap:36px}

/* Ateliers : cartes de prix (version 2) */
.plans{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;align-items:start}
.plan2{background:#fff;border:1px solid var(--line);border-radius:26px;padding:26px 24px 20px;display:flex;flex-direction:column;box-shadow:0 10px 30px rgba(27,2,47,.06)}
.plan2 .tag{align-self:flex-start;font-size:13px;font-weight:600;padding:6px 14px;border-radius:30px;margin-bottom:16px}
.plan2.yellow .tag{background:var(--yellow)}
.plan2.lilac .tag{background:var(--lilac)}
.plan2.blue .tag{background:var(--blue)}
.plan2 h2{font-size:22px;font-weight:700;line-height:1.25;min-height:2.5em}
.plan2 .amount{font-size:44px;font-weight:700;line-height:1;margin:10px 0 0}
.plan2 .amount small{font-size:16px;font-weight:500;color:var(--muted)}
.plan2 .points{margin:20px 0 14px;display:grid;gap:10px}
.plan2 .points li{position:relative;padding-left:30px}
.plan2 .points li::before{content:"\2713";position:absolute;left:0;top:2px;width:20px;height:20px;border-radius:50%;background:var(--lilac);color:var(--violet);font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center}
.plan2 .plan-stripe{min-height:340px;margin:0 -10px}
.plan2 details{border-top:1px solid var(--line);margin-top:6px}
.plan2 summary{list-style:none;cursor:pointer;font-weight:600;padding:16px 0 4px;display:flex;justify-content:space-between;align-items:center}
.plan2 summary::-webkit-details-marker{display:none}
.plan2 summary::after{content:"+";font-size:22px;font-weight:400;line-height:1}
.plan2 details[open] summary::after{content:"\2212"}
.plan2 summary .less,.plan2 details[open] summary .more{display:none}
.plan2 details[open] summary .less{display:inline}
.plan2 .plan-body{margin-top:12px}
@media (max-width:900px){.plans{grid-template-columns:1fr}.plan2 h2{min-height:0}.plan2 .plan-stripe{min-height:0}}

/* Faux sélecteur « Ponctuel » aligné sur celui de Stripe */
.plan2 .fake-select{height:83px;padding-top:5px;display:flex;justify-content:center;align-items:flex-start}
.plan2 .fake-select span{display:flex;align-items:center;justify-content:space-between;width:176px;height:42px;padding:0 16px;border:1px solid #e0e0e0;border-radius:6px;background:#fff;font-size:14px;font-weight:500;color:#1a1a1a;cursor:default}
.plan2 .fake-select span::after{content:"";width:12px;height:12px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%231a1a1a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
.plan2 .plan-stripe.short{min-height:257px}
@media (max-width:900px){.plan2 .plan-stripe.short{min-height:0}}
