/*
Theme Name: Cirta Club Semences
Author: MSIS Solutions / Soft MSIS
Version: 1.8.12
Text Domain: cirta-club
*/
:root{--green:#2f7d32;--green-dark:#0d3b1d;--ink:#142017;--muted:#68736c;--soft:#f3f7f2;--line:#e4e9e4;--white:#fff;--container:1280px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.55;-webkit-font-smoothing:antialiased}img{max-width:100%;height:auto;display:block}a{text-decoration:none;color:inherit}.container{width:min(var(--container),calc(100% - 96px));margin:auto}.section{padding:70px 0}.section--soft{background:var(--soft)}.eyebrow{margin:0 0 8px;color:var(--green);font-size:.68rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.section-title{margin:0;font-size:clamp(2rem,3vw,3rem);line-height:1.08;letter-spacing:-.045em}.section-title--small{font-size:2rem}.section-title--xs{font-size:1.65rem}.section-intro{color:var(--muted)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:42px;padding:0 18px;border-radius:9px;font-weight:750;font-size:.82rem;border:1px solid transparent;transition:.2s}.btn:hover{transform:translateY(-1px)}.btn--primary{background:#2f7d32;color:#fff}.btn--dark{background:var(--green-dark);color:#fff}.btn--outline{border-color:rgba(255,255,255,.85);color:#fff;background:transparent}.site-header{position:fixed;z-index:1000;inset:0 0 auto;background:rgba(255,255,255,.96);backdrop-filter:blur(16px);border-bottom:1px solid rgba(225,231,226,.8)}.header-inner{height:54px;display:flex;align-items:center;gap:28px}.site-brand{display:flex;align-items:center;flex:0 0 auto}.site-brand .custom-logo-link{display:flex;align-items:center}.site-brand img{height:47px;width:auto;max-width:190px;object-fit:contain}.brand-fallback{font-weight:850;line-height:.88;font-size:1rem}.brand-fallback strong{display:block;color:var(--green)}.brand-fallback small{font-size:.45rem;letter-spacing:.18em;color:var(--muted)}.main-nav{margin-left:auto}.main-nav ul{display:flex;align-items:center;gap:22px;list-style:none;margin:0;padding:0}.main-nav a{font-size:.74rem;font-weight:650;color:#142017}.main-nav a:hover{color:var(--green)}.header-tools{display:flex;align-items:center;gap:14px}.search-toggle{border:0;background:transparent;font-size:1.35rem;line-height:1;cursor:pointer;color:#142017}.lang-switch{font-size:.73rem;font-weight:700;color:#68736c}.lang-switch span{color:#e4e9e4;margin:0 4px}.header-cta{min-height:38px;border-radius:9px;font-size:.72rem;padding:0 15px}.menu-toggle{display:none;border:0;background:none;font-size:1.4rem}.hero-slider{height:min(640px,calc(100vh - 54px));min-height:500px;margin-top:54px;position:relative;overflow:hidden;background:#0d3b1d;color:#fff}.hero-slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:opacity .7s ease}.hero-slide.is-active{opacity:1}.hero-slider__overlay{position:relative;z-index:2;height:100%;display:flex;align-items:center}.hero__content{max-width:640px;padding:40px 0 35px}.hero-eyebrow{color:#f3f7f2}.hero__title{margin:0;font-size:clamp(3.2rem,5.7vw,5.6rem);line-height:.92;letter-spacing:-.065em;font-weight:850}.hero__text{max-width:550px;margin:22px 0 25px;color:rgba(255,255,255,.93);font-size:.98rem;line-height:1.45}.hero__actions{display:flex;gap:12px;flex-wrap:wrap}.hero__meta{margin-top:24px;color:rgba(255,255,255,.72);font-size:.65rem;letter-spacing:.08em}.hero-arrow{position:absolute;z-index:3;top:50%;transform:translateY(-50%);width:34px;height:34px;border:1px solid rgba(255,255,255,.8);border-radius:50%;background:rgba(0,0,0,.12);color:#fff;font-size:1.7rem;cursor:pointer}.hero-arrow--prev{left:16px}.hero-arrow--next{right:16px}.hero-dots{position:absolute;z-index:3;bottom:13px;left:50%;transform:translateX(-50%);display:flex;gap:6px}.hero-dot{width:8px;height:8px;padding:0;border:1px solid #fff;border-radius:50%;background:transparent;cursor:pointer}.hero-dot.is-active{background:#fff}.about-section{padding-top:55px}.about-layout{display:grid;grid-template-columns:1.05fr 1.2fr .8fr;gap:26px;align-items:center}.about-gallery{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-self:stretch;min-height:260px}.about-photo{overflow:hidden;border-radius:10px;background:#f3f7f2;min-height:260px;aspect-ratio:1/1}.about-photo img{width:100%;height:100%;object-fit:cover}.about-photo--secondary{margin-top:0}.about-copy{padding:0 5px}.about-copy p:not(.eyebrow){color:var(--muted);font-size:.83rem;line-height:1.7}.about-copy .btn{margin-top:8px}.about-values{display:grid;gap:22px}.about-values>div{display:grid;grid-template-columns:38px 1fr;gap:10px;align-items:start}.value-icon{width:32px;height:32px;border:2px solid var(--green);border-radius:50%;display:grid;place-items:center;color:var(--green);font-weight:800}.value-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.about-values strong{font-size:.75rem}.about-values p{margin:2px 0 0;color:var(--muted);font-size:.68rem;line-height:1.4}.domains-section{padding-top:34px;padding-bottom:38px}.domains-section .section-title{margin-bottom:16px}.domain-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:9px}.domain-card{background:#fff;border:1px solid var(--line);border-radius:8px;padding:20px 12px 15px;min-height:130px;text-align:center}.domain-icon{width:38px;height:38px;margin:0 auto 10px;color:var(--green)}.domain-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.domain-card h3{font-size:.75rem;margin:0 0 5px}.domain-card p{font-size:.64rem;color:var(--muted);line-height:1.35;margin:0}.section-heading-row{display:flex;align-items:end;justify-content:space-between;gap:20px}.section-heading-row.compact{align-items:center}.section-link{color:var(--green);font-size:.7rem;font-weight:800;white-space:nowrap}.filiere-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin-top:18px}.filiere-card{position:relative;height:135px;overflow:hidden;border-radius:7px;background:#0d3b1d}.filiere-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.filiere-card:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.78))}.filiere-card__body{position:absolute;z-index:2;left:10px;right:8px;bottom:9px;color:#fff}.filiere-card__body h3{margin:0 0 2px;font-size:.72rem;line-height:1.2}.filiere-card__body span{font-size:.61rem}.stats-band{position:relative;overflow:hidden;color:#fff;background:#0d3b1d}.stats-band__bg{position:absolute;inset:0;background-color:#0d3b1d;background-image:linear-gradient(90deg,rgba(8,45,19,.46),rgba(8,45,19,.26)),var(--stats-bg,none);background-size:cover;background-position:center;background-repeat:no-repeat}.stats-band--has-image .stats-band__bg{background-blend-mode:normal}.stats-grid{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,1fr)}.stat{min-height:85px;display:flex;align-items:center;gap:14px;padding:14px 28px;border-right:1px solid rgba(255,255,255,.18)}.stat:last-child{border-right:0}.stat-icon{font-size:2rem;line-height:1}.stat strong{display:block;font-size:1.45rem;line-height:1}.stat span:not(.stat-icon){font-size:.65rem;opacity:.88}.home-content-section{padding-top:30px;padding-bottom:45px}.home-columns{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:22px}.home-column{min-width:0}.mini-projects{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:15px}.mini-project{border:1px solid var(--line);border-radius:7px;overflow:hidden;background:#fff}.mini-project img{width:100%;height:105px;object-fit:cover}.mini-project>div{padding:10px}.mini-project h3{font-size:.7rem;line-height:1.25;margin:0 0 6px}.mini-project p{font-size:.59rem;color:#68736c;margin:0}.news-list{border-top:1px solid var(--line);margin-top:15px}.news-item{display:grid;grid-template-columns:82px 1fr;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.news-thumb,.news-thumb span{width:82px;height:58px;border-radius:5px;background:#f3f7f2;overflow:hidden;display:block}.news-thumb img{width:100%;height:100%;object-fit:cover}.news-item h3{font-size:.7rem;line-height:1.25;margin:0 0 4px}.news-item p{font-size:.59rem;color:var(--muted);margin:0}.events-list{display:grid;gap:8px;margin-top:15px}.event-card{display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:9px;border:1px solid var(--line);border-radius:7px;padding:8px}.event-date{width:42px;text-align:center;border-radius:5px;background:#f3f7f2;padding:5px}.event-date strong{display:block;color:#2f7d32;font-size:1rem;line-height:1}.event-date span{font-size:.52rem;font-weight:800}.event-info h3{font-size:.68rem;line-height:1.2;margin:0 0 3px}.event-info p{font-size:.56rem;color:var(--muted);margin:0}.event-button{background:#2f7d32;color:#fff;border-radius:6px;padding:7px 9px;font-size:.56rem;font-weight:700}.partners-section{padding-top:25px;padding-bottom:35px}.partners{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:22px;overflow:hidden}.partner{display:flex;align-items:center;justify-content:center;min-width:75px;max-width:120px;min-height:44px;color:#68736c;font-weight:800;filter:grayscale(1);opacity:.85}.partner img{max-height:46px;width:auto;object-fit:contain}.partner-text{font-size:.65rem}.cta{background:linear-gradient(100deg,#0d3b1d,#2f7d32);color:#fff;padding:52px 0}.cta__inner{display:flex;justify-content:space-between;align-items:center;gap:35px}.cta h2{font-size:2.1rem;line-height:1.05;margin:0;max-width:700px}.cta p:not(.eyebrow){color:rgba(255,255,255,.76);font-size:.78rem}.cta-actions{display:flex;gap:8px;flex-wrap:wrap}.site-footer{background:#142017;color:#f3f7f2;padding:38px 0 18px}.footer-main{display:grid;grid-template-columns:1.3fr .8fr .8fr .8fr 1.1fr;gap:32px}.footer-logo .custom-logo-link{display:inline-flex;align-items:center;background:transparent;padding:0;border-radius:0;line-height:0}.footer-logo img,.footer-logo .custom-logo{height:58px;width:auto;max-width:210px;object-fit:contain;filter:none!important;background:transparent}.footer-logo span{font-size:1rem;font-weight:850;line-height:.9}.footer-logo strong{color:#2f7d32}.footer-logo small{display:block;font-size:.43rem;letter-spacing:.16em;color:#68736c;margin-top:4px}.footer-brand p{color:#68736c;font-size:.68rem;max-width:230px}.socials{display:flex;gap:7px}.socials span{width:24px;height:24px;border:1px solid #68736c;border-radius:50%;display:grid;place-items:center;font-size:.62rem}.site-footer h3{font-size:.68rem;margin:0 0 12px}.site-footer ul{list-style:none;margin:0;padding:0}.footer-nav{list-style:none;margin:0;padding:0}.site-footer li,.site-footer li a{color:#68736c;font-size:.65rem;line-height:1.8}.footer-map{display:block;height:92px;border-radius:6px;overflow:hidden;position:relative;background:#f3f7f2;margin-top:5px}.map-grid{position:absolute;inset:0;background:linear-gradient(25deg,transparent 45%,rgba(255,255,255,.85) 46%,rgba(255,255,255,.85) 50%,transparent 51%),linear-gradient(115deg,transparent 47%,rgba(255,255,255,.8) 48%,rgba(255,255,255,.8) 52%,transparent 53%);opacity:.9}.footer-map b{position:absolute;left:52%;top:47%;font-size:1.2rem}.footer-bottom{margin-top:24px;padding-top:12px;border-top:1px solid #e4e9e4;color:#68736c;font-size:.57rem;display:flex;justify-content:space-between;gap:15px}@media(max-width:1100px){.container{width:min(var(--container),calc(100% - 44px))}.main-nav ul{gap:14px}.domain-grid,.filiere-grid{grid-template-columns:repeat(3,1fr)}.about-layout{grid-template-columns:1fr 1fr}.about-values{grid-column:1/-1;grid-template-columns:repeat(3,1fr)}}@media(max-width:900px){.main-nav{display:none;position:absolute;top:54px;left:0;right:0;background:#fff;padding:10px 20px;border-bottom:1px solid var(--line)}.main-nav.is-open{display:block}.main-nav ul{display:block}.main-nav li{border-bottom:1px solid var(--line)}.main-nav a{display:block;padding:10px}.menu-toggle{display:block;margin-left:auto}.header-tools{display:none}.hero-slider{min-height:590px}.about-layout,.home-columns{grid-template-columns:1fr}.about-values{grid-column:auto;grid-template-columns:1fr 1fr}.stats-grid{grid-template-columns:1fr 1fr}.stat:nth-child(2){border-right:0}.stat{border-bottom:1px solid rgba(255,255,255,.18)}.footer-main{grid-template-columns:1fr 1fr}.cta__inner{display:block}.cta-actions{margin-top:20px}}@media(max-width:600px){.container{width:calc(100% - 28px)}.section{padding:50px 0}.hero__title{font-size:3.05rem}.domain-grid,.filiere-grid{grid-template-columns:1fr 1fr}.about-gallery{min-height:230px}.about-values{grid-template-columns:1fr}.mini-projects{grid-template-columns:1fr}.mini-project img{height:170px}.partners{justify-content:flex-start;flex-wrap:wrap}.footer-main{grid-template-columns:1fr}.footer-bottom{display:block}.footer-bottom span{display:block;margin-bottom:5px}.stats-grid{grid-template-columns:1fr 1fr}.stat{padding:14px}.event-card{grid-template-columns:44px 1fr}.event-button{display:none}}

/* Footer brand logo: preserve the official colors */
.footer-logo > img{display:block;height:58px;width:auto;max-width:210px;object-fit:contain;filter:none!important;mix-blend-mode:normal!important;}

/* Footer logo: WordPress-customizable, transparent and never inverted */
.site-footer .footer-logo{background:transparent!important;box-shadow:none!important;border:0!important;padding:0!important;display:inline-flex;align-items:center;min-height:58px;}
.site-footer .footer-logo-image{display:block!important;height:58px!important;width:auto!important;max-width:220px!important;object-fit:contain!important;background:transparent!important;border:0!important;box-shadow:none!important;filter:none!important;opacity:1!important;mix-blend-mode:normal!important;}
/* Footer logo v1.8.9: stable sizing for any selected WordPress image */
.site-footer .footer-logo{width:230px;min-height:64px;display:flex!important;align-items:center;justify-content:flex-start;background:transparent!important;padding:0!important;margin:0!important;border:0!important;overflow:visible!important;}
.site-footer .footer-logo-image{display:block!important;width:auto!important;height:auto!important;max-width:230px!important;max-height:64px!important;object-fit:contain!important;background:transparent!important;border:0!important;box-shadow:none!important;filter:none!important;opacity:1!important;mix-blend-mode:normal!important;}

/* v1.8.10: footer logo must use the selected WordPress image, never a white mask */
.site-footer .footer-brand .footer-logo img.footer-logo-image { filter: none !important; -webkit-filter: none !important; opacity: 1 !important; visibility: visible !important; mix-blend-mode: normal !important; background: transparent !important; }
.site-footer .footer-brand .footer-logo { background: transparent !important; }

/* Partenaires administrables : logos nets et homogènes */
.partners .partner{min-height:58px;padding:4px 10px;filter:none;opacity:1;transition:opacity .2s ease,transform .2s ease}
.partners .partner:hover{opacity:.78;transform:translateY(-1px)}
.partners .partner img{display:block;width:auto;height:auto;max-width:130px;max-height:52px;object-fit:contain;filter:none!important}
.partners .partner-text{font-size:.65rem;color:#68736c;font-weight:750;text-align:center}

/* v1.8.12 - finition de la homepage : galerie Club et partenaires */
.about-layout{grid-template-columns:minmax(280px,360px) minmax(360px,1fr) minmax(250px,320px);gap:34px;align-items:center;}
.about-gallery{width:100%;min-width:0;grid-template-columns:1fr 1fr;gap:8px;min-height:280px;}
.about-photo{width:100%;height:280px;min-height:280px;aspect-ratio:auto;}
.about-photo img{display:block;width:100%;height:100%;object-fit:cover;}
.about-copy{min-width:0;position:relative;z-index:2;}
.about-values{min-width:0;position:relative;z-index:2;}
.partners-section{padding-top:38px;padding-bottom:44px;}
.partners-section .section-heading-row{align-items:end;}
.partners{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));align-items:center;gap:14px;margin-top:28px;overflow:visible;}
.partners .partner{width:100%;min-width:0;max-width:none;min-height:76px;padding:8px 10px;display:flex;align-items:center;justify-content:center;filter:none;opacity:1;background:#fff;border:1px solid #e4e9e4;border-radius:8px;transition:transform .2s ease,box-shadow .2s ease;}
.partners .partner:hover{opacity:1;transform:translateY(-2px);box-shadow:0 8px 20px rgba(20,32,23,.07);}
.partners .partner img{display:block;width:auto;height:58px;max-width:140px;max-height:58px;object-fit:contain;filter:none!important;}
.partners .partner-text{font-size:.68rem;line-height:1.25;color:#68736c;font-weight:750;text-align:center;background:transparent;border:0;box-shadow:none;}
@media(max-width:1100px){.about-layout{grid-template-columns:1fr 1fr;}.about-values{grid-column:1/-1;grid-template-columns:repeat(3,1fr);}.partners{grid-template-columns:repeat(5,1fr);}}
@media(max-width:700px){.about-layout{grid-template-columns:1fr;}.about-gallery{min-height:230px;}.about-photo{height:230px;min-height:230px;}.about-values{grid-column:auto;grid-template-columns:1fr;}.partners{grid-template-columns:repeat(3,1fr);gap:10px;}.partners .partner{min-height:70px;}.partners .partner img{height:48px;max-width:110px;max-height:48px;}}

/* Filières - pages internes */
.filiere-archive__intro{max-width:720px;margin:16px 0 34px;font-size:.95rem;line-height:1.7}.filiere-archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.filiere-large-card{overflow:hidden;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 8px 28px rgba(20,32,23,.05)}.filiere-large-card__image{display:block;height:230px;background:#f3f7f2;overflow:hidden}.filiere-large-card__image img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.filiere-large-card:hover .filiere-large-card__image img{transform:scale(1.025)}.filiere-placeholder{width:100%;height:100%;background:linear-gradient(135deg,#f3f7f2,#f3f7f2)}.filiere-large-card__body{padding:22px}.filiere-large-card__body .eyebrow{color:var(--filiere-accent,var(--green))}.filiere-large-card__body h2{margin:0 0 8px;font-size:1.35rem;line-height:1.15;letter-spacing:-.03em}.filiere-large-card__body h2 a:hover{color:var(--green)}.filiere-large-card__subtitle{margin:0 0 8px;font-weight:700;color:var(--filiere-accent,var(--green));font-size:.8rem}.filiere-large-card__excerpt{margin:0 0 18px;color:var(--muted);font-size:.78rem;line-height:1.6}.filiere-single{padding-top:54px}.filiere-single__hero{height:min(520px,62vh);min-height:380px;position:relative;overflow:hidden;background:#0d3b1d}.filiere-single__hero>img{width:100%;height:100%;object-fit:cover}.filiere-single__hero-overlay{position:absolute;inset:0;display:flex;align-items:end;padding:70px 0 60px;background:linear-gradient(90deg,rgba(8,31,16,.78),rgba(8,31,16,.18) 75%);color:#fff}.filiere-single__hero-overlay h1{max-width:800px;margin:0;font-size:clamp(2.6rem,5vw,5rem);line-height:.98;letter-spacing:-.06em}.filiere-single__hero-overlay p:not(.eyebrow){max-width:700px;margin:18px 0 0;color:rgba(255,255,255,.88);font-size:1rem}.filiere-single__layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:55px;align-items:start}.filiere-single__content{max-width:820px}.filiere-single__subtitle{font-size:1.05rem;color:var(--green);font-weight:700}.entry-content{margin-top:26px;color:#142017;font-size:.98rem;line-height:1.85}.entry-content h2{margin-top:35px;font-size:1.6rem;color:var(--ink);line-height:1.15}.entry-content h3{margin-top:28px;font-size:1.2rem;color:var(--ink)}.entry-content ul,.entry-content ol{padding-left:22px}.entry-content img{border-radius:10px}.filiere-single__aside{position:sticky;top:90px;padding:24px;border:1px solid var(--line);border-radius:12px;background:var(--soft)}.filiere-single__aside strong{font-size:1rem}.filiere-single__aside p{font-size:.76rem;color:var(--muted);line-height:1.55;margin:8px 0 18px}
@media(max-width:900px){.filiere-archive-grid{grid-template-columns:1fr 1fr}.filiere-single__layout{grid-template-columns:1fr}.filiere-single__aside{position:static}}
@media(max-width:600px){.filiere-archive-grid{grid-template-columns:1fr}.filiere-large-card__image{height:210px}.filiere-single__hero{height:430px}.filiere-single__hero-overlay{padding:45px 0}.filiere-single__hero-overlay h1{font-size:2.8rem}}

/* Refonte Cirta Club - finition institutionnelle, accessibilité et cohérence */
:root{--green:#2f7d32;--green-dark:#0d3b1d;--ink:#142017;--muted:#68736c;--soft:#f3f7f2;--line:#e4e9e4;--container:1240px}
body{font-size:16px;line-height:1.65}
.container{width:min(var(--container),calc(100% - 64px))}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #2f7d32;outline-offset:3px}
.btn{min-height:46px;border-radius:6px;font-size:.88rem;transition:background-color .18s ease,color .18s ease,border-color .18s ease}
.btn:hover{transform:none}
.btn--primary{background:var(--green);color:#fff}
.btn--primary:hover{background:var(--green-dark)}
.btn--dark{background:var(--green-dark)}
.section{padding-top:76px;padding-bottom:76px}
.section-title{letter-spacing:-.035em}
.section-intro{max-width:68ch;line-height:1.75}
.site-header{background:rgba(255,255,255,.98);backdrop-filter:blur(10px)}
.header-inner{height:70px;gap:24px}
.site-brand img{height:54px;max-width:200px}
.main-nav ul{gap:clamp(10px,1.4vw,20px)}
.main-nav a{font-size:.78rem}
.hero-slider{margin-top:70px;height:min(650px,calc(100svh - 70px));min-height:490px}
.hero__content{max-width:690px}
.hero__title{max-width:11ch;font-size:clamp(3rem,5.2vw,5.2rem);line-height:1.02;letter-spacing:-.05em}
.hero__text{max-width:58ch;font-size:1.05rem;line-height:1.65}
.hero__meta{font-size:.72rem;letter-spacing:.025em}
.about-layout{gap:clamp(20px,2.4vw,34px)}
.about-copy p:not(.eyebrow){font-size:.95rem;line-height:1.8}
.domain-card{border-radius:6px;padding:22px 14px;transition:border-color .2s ease,background-color .2s ease}
.domain-card:hover{border-color:#e4e9e4;background:#ffffff}
.filiere-card{border-radius:6px;height:160px}
.filiere-card__body{left:14px;right:12px;bottom:13px}
.filiere-card__body h3{font-size:.85rem}
.filiere-large-card{border-radius:8px;box-shadow:none}
.filiere-large-card__body{padding:24px}
.mini-project,.event-card{border-radius:6px;box-shadow:none}
.partners .partner{border-radius:6px;box-shadow:none}
.cta{background:var(--green-dark)}
.cta h2{line-height:1.12;letter-spacing:-.025em}
.site-footer{background:#142017}
.footer-contact li{line-height:1.9}
.footer-contact li:nth-child(2),.footer-contact li:nth-child(3){display:none}
.footer-contact:after{content:"Pour toute demande, utilisez la page Contact.";display:block;color:#f3f7f2;font-size:.72rem;line-height:1.7;margin-top:4px;max-width:26ch}
.footer-bottom{line-height:1.7}
.footer-bottom span:last-child{color:#68736c}
.search-toggle,.lang-switch,.socials{display:none!important}
/* Les chiffres par défaut n’étant pas confirmés, ne pas les publier comme données réelles. */

/* Les noms de partenaires de démonstration ne doivent pas être présentés comme des partenaires réels. */

@media(max-width:1100px){
 .container{width:calc(100% - 44px)}
 .header-inner{height:66px}
 .hero-slider{margin-top:66px}
 .main-nav{margin-left:auto}
 .main-nav ul{gap:12px}
 .main-nav a{font-size:.73rem}
}
@media(max-width:900px){
 .header-inner{height:64px}
 .site-brand img{height:48px}
 .main-nav{top:64px}
 .hero-slider{margin-top:64px;height:auto;min-height:560px}
 .hero-slider__overlay{min-height:560px}
 .hero__content{padding:48px 0}
 .hero__title{max-width:12ch;font-size:clamp(2.8rem,8vw,4.3rem)}
 .section{padding-top:58px;padding-bottom:58px}
}
@media(max-width:600px){
 .container{width:calc(100% - 32px)}
 .section{padding-top:48px;padding-bottom:48px}
 .hero-slider{min-height:540px}
 .hero-slider__overlay{min-height:540px}
 .hero__title{font-size:clamp(2.6rem,12vw,3.4rem);line-height:1.04}
 .hero__text{font-size:.98rem}
 .hero-arrow{width:38px;height:38px}
 .domain-grid,.filiere-grid{gap:10px}
 .filiere-card{height:145px}
 .filiere-card__body h3{font-size:.8rem}
 .filiere-single__hero{min-height:340px}
 .filiere-single__hero-overlay h1{font-size:clamp(2.3rem,10vw,3rem)}
 .footer-bottom span:last-child{margin-top:8px}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
 *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}
/* Masquer l’article WordPress de démonstration dans la liste d’actualités. */
.news-item:has(a[href*="hello-world"]){display:none!important}

/* Pages institutionnelles et formulaires */
.cirta-page-intro{max-width:760px;margin:18px 0 38px;color:#68736c;font-size:1.12rem;line-height:1.8}
.entry-content h2,.section .container>h2{margin-top:34px;margin-bottom:12px;font-size:clamp(1.45rem,2.4vw,2rem);line-height:1.2;letter-spacing:-.025em}
.entry-content p,.section .container>p{max-width:75ch}
.entry-content ul,.entry-content ol{line-height:1.9}
.cirta-content-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:30px 0}
.cirta-content-grid article{padding:24px;border:1px solid #e4e9e4;border-radius:6px;background:#fff}
.cirta-content-grid article h2{margin-top:0;font-size:1.25rem}
.cirta-content-grid article p{color:#68736c;line-height:1.75}
.cirta-content-grid a,.entry-content a:not(.btn){color:#2f7d32;text-decoration:underline;text-underline-offset:3px}
.cirta-form{max-width:760px;margin:28px 0;padding:clamp(20px,4vw,36px);border:1px solid #e4e9e4;border-radius:8px;background:#f3f7f2}
.cirta-form h2{margin:0 0 24px!important;font-size:clamp(1.5rem,3vw,2rem)}
.cirta-form-field{display:grid;gap:7px;margin:0 0 18px}
.cirta-form-field label{font-size:.9rem;font-weight:700;color:#142017}
.cirta-form-field input,.cirta-form-field textarea,.cirta-form-field select{width:100%;min-height:46px;padding:12px 13px;border:1px solid #e4e9e4;border-radius:4px;background:#fff;color:#142017;font:inherit}
.cirta-form-field textarea{min-height:150px;resize:vertical}
.cirta-form-field input:focus,.cirta-form-field textarea:focus,.cirta-form-field select:focus{outline:3px solid rgba(47,125,50,.22);border-color:#2f7d32}
.cirta-form-consent{display:flex;align-items:flex-start;gap:10px;margin:18px 0 22px;font-size:.85rem;line-height:1.6;color:#142017}
.cirta-form-consent input{margin-top:5px;flex:0 0 auto}
.cirta-form-note{font-size:.78rem!important;line-height:1.6!important;color:#68736c!important;margin-top:16px}
.cirta-form-message{max-width:760px;padding:14px 16px;border-radius:4px;margin:20px 0;font-weight:650}
.cirta-form-message.is-success{background:#f3f7f2;border:1px solid #2f7d32;color:#0d3b1d}
.cirta-form-message.is-error{background:#fff;border:1px solid #b45309;color:#7c2d12}
.cirta-form-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.wp-block-query .wp-block-post-template{gap:28px}
.wp-block-query .wp-block-post{padding:0 0 22px;border-bottom:1px solid #e4e9e4}
.wp-block-query .wp-block-post-featured-image img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:6px}
.wp-block-query .wp-block-post-title{font-size:1.25rem;line-height:1.3}
.wp-block-query .wp-block-post-title a{color:#142017;text-decoration:none}
.wp-block-query .wp-block-post-title a:hover{color:#2f7d32}
.wp-block-query .wp-block-post-date{font-size:.8rem;color:#68736c}

/* Archives des projets, ressources et événements */
.projects-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:32px}
.project-card{min-width:0;overflow:hidden;border:1px solid #e4e9e4;border-radius:6px;background:#fff}
.project-card>img,.project-card .wp-post-image{display:block;width:100%;height:220px;object-fit:cover}
.project-card__body{padding:22px}
.project-card__body h3{margin:0 0 10px;font-size:1.2rem;line-height:1.3}
.project-card__body h3 a{color:#142017;text-decoration:none}
.project-card__body h3 a:hover{color:#2f7d32}
.project-card__body p{color:#68736c;line-height:1.7}
.project-card__body .more-link{display:inline-flex;margin-top:8px;color:#2f7d32;font-weight:700}
.archive .section-title,.post-type-archive .section-title{max-width:900px}
.single .entry-content{max-width:780px;margin-left:auto;margin-right:auto}
.single .entry-content img{height:auto}
.single .section .container>img{margin-top:24px;border-radius:6px}
@media(max-width:900px){.projects-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}}
@media(max-width:600px){.projects-grid{grid-template-columns:1fr;gap:16px}.project-card>img,.project-card .wp-post-image{height:210px}.project-card__body{padding:18px}}
/* États vides explicites pour les archives sans contenu publié */
body.post-type-archive-evenement .projects-grid:empty::after{content:"Aucun événement n’est publié pour le moment. Les prochaines dates seront annoncées ici.";display:block;grid-column:1/-1;padding:28px;border:1px solid #e4e9e4;background:#f3f7f2;color:#68736c;line-height:1.7}
body.post-type-archive-ressource .projects-grid:empty::after{content:"Aucune ressource n’est publiée pour le moment. Les documents validés seront ajoutés ici.";display:block;grid-column:1/-1;padding:28px;border:1px solid #e4e9e4;background:#f3f7f2;color:#68736c;line-height:1.7}



@media(max-width:800px){.cirta-content-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.cirta-content-grid{grid-template-columns:1fr}.cirta-form{padding:20px}.wp-block-query .wp-block-post-template{gap:22px}}




/* Nettoyage prioritaire V1 - ne pas afficher les libelles de demonstration */
.domains-section > .container > .eyebrow{display:none!important;}

/* Mobile et tablette : masquer uniquement les fleches du diaporama */
@media(max-width:900px){.hero-slider .hero-arrow,.hero-slider button.hero-arrow{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;}}

