/* Site v2 (nov. 2026) : fiches projets et page d’accueil. Chargée en dernier. */

/* ---------- Fiche projet ---------- */
html body .project-banner.is-logo,html body .project-banner.is-logo.project-banner-image{background:#fff;display:flex;align-items:center;justify-content:center;height:380px!important;padding:30px}
html body .project-banner.is-logo img{width:auto!important;height:auto!important;max-width:min(520px,80%);max-height:300px;object-fit:contain!important;box-shadow:none}
html body .project-banner.is-logo figcaption{display:none}
.project-banner-text{display:flex;align-items:center;justify-content:center;min-height:240px;background:linear-gradient(135deg,#c20114,#8f0610);color:#fff;text-align:center;padding:40px}
.project-banner-text span{font-size:clamp(28px,4vw,48px);font-weight:800;letter-spacing:-.03em;max-width:900px}
.project-give{margin-top:30px}
.project-give-line{display:block;width:44px;height:3px;border-radius:3px;background:var(--red);margin-bottom:14px}
html body .project-give-title{margin:0 0 16px;font-size:clamp(18px,1.6vw,21px);font-weight:700;color:var(--ink)}
.project-give .amounts{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-start;margin:0;max-width:none}
.project-give .amounts .btn{min-width:110px;justify-content:center}
.project-details li{overflow-wrap:anywhere}

/* Le projet en bref : fond rouge, texte blanc, bouton blanc bien visible */
html body .project-brief{background:#c20114;color:#fff}
.project-brief-in{display:grid;grid-template-columns:auto minmax(0,1fr);gap:clamp(28px,5vw,64px);align-items:center;max-width:1000px;margin:0 auto}
.project-brief-in>div:only-child{grid-column:1/-1;max-width:760px}
.project-brief-logo{display:grid;place-items:center;width:clamp(170px,22vw,250px);aspect-ratio:1;border-radius:24px;background:#fff;padding:22px;box-shadow:0 24px 50px -24px rgba(0,0,0,.45)}
.project-brief-logo img{max-width:100%;max-height:100%;object-fit:contain}
html body .project-brief .eyebrow{color:rgba(255,255,255,.85)}
html body .project-brief h2{color:#fff;-webkit-text-fill-color:#fff;background:none;margin:6px 0 14px}
html body .project-brief p{color:#fff;font-size:18px;line-height:1.65;margin:0 0 26px}
html body .project-brief .project-site{background:#fff!important;color:#a50a12!important;-webkit-text-fill-color:#a50a12;box-shadow:0 12px 26px -12px rgba(0,0,0,.4);transition:transform .25s,box-shadow .25s,background .25s,color .25s}
html body .project-brief .project-site svg{stroke:#a50a12!important;color:#a50a12!important}
html body .project-brief .project-site:hover,html body .project-brief .project-site:focus-visible{background:#141418!important;color:#fff!important;-webkit-text-fill-color:#fff;transform:translateY(-2px)}
html body .project-brief .project-site:hover svg,html body .project-brief .project-site:focus-visible svg{stroke:#fff!important;color:#fff!important}
@media (max-width:700px){.project-brief-in{grid-template-columns:1fr}.project-brief-logo{width:160px;margin:0 auto}}

/* Questions : fond noir, texte blanc, accents rouges */
html body .project-qa{background:#141418;color:#fff}
html body .project-qa h2{color:#fff;-webkit-text-fill-color:#fff;background:none}
html body .project-qa .faq details{border-color:rgba(255,255,255,.18)}
html body .project-qa .faq summary{color:#fff}
html body .project-qa .faq summary::marker,html body .project-qa .faq details[open] summary{color:#ff5a5f}
html body .project-qa .faq p,html body .project-qa .faq li{color:rgba(255,255,255,.88)}
html body .project-qa .faq ul{margin:6px 0 16px;padding-left:1.2em}
html body .project-qa .faq li{margin:6px 0;line-height:1.6}
html body .project-qa .faq li::marker{color:#ff5a5f}
html body .project-qa blockquote{margin:8px 0 18px;padding:4px 0 4px 18px;border-left:3px solid #ff5a5f}
html body .project-qa blockquote p{font-size:19px;font-weight:600;color:#fff}
html body .project-qa cite{display:block;margin-top:8px;font-style:normal;color:rgba(255,255,255,.65);font-size:14px}

/* Cartes projets : logos en entier, initiales quand il n'y a pas d'image */
html body .project-card.is-logo .photo{background:#fff;display:grid;place-items:center}
html body .project-card.is-logo .photo img{object-fit:contain!important;padding:18px;background:#fff}
html body .project-card.is-noimage .photo{display:grid;place-items:center;background:linear-gradient(135deg,#c20114,#8f0610)}
.card-initials{font-size:46px;font-weight:800;color:#fff;letter-spacing:.02em}

/* ---------- Accueil ---------- */
html body .stats.stats-3{grid-template-columns:repeat(3,minmax(0,280px));justify-content:center}
@media (max-width:700px){html body .stats.stats-3{grid-template-columns:1fr 1fr}html body .stats.stats-3>div:last-child{grid-column:1/-1}}

/* Agir près de chez vous : fond rouge, cartes d'antennes à faire défiler */
html body .antennas{background:#c20114;color:#fff;overflow:hidden}
.antennas-in{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.6fr);gap:clamp(28px,4vw,56px);align-items:center}
html body .antennas .eyebrow{color:rgba(255,255,255,.85)}
html body .antennas h2{color:#fff;-webkit-text-fill-color:#fff;background:none;margin:8px 0 14px}
html body .antennas p{color:rgba(255,255,255,.92);font-size:18px}
.antennas-slider{position:relative;min-width:0}
.ant-track{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:6px 2px 18px;scrollbar-width:none;outline:none}
.ant-track::-webkit-scrollbar{display:none}
.ant-track:focus-visible{outline:3px solid #fff;outline-offset:4px;border-radius:12px}
.ant-card{flex:0 0 clamp(250px,26vw,300px);scroll-snap-align:start;display:flex;flex-direction:column;border-radius:22px;overflow:hidden;background:#fff;color:var(--ink);box-shadow:0 24px 50px -26px rgba(0,0,0,.55)}
.ant-card img{display:block;width:100%;aspect-ratio:16/11;object-fit:cover}
.ant-body{display:flex;flex-direction:column;gap:10px;padding:20px 22px 22px;flex:1}
.ant-kicker{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#a50a12}
html body .ant-card h3{margin:0;font-size:24px;letter-spacing:-.02em;color:var(--ink)}
html body .ant-meta{display:grid;gap:4px;margin:0;font-size:15px}
html body .antennas .ant-meta,html body .antennas .ant-meta a{color:#3b3b42}
.ant-meta a{text-decoration:none;overflow-wrap:anywhere}
.ant-meta a:hover{color:#a50a12}
html body .ant-cta{margin-top:auto;align-self:flex-start}
.ant-arrow{position:absolute;top:calc(50% - 30px);z-index:2;display:grid;place-items:center;width:50px;height:50px;padding:0;border:0;border-radius:50%;background:#fff;color:#a50a12;cursor:pointer;box-shadow:0 14px 30px -12px rgba(0,0,0,.5);transition:transform .2s,background .2s,color .2s}
.ant-arrow svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.ant-arrow:hover{transform:scale(1.08);background:#141418;color:#fff}
.ant-arrow:focus-visible{outline:3px solid #fff;outline-offset:3px}
.ant-arrow[hidden]{display:none}
.ant-prev{left:-10px}.ant-next{right:-10px}
@media (max-width:900px){.antennas-in{grid-template-columns:1fr}.ant-prev{left:0}.ant-next{right:0}.ant-card{flex-basis:78%}}
/* Antennes : une seule carte visible à la fois, contenus alignés d'une carte à l'autre */
.antennas-slider{max-width:440px;width:100%;justify-self:center;padding:0 30px}
.ant-track{gap:0;padding:6px 0 18px}
html body .ant-card{flex:0 0 100%;width:100%;min-height:0}
html body .ant-card img{flex:none;height:250px!important;width:100%!important;max-height:none;aspect-ratio:auto;object-fit:cover}
html body .ant-body{display:grid;grid-template-rows:auto auto 3.4em auto;align-content:start;gap:10px;flex:1}
html body .ant-meta{font-size:14.5px}
.ant-meta a{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .ant-cta{margin-top:6px}
.ant-prev{left:-6px}.ant-next{right:-6px}
.ant-arrow{top:105px}
@media (max-width:900px){.antennas-slider{max-width:420px}html body .ant-card{flex-basis:100%}}
html body .project-card.is-logo .photo{overflow:hidden}
html body .project-card.is-logo .photo img{width:100%!important;height:100%!important;max-height:100%!important;box-sizing:border-box}
html body .project-card.is-logo .photo,html body .project-card.is-noimage .photo{height:230px!important}
html body .project-card.is-logo .photo{position:relative!important;display:block!important}
html body .project-card.is-logo .photo img{position:absolute!important;inset:0!important;min-height:0!important}

/* Logo : « francophone et germanophone » sur une seule ligne, sous « caritas SECOURS » */
html body .logo .brand-sub{display:block;margin-top:3px;font-style:normal;font-size:8.5px;font-weight:600;letter-spacing:.02em;line-height:1.1;white-space:nowrap;color:var(--muted,#62645f)}
@media (max-width:600px){html body .logo .brand-sub{font-size:7.5px;letter-spacing:0}}

/* Cartes « Voir les projets » / « Votre geste » : appel à l’action toujours aligné en bas de la carte */
html body .support-grid{align-items:stretch}
html body .support-card{display:flex!important;flex-direction:column}
html body .support-card>p{margin-bottom:22px}
html body .support-card>.text-link,html body .support-card>.arrow{margin-top:auto}

/* ---------- Nous connaître ---------- */
/* Antennes : 2 colonnes (Brabant wallon | Hainaut, puis Namur-Luxembourg | Bruxelles et Liège), coordonnées sur une ligne */
@media (min-width:701px){html body .antenna-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:880px}}
html body .antenna-grid p{overflow-wrap:normal}
html body .antenna-grid .contact-accent{white-space:nowrap}
/* La famille Caritas */
.about-family{grid-column:1/-1;margin-top:10px;padding:34px clamp(22px,4vw,44px);border-radius:24px;background:#fff;border:1px solid var(--line,#ddd9d1);border-left:5px solid var(--red,#c9141c);box-shadow:0 18px 40px -30px rgba(0,0,0,.35)}
html body .about-family h2{margin:6px 0 14px}
html body .about-family p{max-width:820px;font-size:16px;line-height:1.7}
.about-family-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.about-family-links a{display:inline-flex;align-items:center;padding:9px 16px;border-radius:999px;border:1.5px solid var(--red,#c9141c);color:#a50a12;font-weight:700;font-size:14px;text-decoration:none;transition:background .2s,color .2s}
.about-family-links a:hover,.about-family-links a:focus-visible{background:var(--red,#c9141c);color:#fff}
@media (max-width:700px){.about-family{margin-bottom:30px}}

/* Nous connaître : bandeau rouge (histoire, chiffres, famille Caritas) et bandeau noir (gouvernance, antennes, à vos côtés) */
html body .about-band-red{background:#c20114;color:#fff}
html body .about-band-dark{background:#141418;color:#fff}
html body .about-band .eyebrow{color:rgba(255,255,255,.82)!important}
html body .about-band h2,html body .about-band h3,html body .about-band strong{color:#fff!important;-webkit-text-fill-color:#fff;background:none}
html body .about-band p,html body .about-band .fine{color:rgba(255,255,255,.88)!important}
html body .about-band h2 *{color:#fff!important;-webkit-text-fill-color:#fff}
.about-dark-grid{display:grid;gap:56px}
html body .about-band .about-governance,html body .about-band .about-team{border-top:0!important;padding-top:0!important;margin-top:0!important}
html body .about-band-dark .about-team{border-top:1px solid rgba(255,255,255,.14)!important;padding-top:48px!important}
/* Chiffres du réseau */
html body .about-band-red .about-aside{border-color:rgba(255,255,255,.55)!important}
html body .about-band-red .about-aside span:not(.eyebrow),html body .about-band-red .about-aside p{color:rgba(255,255,255,.9)!important}
/* Famille Caritas : carte claire sur fond rouge */
html body .about-band-red .about-family{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.25);border-left:5px solid #fff;box-shadow:none}
html body .about-band-red .about-family-links a{border-color:#fff;color:#fff;background:transparent}
html body .about-band-red .about-family-links a:hover,html body .about-band-red .about-family-links a:focus-visible{background:#fff;color:#a50a12}
/* Gouvernance et antennes : cartes sombres */
html body .about-band-dark .people-grid span,html body .about-band-dark .antenna-grid p{background:#1f1f25!important;border:1px solid rgba(255,255,255,.12)!important;color:rgba(255,255,255,.78)!important;box-shadow:none!important}
html body .about-band-dark .people-grid span strong{color:#ff6b6f!important;-webkit-text-fill-color:#ff6b6f}
html body .about-band-dark .antenna-grid .contact-accent{color:#ff6b6f!important}
/* À vos côtés */
html body .about-band-dark .about-cta{background:#1f1f25!important;border-left-color:#ff3a42!important}
html body .about-band-dark .about-cta .btn.secondary{background:transparent!important;color:#fff!important;-webkit-text-fill-color:#fff;border:1.5px solid rgba(255,255,255,.5)!important}
html body .about-band-dark .about-cta .btn.secondary svg{stroke:#fff!important;color:#fff!important}
html body .about-band-dark .about-cta .btn.secondary:hover{background:#fff!important;color:#141418!important;-webkit-text-fill-color:#141418}
html body .about-band-dark .about-cta .btn.secondary:hover svg{stroke:#141418!important;color:#141418!important}
@media (max-width:700px){html body .about-band .about-editorial,html body .about-band .about-dark-grid{width:calc(100% - 40px)!important;margin:0 auto}}
html body .about-dark-grid{grid-template-columns:minmax(0,1fr)}
html body .about-band .about-governance,html body .about-band .about-team{min-width:0;max-width:100%}
html body .about-band .governance-carousel{max-width:100%;overflow:hidden}
html body .about-band-dark .governance-set span{background:#1f1f25!important;border-color:rgba(255,255,255,.12)!important;color:rgba(255,255,255,.78)!important}
html body .about-band-red .network-stats>div,html body .about-band-red .about-aside>div>div{background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.3)!important;box-shadow:none!important}
html body .about-band-red .network-stats strong,html body .about-band-red .network-stats span{color:#fff!important;-webkit-text-fill-color:#fff}

/* Barre de filtres des projets : champs uniformes (même hauteur, même forme pilule), bouton rond assorti */
html body form.filters{display:flex;align-items:center;gap:8px;padding:8px;background:#fff;border:1px solid rgba(32,34,31,.08);border-radius:999px;box-shadow:0 14px 40px -22px rgba(32,34,31,.35);overflow:visible}
html body form.filters .search-field{flex:2 1 260px;position:relative;display:flex;align-items:center;gap:0;padding:0;min-width:0}
html body form.filters .search-field>svg{position:absolute;left:20px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:var(--red);pointer-events:none;z-index:1}
html body form.filters .search-field label.field{margin:0;padding:0;width:100%}
html body form.filters .search-field label.field>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
html body form.filters input,html body form.filters select{box-sizing:border-box;height:52px;min-height:52px;margin:0;border:1px solid transparent;border-radius:999px;background-color:var(--cream,#f6f4ef);color:var(--ink);font:inherit;font-size:14px;font-weight:500;letter-spacing:0;box-shadow:none;outline:none;transition:border-color .2s,background-color .2s,box-shadow .2s}
html body form.filters input{width:100%;padding:0 22px 0 48px}
html body form.filters input::placeholder{color:var(--muted);opacity:1;font-weight:400}
html body form.filters select{flex:1 1 170px;min-width:0;padding:0 44px 0 22px;-webkit-appearance:none;appearance:none;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9141c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 18px center;background-size:16px;text-overflow:ellipsis;white-space:nowrap}
html body form.filters input:hover,html body form.filters select:hover{border-color:var(--line)}
html body form.filters input:focus-visible,html body form.filters select:focus-visible{background-color:#fff;border-color:var(--red);box-shadow:0 0 0 4px rgba(201,20,28,.12)}
html body form.filters>.btn{flex:0 0 52px;width:52px;height:52px;min-width:52px;min-height:52px;padding:0;margin:0;border-radius:50%;display:inline-grid;place-items:center;box-shadow:0 8px 20px -10px rgba(201,20,28,.7);transition:transform .2s,box-shadow .2s}
html body form.filters>.btn:hover{transform:translateY(-1px);box-shadow:0 12px 24px -10px rgba(201,20,28,.8)}
html body form.filters>.btn svg{width:20px;height:20px;margin:0}
@media(max-width:1100px) and (min-width:601px){html body form.filters{flex-wrap:wrap;border-radius:30px}html body form.filters .search-field{flex:1 1 100%}html body form.filters select{flex:1 1 0}}
@media(max-width:600px){html body form.filters.open{display:flex;flex-direction:column;align-items:stretch;gap:10px;border-radius:28px 28px 0 0;padding:28px 20px}html body form.filters.open select,html body form.filters.open .search-field{flex:0 0 auto;width:100%}html body form.filters.open>.btn{width:100%;flex:0 0 auto;border-radius:999px;display:inline-flex;gap:10px}}
html body form.filters input:not([type=checkbox]):not([type=radio]),html body form.filters select{border-radius:999px!important;border:1px solid transparent!important}
html body form.filters input:not([type=checkbox]):not([type=radio]):hover,html body form.filters select:hover{border-color:var(--line)!important}
html body form.filters input:not([type=checkbox]):not([type=radio]):focus,html body form.filters select:focus{border-color:var(--red)!important;background-color:#fff}
html body form.filters{border-radius:999px!important}
@media(max-width:1100px){html body form.filters{border-radius:34px!important}}
@media(max-width:600px){html body form.filters.open{border-radius:28px 28px 0 0!important}}

/* Menu : Actualités → sous-menu « Proposer un article » */
.desktop-nav .nav-drop{position:relative;display:inline-flex;align-items:center}
.desktop-nav .nav-sub{position:absolute;top:calc(100% + 10px);left:50%;min-width:230px;padding:8px;background:#fff;border:1px solid rgba(32,34,31,.08);border-radius:20px;box-shadow:0 22px 50px -24px rgba(32,34,31,.4);opacity:0;visibility:hidden;transform:translate(-50%,6px);transition:opacity .2s,transform .2s,visibility .2s;z-index:60}
.desktop-nav .nav-sub::before{content:"";position:absolute;left:0;right:0;top:-14px;height:14px}
.desktop-nav .nav-drop:hover .nav-sub,.desktop-nav .nav-drop:focus-within .nav-sub{opacity:1;visibility:visible;transform:translate(-50%,0)}
html body .desktop-nav .nav-sub a{display:block;padding:11px 16px;border-radius:14px;font-size:14px;font-weight:600;color:var(--ink);white-space:nowrap;text-decoration:none;border:0}
html body .desktop-nav .nav-sub a::after,html body .desktop-nav .nav-sub a::before{display:none}
html body .desktop-nav .nav-sub a:hover,html body .desktop-nav .nav-sub a:focus-visible{background:var(--cream,#f6f4ef);color:var(--red)}
.mobile-nav a.mobile-sub{padding-left:22px;font-size:.92em;opacity:.85}

/* Accueil : actualités */
.home-news-empty{text-align:center;max-width:620px;margin:0 auto;padding:44px 28px;background:var(--cream,#f6f4ef);border-radius:28px}
.home-news-empty h3{margin:0 0 8px}.home-news-empty p{margin:0 0 22px;color:var(--muted)}

/* Don : passage vers la page de don sécurisée */
.don-flow{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:28px;align-items:start}
.don-ticket{background:#fff;border-radius:28px;padding:36px;box-shadow:0 24px 60px -34px rgba(32,34,31,.45);text-align:center;border-top:6px solid var(--red)}
.don-ticket h2{margin:6px 0 18px;font-size:clamp(24px,3vw,32px)}
.don-num-label{margin:0;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
html body .don-num{color:var(--red)!important;margin:4px 0 14px;font-size:clamp(44px,7vw,64px);font-weight:800;line-height:1;color:var(--red)}
.don-amount{margin:0 0 18px}
.don-guide{background:#fff;border-radius:28px;padding:36px}
.don-guide h2{margin-top:0}
.don-steps{margin:0 0 24px;padding:0;list-style:none;counter-reset:s}
.don-steps li{counter-increment:s;position:relative;padding:0 0 18px 52px;font-size:17px;line-height:1.5}
.don-steps li::before{content:counter(s);position:absolute;left:0;top:-2px;width:36px;height:36px;border-radius:50%;background:var(--red);color:#fff;display:grid;place-items:center;font-weight:800}
.don-go{margin-bottom:10px}
.don-guide .text-link{display:inline-block;margin-top:14px}
.don-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.don-choice{background:#fff;border-radius:28px;padding:36px;display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.don-choice h2{margin:6px 0 6px;font-size:clamp(22px,2.6vw,28px)}.don-choice p{color:var(--muted);margin:0 0 18px}
.don-pick{display:grid;gap:10px;width:100%}
.don-pick label{font-size:13px;font-weight:600}
html body .don-pick select{height:52px;border-radius:999px!important;padding:0 44px 0 20px;background:var(--cream,#f6f4ef) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9141c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 18px center/16px;-webkit-appearance:none;appearance:none;border:1px solid transparent!important;font:inherit;font-size:15px}
.don-pick .btn{justify-self:start}
@media(max-width:800px){.don-flow,.don-choices{grid-template-columns:1fr}.don-ticket,.don-guide,.don-choice{padding:26px}}

/* Actualités dans le site (pages rendues par le serveur) */
body.ar-site{background:#fff}
