:root{
  --brand:#880d1e;
  --brand-dark:#660815;
  --brand-darker:#510611;
  --brand-soft:#f7edef;
  --brand-pale:#fbf7f8;
  --ink:#181214;
  --muted:#6d6466;
  --line:#eadfe1;
  --paper:#ffffff;
  --soft:#faf8f7;
  --max:1200px;
  --narrow:860px;
  --radius:5px;
  --header:82px;
  --font:'Inter',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --font-display:'Inter',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font);font-size:16px;line-height:1.68;-webkit-font-smoothing:antialiased}
body.menu-open{overflow:hidden}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
h1,h2,h3,p,figure,blockquote,dl,dd{margin-top:0}
h1,h2{font-family:var(--font-display);font-weight:700;letter-spacing:-.035em;line-height:1.02}
h3{font-family:var(--font);font-weight:700;letter-spacing:-.025em;line-height:1.2}
h1{font-size:clamp(2.75rem,4.7vw,4.9rem)}
h2{font-size:clamp(2rem,3.25vw,3.35rem)}
h3{font-size:1.2rem}
p{margin-bottom:1.15rem}
.container{width:min(var(--max),calc(100% - 56px));margin-inline:auto}
.container.narrow,.narrow{width:min(var(--narrow),calc(100% - 56px))}
.section{padding:104px 0}
.section-soft{background:var(--soft)}
.lead{font-size:1.08rem;line-height:1.8;color:#4d4547}
.rich-copy{color:#4c4446;font-size:1rem;line-height:1.9}
.muted-copy,.muted-link{color:var(--muted)}
.section-kicker{display:inline-block;margin-bottom:17px;color:var(--brand);font-size:.72rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
.section-kicker--light{color:#fff}
.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:52px}
.section-heading h2{max-width:760px;margin-bottom:0}
.section-heading-links{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.text-link{display:inline-flex;align-items:center;gap:8px;color:var(--brand);font-size:.84rem;font-weight:800}
.text-link:hover{color:var(--brand-dark)}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:47px;padding:0 22px;border:0;border-radius:var(--radius);background:var(--brand);color:#fff;font-size:.79rem;font-weight:800;transition:background-color .2s ease,transform .2s ease}
.btn:hover{background:var(--brand-dark);transform:translateY(-1px)}
.btn-light{background:#fff;color:var(--brand)}
.btn-light:hover{background:#fff;color:var(--brand-dark)}
.btn-compact{min-height:42px;padding-inline:18px}

/* HEADER — volontairement blanc et calme */
.site-header{position:sticky;z-index:100;top:0;height:var(--header);background:#fff;border-bottom:1px solid #eee7e8}
.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:30px}
.brand{display:flex;align-items:center;gap:12px;min-width:250px}
.brand img{width:48px;height:48px;border-radius:50%;object-fit:cover;object-position:center}
.brand span{display:flex;flex-direction:column;line-height:1.08}
.brand strong{font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.02em}
.brand small{margin-top:4px;color:var(--brand);font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.12em}
.main-nav{display:flex;align-items:center;gap:25px}
.main-nav>a{position:relative;color:#2d2729;font-size:.75rem;font-weight:700;white-space:nowrap;transition:color .18s ease}
.main-nav>a:hover,.main-nav>a.active{color:var(--brand)}
.main-nav .nav-donate{padding:11px 16px;border-radius:var(--radius);background:var(--brand);color:#fff}
.main-nav .nav-donate:hover,.main-nav .nav-donate.active{background:var(--brand-dark);color:#fff}
.menu-toggle{display:none;width:42px;height:42px;border:0;background:transparent}
.menu-toggle span{display:block;width:22px;height:2px;margin:6px auto;background:var(--ink)}

/* HOME HERO */
.hero{position:relative;min-height:680px;overflow:hidden;background:#191416;color:#fff}
.hero-track,.hero-slide,.hero-static-media,.hero-background-video{position:absolute;inset:0;width:100%;height:100%}
.hero-slide{opacity:0;background-position:center;background-size:cover;transition:opacity .65s ease}
.hero-slide.is-active{opacity:1}
.hero-static-media{background-position:center;background-repeat:no-repeat}
.hero-background-video{object-fit:cover}
.hero-shade{position:absolute;inset:0;background:rgba(16,10,12,.48)}
.hero-content{position:relative;z-index:2;display:flex;min-height:680px;flex-direction:column;justify-content:center;padding-top:70px;padding-bottom:110px}
.hero-content--center{align-items:center;text-align:center}
.hero-content--right{align-items:flex-end;text-align:right}
.hero-content>.btn{align-self:flex-start;width:auto;max-width:max-content}
.hero-content--center>.btn{align-self:center}
.hero-content--right>.btn{align-self:flex-end}
.hero-kicker{margin-bottom:17px;font-size:.7rem;font-weight:800;letter-spacing:.15em;text-transform:uppercase;color:#fff}
.hero h1{max-width:790px;margin:0 0 22px;font-size:clamp(3rem,5.5vw,5.35rem);font-family:var(--font-display);font-weight:700;letter-spacing:-.045em}
.hero-lead{max-width:620px;margin-bottom:30px;color:rgba(255,255,255,.9);font-size:1rem;line-height:1.78}
.hero-footnote{position:absolute;z-index:3;right:0;bottom:0;left:0;background:rgba(68,4,14,.74)}
.hero-footnote .container{display:flex;justify-content:space-between;gap:20px;padding:15px 0;color:rgba(255,255,255,.82);font-size:.65rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.hero-controls{position:absolute;z-index:5;right:0;bottom:64px;left:0;display:flex;align-items:center;justify-content:flex-end;gap:11px;pointer-events:none}
.hero-controls button,.hero-controls span{pointer-events:auto}
.hero-controls button{display:grid;width:38px;height:38px;place-items:center;border:1px solid rgba(255,255,255,.58);border-radius:50%;background:transparent;color:#fff}
.hero-controls span{font-size:.65rem;font-weight:700;letter-spacing:.08em}

/* VERSET SOUS HERO : pas de bande noire */
.scripture-band{padding:72px 0 6px;background:#fff}
.scripture-band-inner{width:min(920px,calc(100% - 56px));margin:auto;text-align:center}
.scripture-band-inner>span{display:block;margin-bottom:14px;color:var(--brand);font-size:.68rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.scripture-band blockquote{margin:0 auto 16px;max-width:850px;color:#2d2628;font-size:clamp(1.35rem,2.4vw,2.15rem);font-weight:650;line-height:1.46;letter-spacing:-.025em}
.scripture-band cite{color:var(--muted);font-size:.72rem;font-style:normal;font-weight:700}

/* COMPOSITIONS EDITORIALES */
.editorial-split{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(380px,.95fr);gap:86px;align-items:center}
.editorial-split--reverse{grid-template-columns:minmax(380px,.95fr) minmax(0,1.05fr)}
.editorial-split--reverse .editorial-copy{order:-1}
.editorial-photo{min-height:520px;overflow:hidden;border-radius:var(--radius)}
.editorial-photo--tall{min-height:610px}
.editorial-photo img{width:100%;height:100%;object-fit:cover}
.editorial-copy h2{max-width:630px;margin-bottom:24px}
.editorial-copy p{max-width:620px}
.home-intro{padding-top:92px;padding-bottom:116px}
.home-intro .editorial-split{grid-template-columns:minmax(420px,.9fr) minmax(0,1.1fr);gap:78px;align-items:center}
.home-intro .editorial-photo--tall{height:530px;min-height:0}
.home-intro .editorial-copy{max-width:570px;justify-self:start}
.home-intro .editorial-copy h2{margin-bottom:22px}
.home-intro .editorial-copy .lead{margin-bottom:24px}

/* PROGRAMME */
.weekly-section{position:relative;width:100%;margin:0;padding:0;overflow:hidden;border-radius:0;background-position:center;background-size:cover;color:#fff}
.weekly-section-shade{position:absolute;inset:0;background:rgba(74,4,15,.66)}
.weekly-layout{position:relative;z-index:2;display:grid;grid-template-columns:.8fr 1.2fr;gap:88px;padding:78px 72px}
.weekly-heading h2{max-width:430px;margin-bottom:20px;font-size:clamp(2.35rem,4vw,4rem)}
.weekly-heading p{max-width:420px;margin-bottom:0;color:rgba(255,255,255,.85)}
.program-list{align-self:center}
.program-row{display:grid;grid-template-columns:120px 1fr auto;gap:22px;align-items:baseline;padding:18px 0;border-bottom:1px solid rgba(255,255,255,.25)}
.program-row:first-child{padding-top:0}
.program-row:last-child{border-bottom:0;padding-bottom:0}
.program-row strong{font-size:.72rem;text-transform:uppercase;letter-spacing:.1em}
.program-row span{font-size:1.04rem;font-weight:700}
.program-row time{color:rgba(255,255,255,.78);font-size:.78rem;font-weight:650}

/* PREDICATIONS ACCUEIL */
.home-sermons{background:#fff}
.home-sermons .section-heading{align-items:flex-end;margin-bottom:42px}
.home-sermons-heading{max-width:640px}
.home-sermons-heading h2{margin:0 0 10px;font-size:clamp(2.2rem,3.15vw,3.35rem)}
.home-sermons-heading p{max-width:540px;margin:0;color:var(--muted);font-size:.88rem;line-height:1.65}
.sermon-home-layout{display:grid;grid-template-columns:minmax(0,560px) minmax(260px,360px);gap:46px;align-items:start;max-width:980px}
.sermon-home-feature{width:100%;max-width:560px;min-width:0;padding:10px 10px 16px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}
.sermon-home-media{aspect-ratio:16/9;overflow:hidden;border-radius:calc(var(--radius) - 1px);background:#ede8e9}
.sermon-home-media iframe{display:block;width:100%;height:100%;border:0}
.sermon-home-copy{padding:15px 5px 0}
.sermon-home-copy span,.sermon-home-row span{display:block;margin-bottom:7px;color:var(--brand);font-size:.64rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.sermon-home-copy h3{margin-bottom:0;font-size:1.06rem;line-height:1.38}
.sermon-home-list{display:flex;flex-direction:column;gap:24px}
.sermon-home-row{display:grid;grid-template-columns:136px 1fr;gap:16px;align-items:start}
.sermon-home-thumb{aspect-ratio:16/9;overflow:hidden;border-radius:var(--radius);background:#eee}
.sermon-home-thumb img{width:100%;height:100%;object-fit:cover}
.sermon-home-row h3{margin:0 0 6px;font-size:.9rem;line-height:1.38}
.sermon-home-row small{color:var(--muted);font-size:.69rem;font-weight:700}
.sermon-playlist-fallback{width:min(560px,100%);aspect-ratio:16/9;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);padding:10px;background:#fff}
.sermon-playlist-fallback iframe{width:100%;height:100%;border:0;border-radius:calc(var(--radius) - 1px)}

/* EVENTS ACCUEIL ET LISTE */
.home-events{background:var(--brand-pale)}
.event-list{display:flex;flex-direction:column}
.event-row{display:grid;grid-template-columns:92px 1fr 34px;gap:26px;align-items:center;padding:27px 0;border-bottom:1px solid var(--line)}
.event-row:first-child{padding-top:0}
.event-row:last-child{border-bottom:0;padding-bottom:0}
.event-row time{display:flex;align-items:baseline;gap:9px;color:var(--brand)}
.event-row time strong{font-size:2.05rem;line-height:1;font-weight:800}
.event-row time span{font-size:.68rem;font-weight:800;letter-spacing:.08em}
.event-row h3{margin:0 0 5px;font-size:1.16rem}
.event-row p{margin:0;color:var(--muted);font-size:.84rem}
.event-arrow{justify-self:end;color:var(--brand);font-size:1.05rem}
.event-list--large .event-row{grid-template-columns:118px 1fr 38px;padding:32px 0}
.event-list--large .event-row h3{font-size:1.35rem}

/* GALLERY */
.home-gallery{background:#fff}
.gallery-mosaic{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 18px}
.gallery-item{position:relative;margin:0;min-width:0}
.gallery-item img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius);transition:transform .25s ease}
.gallery-item:hover img{transform:translateY(-2px)}
.gallery-item figcaption{position:static;margin:9px 0 0;color:var(--muted);font-size:.7rem;font-weight:650;line-height:1.45;text-shadow:none}
.gallery-item--1,.gallery-item--2,.gallery-item--3,.gallery-item--4,.gallery-item--5,.gallery-item:nth-child(n+6){grid-column:auto;grid-row:auto}

/* BANNIERES DES PAGES INTERIEURES */
.interior-hero,.channel-hero,.detail-hero,.project-hero,.donation-hero{position:relative;min-height:320px;overflow:hidden;background-color:var(--brand);background-image:url('../../uploads/sections/red-section.jpg');background-repeat:no-repeat;background-position:center;background-size:cover;color:#fff}
.interior-hero::before,.channel-hero::before,.detail-hero::before,.project-hero::before,.donation-hero::before{content:'';position:absolute;inset:0;background:rgba(88,4,16,.16)}
.interior-hero-grid{position:relative;z-index:1;display:flex;min-height:320px;flex-direction:column;justify-content:flex-end;padding-top:50px;padding-bottom:50px}
.interior-hero-copy{max-width:760px}
.interior-hero-copy h1{margin-bottom:16px;font-size:clamp(2.5rem,4.1vw,4rem)}
.interior-hero-copy p{max-width:620px;margin-bottom:0;color:rgba(255,255,255,.9)}
.interior-hero-media{display:none}
.channel-hero-inner{position:relative;z-index:1;display:flex;min-height:320px;align-items:flex-end;justify-content:space-between;gap:40px;padding-top:50px;padding-bottom:50px}
.channel-hero h1{max-width:760px;margin:0 0 10px;font-size:clamp(2.45rem,3.8vw,3.7rem)}
.channel-hero p{margin:0;color:rgba(255,255,255,.86)}
.detail-hero{padding:0}
.detail-hero>.container{position:relative;z-index:1;display:flex;min-height:320px;flex-direction:column;justify-content:flex-end;padding-top:50px;padding-bottom:50px}
.detail-hero h1{max-width:900px;margin:8px 0 14px;font-size:clamp(2.45rem,4.1vw,4rem)}
.detail-hero p{margin:0;color:rgba(255,255,255,.86)}
.detail-hero .section-kicker{color:#fff}
.back-link{display:inline-block;margin-bottom:20px;color:rgba(255,255,255,.8);font-size:.78rem;font-weight:700}

/* A PROPOS */
.about-manifesto{background:#fff}
.leadership-statement{margin-top:34px;padding:28px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.leadership-statement strong{display:block;margin-bottom:8px;color:var(--brand);font-size:.74rem;text-transform:uppercase;letter-spacing:.1em}
.leadership-statement p{margin:0;color:#40383a;font-size:1.05rem}
.vision-section{background:var(--brand-pale)}
.vision-row{display:grid;grid-template-columns:90px minmax(260px,.65fr) 1fr;gap:46px;align-items:start;padding:44px 0;border-bottom:1px solid var(--line)}
.vision-row:first-child{padding-top:0}
.vision-row:last-child{border-bottom:0;padding-bottom:0}
.vision-row>span{color:var(--brand);font-size:3rem;font-weight:800;line-height:1}
.vision-row small{display:block;margin-bottom:7px;color:var(--brand);font-size:.69rem;font-weight:800;text-transform:uppercase;letter-spacing:.11em}
.vision-row h2{margin:0;font-size:1.75rem}
.vision-row>p{margin:0;color:#554c4f}
.lead-profile{display:grid;grid-template-columns:minmax(360px,.8fr) minmax(0,1.2fr);gap:84px;align-items:center}
.lead-profile figure{height:560px;overflow:hidden;border-radius:var(--radius)}
.lead-profile figure img{width:100%;height:100%;object-fit:cover}
.lead-profile>div>span,.team-row>div:last-child>span{display:block;margin-bottom:10px;color:var(--brand);font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.09em}
.lead-profile h3{margin-bottom:22px;font-size:2.75rem}
.lead-profile p{max-width:580px;color:#4e4547}
.team-section{background:var(--soft)}
.team-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:50px 72px}
.team-row{display:grid;grid-template-columns:155px 1fr;gap:24px;align-items:start}
.team-row-photo{height:165px;overflow:hidden;border-radius:var(--radius)}
.team-row-photo img{width:100%;height:100%;object-fit:cover}
.team-row h3{margin:0 0 10px;font-size:1.25rem}
.team-row p{margin:0;color:var(--muted);font-size:.87rem}

/* YOUTUBE / PREDICATIONS */
.sermon-youtube-page{background:#fff}
.youtube-featured{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.65fr);gap:50px;align-items:center;margin-bottom:88px}
.youtube-featured-player,.video-frame,.sermon-direct-player{aspect-ratio:16/9;overflow:hidden;border-radius:var(--radius);background:#ece7e8}
.youtube-featured-player iframe,.video-frame iframe,.sermon-direct-player iframe{display:block;width:100%;height:100%;border:0}
.youtube-featured-copy h2{margin-bottom:20px;font-size:2.1rem}
.youtube-featured-copy p{color:var(--muted);font-size:.78rem}
.youtube-library-bar{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:38px}
.youtube-library-bar h2{margin:0;font-size:2.3rem}
.youtube-filters{display:flex;gap:8px}
.youtube-filters button{padding:9px 12px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;color:#574d50;font-size:.72rem;font-weight:750}
.youtube-filters button.is-active{border-color:var(--brand);color:var(--brand)}
.youtube-channel-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:44px 22px}
.youtube-channel-card{min-width:0}
.youtube-channel-thumb{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:var(--radius);background:#f0eeee}
.youtube-channel-thumb img{width:100%;height:100%;object-fit:cover}
.youtube-play{position:absolute;bottom:11px;left:11px;padding:6px 9px;border-radius:3px;background:rgba(136,13,30,.9);color:#fff;font-size:.7rem}
.video-duration{position:absolute;right:8px;bottom:8px;padding:3px 6px;border-radius:3px;background:rgba(20,14,16,.78);color:#fff;font-size:.65rem;font-weight:700}
.youtube-channel-copy{padding-top:14px}
.youtube-channel-copy h3{margin:0 0 8px;font-size:.98rem;line-height:1.42}
.youtube-channel-copy p{margin:0;color:var(--muted);font-size:.73rem}
.youtube-playlist-direct-head{margin-bottom:28px}
.youtube-playlist-direct-head h2{margin-bottom:0}
.sermon-video-actions{display:flex;gap:20px;align-items:center;margin-top:20px;flex-wrap:wrap}

/* EVENEMENTS */
.archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px 38px}
.archive-item{padding:0 0 22px;border-bottom:1px solid var(--line)}
.archive-item>span{display:block;margin-bottom:12px;color:var(--brand);font-size:.7rem;font-weight:800;letter-spacing:.08em}
.archive-item h3{margin-bottom:7px;font-size:1.18rem}
.archive-item p{margin-bottom:13px;color:var(--muted);font-size:.84rem}
.archive-item small{color:var(--brand);font-weight:800}
.event-detail .article-cover{height:520px;margin-bottom:58px;overflow:hidden;border-radius:var(--radius)}
.event-detail .article-cover img{width:100%;height:100%;object-fit:cover}
.event-detail-body{display:grid;grid-template-columns:.42fr 1fr;gap:70px;margin-bottom:56px}
.event-detail-intro p{font-size:1.15rem;font-weight:650;line-height:1.7}
.event-media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin-top:48px}
.event-media-grid figure{margin:0}
.event-media-grid figure>img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius)}
.event-media-grid figcaption{margin-top:9px;color:var(--muted);font-size:.75rem}

/* PROJET PARCELLE */
.project-hero{min-height:320px}
.project-hero-shade{position:absolute;inset:0;background:rgba(88,4,16,.08)}
.project-hero-inner{position:relative;z-index:2;display:flex;min-height:320px;flex-direction:column;justify-content:flex-end;padding-top:50px;padding-bottom:50px}
.project-hero-inner h1{max-width:840px;margin-bottom:16px;font-size:clamp(2.5rem,4.1vw,4rem)}
.project-hero-inner p{max-width:650px;margin:0;color:rgba(255,255,255,.9)}
.project-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(330px,.65fr);gap:92px;align-items:start}
.project-copy h2{max-width:650px;margin-bottom:24px}
.project-copy .btn{margin-top:24px}
.fund-panel{padding:34px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}
.fund-panel>span{display:block;margin-bottom:8px;color:var(--muted);font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.09em}
.fund-panel>strong{display:block;margin-bottom:19px;color:var(--brand);font-size:3.4rem;line-height:1}
.progress{height:6px;margin-bottom:28px;overflow:hidden;background:#efe5e7;border-radius:999px}
.progress i{display:block;height:100%;background:var(--brand);border-radius:inherit}
.fund-panel dl{margin:0}
.fund-panel dl>div{display:flex}
.fund-panel dt,.fund-panel dd{padding:12px 0;border-bottom:1px solid var(--line)}
.fund-panel dt{color:var(--muted);font-size:.78rem}
.fund-panel dd{margin:0;text-align:right;font-weight:800}
.fund-panel dl{display:grid;grid-template-columns:1fr auto;column-gap:20px}
.project-updates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px}
.project-updates article{padding-top:0}
.project-updates time{display:block;margin-bottom:9px;color:var(--brand);font-size:.7rem;font-weight:800}
.project-updates h3{margin-bottom:10px}
.project-updates p{color:var(--muted);font-size:.86rem}
.project-updates img{width:100%;margin-top:12px;aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius)}

/* DON / CONTACT */
.donation-hero{min-height:320px;padding:0}
.donation-hero>.container{position:relative;z-index:1;display:flex;min-height:320px;flex-direction:column;justify-content:flex-end;padding-top:50px;padding-bottom:50px}
.donation-hero h1{max-width:780px;margin-bottom:16px;font-size:clamp(2.5rem,4.1vw,4rem)}
.donation-hero p{max-width:680px;margin:0;color:rgba(255,255,255,.9)}
.donation-layout,.contact-layout{display:grid;grid-template-columns:minmax(0,.82fr) minmax(440px,1.18fr);gap:90px;align-items:start}
.payment-column h2,.contact-info h2{margin-bottom:26px;font-size:2.2rem}
.payment-list{display:flex;flex-direction:column;gap:0}
.payment-method{padding:22px 0;border-bottom:1px solid var(--line)}
.payment-method:first-child{padding-top:0}
.payment-method>div{display:flex;align-items:baseline;justify-content:space-between;gap:18px}
.payment-method span{color:var(--brand);font-size:.67rem;font-weight:800;text-transform:uppercase;letter-spacing:.09em}
.payment-method h3{margin:0;font-size:1rem}
.payment-method>strong{display:block;margin:14px 0 3px;font-size:1.28rem}
.payment-method p{margin:0;color:var(--muted);font-size:.84rem}
.payment-method small{display:block;margin-top:8px;color:var(--muted);font-size:.74rem}
.form-panel{padding:42px;background:var(--brand-pale);border-radius:var(--radius)}
.form-panel h2{margin-bottom:28px;font-size:1.95rem}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.form-grid label{display:flex;flex-direction:column;gap:7px;color:#4e4547;font-size:.74rem;font-weight:800}
.form-grid .full{grid-column:1/-1}
.form-grid input,.form-grid textarea,.form-grid select{width:100%;border:1px solid #ded2d4;border-radius:var(--radius);background:#fff;color:var(--ink);padding:13px 14px;outline:none}
.form-grid input:focus,.form-grid textarea:focus,.form-grid select:focus{border-color:var(--brand)}
.form-grid textarea{resize:vertical;min-height:125px}
.form-grid label small{color:var(--muted);font-weight:600}
.notice{margin-bottom:22px;padding:13px 15px;border:1px solid #e5d6d9;border-radius:var(--radius);background:#fff;font-size:.84rem}
.notice.success{color:#3e2429}.notice.error{color:#721020}
.contact-info>p{max-width:470px;color:var(--muted)}
.contact-list{margin:38px 0 0}
.contact-list dt{padding-top:17px;color:var(--brand);font-size:.67rem;font-weight:800;text-transform:uppercase;letter-spacing:.09em}
.contact-list dd{margin:5px 0 15px;font-size:.94rem;font-weight:650}

/* FOOTER — nuance rouge, jamais noir */
.site-footer{background:var(--brand-dark);color:#fff}
.footer-main{display:grid;grid-template-columns:minmax(330px,.92fr) minmax(0,1.08fr);gap:82px;padding-top:70px;padding-bottom:58px}
.footer-identity{display:flex;align-items:flex-start;gap:23px}
.footer-logo{width:94px;height:94px;object-fit:contain;flex:0 0 auto}
.footer-kicker{margin-bottom:8px;color:rgba(255,255,255,.65);font-size:.67rem;font-weight:800;text-transform:uppercase;letter-spacing:.1em}
.footer-identity h2{max-width:430px;margin:0 0 13px;font-size:2rem}
.footer-identity p:last-child{max-width:470px;margin:0;color:rgba(255,255,255,.72);font-size:.86rem}
.footer-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px}
.footer-columns>div{display:flex;flex-direction:column;align-items:flex-start;gap:9px}
.footer-label{margin-bottom:8px;color:rgba(255,255,255,.57);font-size:.65rem;font-weight:800;text-transform:uppercase;letter-spacing:.1em}
.footer-columns a,.footer-columns p{margin:0;color:rgba(255,255,255,.82);font-size:.78rem}
.footer-columns a:hover{color:#fff}
.footer-bottom-wrap{background:var(--brand-darker)}
.footer-bottom{display:flex;justify-content:space-between;gap:20px;padding:20px 0;color:rgba(255,255,255,.62);font-size:.67rem;font-weight:650}

/* RESPONSIVE */
@media(max-width:1120px){
  .main-nav{gap:17px}.main-nav>a{font-size:.7rem}.brand{min-width:210px}.brand span{display:none}
  .editorial-split,.editorial-split--reverse{gap:58px}.weekly-layout{gap:56px;padding-inline:52px}.youtube-channel-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:980px){
  :root{--header:74px}.container{width:min(var(--max),calc(100% - 40px))}.container.narrow,.narrow{width:min(var(--narrow),calc(100% - 40px))}.section{padding:84px 0}
  .brand img{width:43px;height:43px}.brand span{display:flex}.menu-toggle{display:block;position:relative;z-index:121}
  .main-nav{position:fixed;z-index:120;top:var(--header);right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:stretch;gap:0;padding:18px 22px 40px;background:#fff;transform:translateX(100%);transition:transform .25s ease;overflow:auto}
  .main-nav.is-open{transform:translateX(0)}.main-nav>a{padding:16px 2px;border-bottom:1px solid var(--line);color:var(--ink);font-size:.94rem}.main-nav .nav-donate{margin-top:18px;text-align:center;color:#fff}
  .hero,.hero-content{min-height:620px}.scripture-band-inner{width:calc(100% - 40px)}
  .editorial-split,.editorial-split--reverse,.weekly-layout,.sermon-home-layout,.interior-hero-grid,.lead-profile,.youtube-featured,.event-detail-body,.project-layout,.donation-layout,.contact-layout{grid-template-columns:1fr}
  .editorial-split--reverse .editorial-copy{order:0}.editorial-photo,.editorial-photo--tall{min-height:510px;order:-1}
  .weekly-section{width:100%}.weekly-layout{gap:45px;padding:64px 48px}
  .sermon-home-layout{max-width:100%}.sermon-home-feature{max-width:560px}.sermon-home-list{display:grid;grid-template-columns:1fr 1fr;gap:24px}.sermon-home-row{grid-template-columns:1fr}.interior-hero,.channel-hero,.detail-hero,.project-hero,.donation-hero{min-height:320px}.interior-hero-grid,.channel-hero-inner,.detail-hero>.container,.project-hero-inner,.donation-hero>.container{min-height:320px}.interior-hero-media{display:none}
  .vision-row{grid-template-columns:70px .7fr 1fr;gap:28px}.lead-profile{gap:42px}.lead-profile figure{height:560px}.team-list{gap:38px}
  .youtube-featured{gap:30px}.project-layout{gap:54px}.fund-panel{max-width:580px}.donation-layout,.contact-layout{gap:56px}.payment-column{max-width:700px}
  .footer-main{grid-template-columns:1fr;gap:44px}.gallery-mosaic{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:720px){
  .container{width:calc(100% - 30px)}.container.narrow,.narrow{width:calc(100% - 30px)}.section{padding:68px 0}.brand span{display:none}
  .hero,.hero-content{min-height:575px}.hero-content{padding-top:35px;padding-bottom:92px}.hero h1{font-size:2.85rem}.hero-lead{font-size:.91rem}.hero-footnote .container{font-size:.57rem}
  .scripture-band{padding-top:54px}.scripture-band-inner{width:calc(100% - 30px)}.scripture-band blockquote{font-size:1.18rem}
  .editorial-split{gap:34px}.editorial-photo,.editorial-photo--tall{min-height:400px}.home-intro .editorial-photo--tall{height:420px}.editorial-copy h2{font-size:2.16rem}.section-heading{align-items:flex-start;flex-direction:column;gap:18px;margin-bottom:38px}
  .weekly-section{width:100%}.weekly-layout{gap:34px;padding:50px 23px}.weekly-heading h2{font-size:2.35rem}.program-row{grid-template-columns:92px 1fr;gap:13px}.program-row time{grid-column:2;text-align:left;margin-top:-7px}
  .sermon-home-list{grid-template-columns:1fr}.sermon-home-row{grid-template-columns:120px 1fr}.event-row,.event-list--large .event-row{grid-template-columns:72px 1fr 24px;gap:14px}.event-row time{flex-direction:column;gap:1px}.event-row time strong{font-size:1.75rem}.event-row h3{font-size:.98rem}.event-row p{font-size:.78rem}
  .gallery-mosaic{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}
  .interior-hero,.channel-hero,.detail-hero,.project-hero,.donation-hero{min-height:290px}.interior-hero-grid,.channel-hero-inner,.detail-hero>.container,.project-hero-inner,.donation-hero>.container{min-height:290px;padding-top:44px;padding-bottom:44px}.interior-hero-copy h1,.channel-hero h1,.detail-hero h1,.project-hero-inner h1,.donation-hero h1{font-size:2.45rem}.channel-hero-inner{align-items:flex-start;flex-direction:column;justify-content:flex-end;gap:20px}
  .vision-row{grid-template-columns:50px 1fr;gap:16px}.vision-row>p{grid-column:2}.vision-row h2{font-size:1.5rem}.lead-profile figure{height:430px}.lead-profile h3{font-size:2rem}.team-list{grid-template-columns:1fr}.team-row{grid-template-columns:110px 1fr;gap:18px}.team-row-photo{height:112px}
  .youtube-library-bar{align-items:flex-start;flex-direction:column}.youtube-channel-grid{grid-template-columns:1fr 1fr;gap:30px 14px}.youtube-filters{width:100%;overflow:auto}.youtube-featured-copy h2{font-size:1.75rem}.archive-grid{grid-template-columns:1fr}.event-detail .article-cover{height:390px;margin-bottom:40px}.event-media-grid{grid-template-columns:1fr}
  .project-hero,.project-hero-inner{min-height:290px}.project-hero-inner h1{font-size:2.45rem}.project-updates{grid-template-columns:1fr}.form-panel{padding:28px 22px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}
  .footer-identity{flex-direction:column}.footer-logo{width:82px;height:82px}.footer-columns{grid-template-columns:1fr 1fr;gap:34px}.footer-bottom{align-items:flex-start;flex-direction:column}
}
@media(max-width:520px){
  .hero h1{font-size:2.35rem}.hero-controls{bottom:62px}.hero-footnote .container{gap:10px}.sermon-home-row{grid-template-columns:106px 1fr}.gallery-mosaic{grid-template-columns:1fr}.youtube-channel-grid{grid-template-columns:1fr}.team-row{grid-template-columns:1fr}.team-row-photo{height:300px}.footer-columns{grid-template-columns:1fr}
}

/* ==========================================================
   Finitions avant déploiement — 14/09/2026
   Menu, bannière programme, profils, projet et pages vides
   ========================================================== */

/* Navigation : légèrement plus présente, hover discret et éditorial. */
.main-nav{gap:28px}
.main-nav>a:not(.nav-donate){position:relative;padding:9px 0;font-size:.82rem;font-weight:720;letter-spacing:-.01em;transition:color .18s ease}
.main-nav>a:not(.nav-donate)::after{content:"";position:absolute;right:0;bottom:5px;left:0;height:1.5px;background:var(--brand);transform:scaleX(0);transform-origin:left center;transition:transform .2s ease}
.main-nav>a:not(.nav-donate):hover::after,.main-nav>a:not(.nav-donate).active::after{transform:scaleX(1)}
.main-nav>a:not(.nav-donate):hover{color:var(--brand)}
.main-nav .nav-donate{font-size:.81rem;font-weight:750}

/* La section programme devient une vraie bannière photographique pleine largeur. */
.weekly-section{min-height:410px;background-position:center center;background-size:cover}
.weekly-layout{min-height:410px;align-items:center;padding-top:52px;padding-bottom:52px}
.weekly-heading,.program-list{align-self:center}

/* Moins d'espace inutile après la vidéo sur l'accueil. */
.home-sermons{padding-bottom:54px}
.home-gallery{padding-top:58px}
.sermon-home-feature{margin-bottom:0}

/* À propos : profils plus maîtrisés, sans photos qui changent la hauteur de la page. */
.leadership-section .section-heading,.team-section .section-heading{margin-bottom:34px}
.lead-profile{grid-template-columns:330px minmax(0,1fr);gap:54px;max-width:900px;padding:22px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;align-items:center}
.lead-profile figure{width:330px;height:410px;min-height:0;margin:0;overflow:hidden;border-radius:var(--radius)}
.lead-profile figure img{width:100%;height:100%;object-fit:cover;object-position:center top}
.lead-profile>div>span{margin-bottom:9px}
.lead-profile h3{margin:0;font-size:clamp(1.85rem,2.8vw,2.65rem)}

.team-section{background:var(--soft)}
.team-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,300px));gap:28px;justify-content:start}
.team-row{display:block;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);background:#fff}
.team-row-photo{width:100%;height:320px;margin:0;overflow:hidden;border-radius:0}
.team-row-photo img{width:100%;height:100%;object-fit:cover;object-position:center top}
.team-row>div:last-child{padding:18px 18px 20px}
.team-row>div:last-child>span{margin-bottom:7px;font-size:.66rem}
.team-row h3{margin:0 0 8px;font-size:1.12rem}
.team-row p{margin:0;color:var(--muted);font-size:.82rem;line-height:1.6}

/* Projet : une lecture simple. Le panneau financier n'apparaît que lorsqu'il existe des chiffres réels. */
.project-layout.project-layout--single{display:block;max-width:780px}
.project-copy>p.project-short-copy{max-width:670px;margin-bottom:28px;color:#4d4547;font-size:1.02rem;line-height:1.75}

/* Événements : même sans événement, la bannière ne tombe jamais directement sur le footer. */
.events-empty-space{min-height:280px;background:#fff}

@media(max-width:1120px){
  .main-nav{gap:19px}
  .main-nav>a:not(.nav-donate){font-size:.76rem}
}
@media(max-width:980px){
  .main-nav>a:not(.nav-donate){padding:16px 2px;font-size:.96rem;letter-spacing:0}
  .main-nav>a:not(.nav-donate)::after{display:none}
  .weekly-section,.weekly-layout{min-height:460px}
  .weekly-layout{padding-top:58px;padding-bottom:58px}
  .lead-profile{grid-template-columns:300px minmax(0,1fr);gap:38px;max-width:760px}
  .lead-profile figure{width:300px;height:380px}
}
@media(max-width:720px){
  .weekly-section,.weekly-layout{min-height:auto}
  .weekly-layout{padding-top:52px;padding-bottom:52px}
  .home-sermons{padding-bottom:42px}
  .home-gallery{padding-top:48px}
  .lead-profile{grid-template-columns:1fr;max-width:430px;padding:14px;gap:24px}
  .lead-profile figure{width:100%;height:390px}
  .team-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
  .team-row{max-width:none}
  .team-row-photo{height:280px}
  .events-empty-space{min-height:210px}
}
@media(max-width:520px){
  .lead-profile figure{height:340px}
  .team-list{grid-template-columns:1fr}
  .team-row{max-width:330px}
  .team-row-photo{height:340px}
  .events-empty-space{min-height:170px}
}

/* ==========================================================
   Correctif basé sur la version avancée validée — 14/09/2026
   Navigation active, footer, bannières et responsive
   ========================================================== */
:root{--page-gutter:clamp(16px,3.6vw,32px)}
.container{width:min(var(--max),calc(100% - (var(--page-gutter) * 2)))}
.container.narrow,.narrow{width:min(var(--narrow),calc(100% - (var(--page-gutter) * 2)))}

/* Menu : plus lisible, sans soulignements/barres décoratives. */
.main-nav{gap:29px}
.main-nav>a:not(.nav-donate){padding:10px 0;font-size:.86rem;font-weight:760;letter-spacing:-.012em;transition:color .18s ease,transform .18s ease}
.main-nav>a:not(.nav-donate)::after{display:none!important}
.main-nav>a:not(.nav-donate)::before{content:"";position:absolute;top:50%;left:-13px;width:6px;height:6px;border:1.5px solid var(--brand);opacity:0;transform:translateY(-50%) rotate(45deg) scale(.65);transition:opacity .18s ease,transform .18s ease}
.main-nav>a:not(.nav-donate):hover{color:var(--brand);transform:translateY(-1px)}
.main-nav>a:not(.nav-donate).active{color:var(--brand)}
.main-nav>a:not(.nav-donate).active::before{opacity:1;transform:translateY(-50%) rotate(45deg) scale(1)}
.main-nav .nav-donate{font-size:.85rem;font-weight:780;padding:13px 20px}

/* Toutes les bannières intérieures utilisent la même image rouge et le contenu est centré verticalement. */
.interior-hero,.channel-hero,.detail-hero,.project-hero,.donation-hero{background-image:url('../../uploads/sections/red-section.jpg');background-position:center center;background-size:cover}
.interior-hero-grid,.detail-hero>.container,.project-hero-inner,.donation-hero>.container{justify-content:center}
.channel-hero-inner{align-items:center}

/* Footer : deux colonnes utiles seulement. Les réseaux vivent avec l'identité de l'Assemblée. */
.footer-main{grid-template-columns:minmax(360px,1.05fr) minmax(420px,.95fr);gap:72px;padding-top:68px;padding-bottom:58px}
.footer-identity{gap:24px}
.footer-kicker{font-size:.74rem;color:rgba(255,255,255,.7)}
.footer-identity h2{font-size:2.08rem}
.footer-identity p:last-of-type{max-width:500px;color:rgba(255,255,255,.8);font-size:.96rem;line-height:1.75}
.footer-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:48px}
.footer-label{font-size:.72rem;color:rgba(255,255,255,.64)}
.footer-columns a,.footer-columns p{font-size:.91rem;line-height:1.72;color:rgba(255,255,255,.86)}
.footer-bottom{font-size:.74rem}
.footer-socials{display:flex;align-items:center;gap:10px;margin-top:22px}
.footer-socials a{display:grid;width:38px;height:38px;place-items:center;border:1px solid rgba(255,255,255,.28);border-radius:50%;color:#fff;transition:border-color .18s ease,background-color .18s ease,transform .18s ease}
.footer-socials a:hover{border-color:rgba(255,255,255,.66);background:rgba(255,255,255,.08);transform:translateY(-1px)}
.footer-socials svg{width:17px;height:17px;fill:currentColor}

/* Responsive : on conserve la hiérarchie de la version validée et on réduit seulement ce qui doit l'être. */
@media(max-width:1160px){
  .main-nav{gap:20px}
  .main-nav>a:not(.nav-donate){font-size:.8rem}
  .footer-main{grid-template-columns:1fr;gap:46px}
  .footer-columns{max-width:720px}
}

@media(max-width:980px){
  :root{--header:74px;--page-gutter:22px}
  .header-inner{gap:16px}
  .brand{min-width:auto}
  .main-nav{top:var(--header);padding:20px var(--page-gutter) 28px;gap:2px}
  .main-nav>a:not(.nav-donate){padding:14px 0 14px 18px;border-bottom:0;font-size:1rem;font-weight:720;transform:none}
  .main-nav>a:not(.nav-donate)::before{left:2px;width:6px;height:6px}
  .main-nav>a:not(.nav-donate):hover{transform:none}
  .main-nav .nav-donate{align-self:flex-start;width:auto;min-width:0;margin-top:16px;padding:12px 19px;font-size:.94rem;text-align:center}

  .interior-hero,.channel-hero,.detail-hero,.project-hero,.donation-hero{min-height:280px}
  .interior-hero-grid,.channel-hero-inner,.detail-hero>.container,.project-hero-inner,.donation-hero>.container{min-height:280px;padding-top:42px;padding-bottom:42px;justify-content:center}
  .channel-hero-inner{align-items:flex-start;justify-content:center}

  .weekly-layout{padding-left:var(--page-gutter);padding-right:var(--page-gutter)}
  .footer-main{padding-top:58px;padding-bottom:50px}
}

@media(max-width:720px){
  :root{--page-gutter:16px}
  .section{padding:64px 0}
  .site-header{height:74px}
  .brand img{width:40px;height:40px}
  .main-nav{padding-top:14px}
  .main-nav>a:not(.nav-donate){padding-top:13px;padding-bottom:13px;font-size:.98rem}
  .main-nav .nav-donate{min-height:46px;margin-top:13px;padding:11px 18px}

  .hero,.hero-content{min-height:520px}
  .hero-content{padding-top:30px;padding-bottom:86px}
  .hero h1{font-size:clamp(2.2rem,10vw,2.8rem);line-height:1.08}
  .hero-lead{font-size:.94rem;line-height:1.68}
  .hero-content>.btn{width:auto;max-width:max-content;padding-inline:19px}

  .scripture-band{padding-top:46px}
  .home-intro{padding-top:48px;padding-bottom:62px}
  .home-intro .editorial-split{gap:28px}
  .home-intro .editorial-photo--tall{height:350px;min-height:0}

  .weekly-layout{padding-top:44px;padding-bottom:44px;gap:30px}
  .weekly-heading h2{font-size:2.18rem;max-width:300px}
  .program-row{grid-template-columns:86px 1fr;padding:15px 0;gap:12px}
  .program-row time{grid-column:2;margin-top:-4px}

  .sermon-home-layout{gap:24px}
  .sermon-home-feature{max-width:560px}
  .home-sermons{padding-bottom:44px}
  .home-gallery{padding-top:50px}

  .interior-hero,.channel-hero,.detail-hero,.project-hero,.donation-hero{min-height:230px}
  .interior-hero-grid,.channel-hero-inner,.detail-hero>.container,.project-hero-inner,.donation-hero>.container{min-height:230px;padding-top:34px;padding-bottom:34px}
  .interior-hero-copy h1,.channel-hero h1,.detail-hero h1,.project-hero-inner h1,.donation-hero h1{font-size:2.1rem;line-height:1.1}
  .interior-hero-copy p,.channel-hero p,.detail-hero p,.project-hero-inner p,.donation-hero p{font-size:.93rem;line-height:1.6}

  .lead-profile{grid-template-columns:1fr;max-width:440px;padding:14px;gap:22px}
  .lead-profile figure{width:100%;height:390px}
  .team-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .team-row-photo{height:270px}

  .footer-main{gap:38px;padding-top:48px;padding-bottom:42px}
  .footer-identity{flex-direction:column;gap:18px}
  .footer-identity h2{font-size:1.9rem}
  .footer-identity p:last-of-type{font-size:.94rem}
  .footer-columns{grid-template-columns:1fr 1fr;gap:28px}
  .footer-columns a,.footer-columns p{font-size:.92rem}
  .footer-bottom{gap:8px;padding:17px 0}
}

@media(max-width:520px){
  :root{--page-gutter:14px}
  .brand span{display:none}
  .hero h1{font-size:2.08rem}
  .hero-footnote .container{gap:10px;font-size:.55rem}
  .home-intro .editorial-photo--tall{height:300px}
  .weekly-layout{padding-top:36px;padding-bottom:36px}
  .weekly-heading h2{font-size:1.98rem}
  .team-list{grid-template-columns:1fr}
  .team-row{max-width:340px}
  .team-row-photo{height:340px}
  .gallery-mosaic{grid-template-columns:1fr;gap:18px}
  .footer-columns{grid-template-columns:1fr;gap:26px}
  .footer-socials{margin-top:18px}
  .footer-bottom{flex-direction:column;align-items:flex-start}
}


/* ==========================================================
   Galerie / équipe / navigation mobile — consolidation finale
   ========================================================== */

/* L'état courant utilise la classe générée par active_path(). */
.main-nav>a:not(.nav-donate)::before{
  width:5px;height:5px;border:0;border-radius:1px;background:var(--brand);
  transform:translateY(-50%) rotate(45deg) scale(.55)
}
.main-nav>a:not(.nav-donate).is-active{color:var(--brand)}
.main-nav>a:not(.nav-donate).is-active::before{opacity:1;transform:translateY(-50%) rotate(45deg) scale(1)}
.main-nav .nav-donate.is-active{background:var(--brand-dark);color:#fff}

/* Photos administrables : dimensions stables + crop propre. */
.person-photo{overflow:hidden;background:#f3efef}
.person-photo img{width:100%;height:100%;object-fit:cover;object-position:center}
.person-photo-empty{display:grid;width:100%;height:100%;place-items:center;background:#f3efef;color:var(--brand);font-size:2rem;font-weight:800}
.lead-profile figure.person-photo--lead{height:520px;min-height:520px}
.team-row-photo.person-photo{height:190px}

/* Accueil : une seule ligne de galerie, propre et lisible. */
.home-gallery-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.home-gallery-item{display:block;overflow:hidden;border-radius:var(--radius);background:#f1eded}
.home-gallery-item img{width:100%;aspect-ratio:4/3;object-fit:cover;transition:transform .25s ease}
.home-gallery-item:hover img{transform:scale(1.015)}

/* Page Galerie : catégories issues de la BDD, sans cartes décoratives. */
.gallery-page{background:#fff}
.gallery-category-section{padding-top:82px;padding-bottom:82px}
.gallery-category-section+ .gallery-category-section{border-top:1px solid var(--line)}
.gallery-category-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:36px}
.gallery-category-heading .section-kicker{margin-bottom:10px}
.gallery-category-heading h2{margin:0;font-size:clamp(1.9rem,3vw,3rem)}
.gallery-page-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 18px}
.gallery-page-item{margin:0;min-width:0}
.gallery-page-item img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius);background:#f1eded}
.gallery-page-item figcaption{margin-top:9px;color:var(--muted);font-size:.78rem;line-height:1.5}

/* Menu mobile recentré : pas de lignes, pas de bouton plein écran. */
@media(max-width:980px){
  .main-nav{
    align-items:center;justify-content:center;text-align:center;
    padding:28px var(--page-gutter) 34px;gap:2px
  }
  .main-nav>a:not(.nav-donate){
    display:inline-flex;align-items:center;justify-content:center;
    width:auto;padding:13px 24px;font-size:1rem;font-weight:730
  }
  .main-nav>a:not(.nav-donate)::before{
    left:auto;right:7px;top:50%;width:5px;height:5px
  }
  .main-nav .nav-donate{
    align-self:center;width:auto;min-width:145px;margin-top:18px;
    padding:12px 20px;font-size:.94rem;text-align:center
  }
  .lead-profile figure.person-photo--lead{height:460px;min-height:460px}
  .team-row-photo.person-photo{height:280px}
  .home-gallery-row{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gallery-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:720px){
  .main-nav{padding-inline:18px}
  .main-nav>a:not(.nav-donate){font-size:1.02rem;padding:12px 26px}
  .main-nav>a:not(.nav-donate)::before{right:8px}
  .lead-profile figure.person-photo--lead{height:390px;min-height:390px}
  .team-row-photo.person-photo{height:300px}
  .gallery-category-section{padding-top:58px;padding-bottom:58px}
  .gallery-category-heading{margin-bottom:26px}
  .gallery-page-grid{gap:22px 12px}
  .home-gallery-row{
    display:grid;grid-auto-flow:column;grid-auto-columns:minmax(220px,78vw);
    grid-template-columns:none;overflow-x:auto;overscroll-behavior-inline:contain;
    padding-bottom:8px;scroll-snap-type:x proximity;scrollbar-width:thin
  }
  .home-gallery-item{scroll-snap-align:start}
}

@media(max-width:520px){
  .main-nav>a:not(.nav-donate){padding-left:28px;padding-right:28px}
  .lead-profile figure.person-photo--lead{height:340px;min-height:340px}
  .team-row-photo.person-photo{height:330px}
  .gallery-page-grid{grid-template-columns:1fr;gap:24px}
}

@media(max-width:980px) and (max-height:680px){
  .main-nav{justify-content:flex-start;padding-top:24px}
}

/* Galerie — visionneuse par catégorie */
.gallery-page-trigger{display:block;width:100%;padding:0;border:0;background:transparent;text-align:inherit;cursor:zoom-in}
.gallery-page-trigger img{transition:transform .22s ease,opacity .22s ease}
.gallery-page-trigger:hover img{transform:scale(1.012);opacity:.96}
body.gallery-lightbox-open{overflow:hidden}
.gallery-lightbox[hidden]{display:none!important}
.gallery-lightbox{position:fixed;z-index:1000;inset:0;display:grid;place-items:center;padding:26px;opacity:0;transition:opacity .18s ease}
.gallery-lightbox.is-open{opacity:1}
.gallery-lightbox-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;background:rgba(13,9,10,.94);cursor:zoom-out}
.gallery-lightbox-dialog{position:relative;z-index:1;width:min(1180px,100%);max-height:calc(100vh - 52px);display:flex;flex-direction:column}
.gallery-lightbox-topbar{display:flex;align-items:center;justify-content:flex-end;gap:18px;min-height:46px;color:#fff}
.gallery-lightbox-counter{font-size:.78rem;font-weight:700;letter-spacing:.08em;color:rgba(255,255,255,.74)}
.gallery-lightbox-close{display:grid;width:40px;height:40px;place-items:center;padding:0;border:1px solid rgba(255,255,255,.28);border-radius:50%;background:transparent;color:#fff;font-size:1.55rem;line-height:1;transition:border-color .18s ease,background-color .18s ease}
.gallery-lightbox-close:hover{border-color:rgba(255,255,255,.7);background:rgba(255,255,255,.06)}
.gallery-lightbox-stage{display:grid;grid-template-columns:54px minmax(0,1fr) 54px;gap:22px;align-items:center;min-height:0}
.gallery-lightbox-figure{display:flex;min-width:0;min-height:0;max-height:calc(100vh - 118px);margin:0;flex-direction:column;align-items:center;justify-content:center}
.gallery-lightbox-figure img{display:block;max-width:100%;max-height:calc(100vh - 160px);width:auto;height:auto;object-fit:contain;border-radius:3px;background:#171113}
.gallery-lightbox-figure figcaption{width:100%;max-width:900px;margin-top:13px;color:rgba(255,255,255,.78);font-size:.82rem;line-height:1.5;text-align:center}
.gallery-lightbox-nav{display:grid;width:48px;height:48px;place-items:center;padding:0;border:1px solid rgba(255,255,255,.28);border-radius:50%;background:transparent;color:#fff;font-size:1.25rem;transition:border-color .18s ease,background-color .18s ease,transform .18s ease}
.gallery-lightbox-nav:hover{border-color:rgba(255,255,255,.72);background:rgba(255,255,255,.06);transform:translateY(-1px)}
.gallery-lightbox-nav--prev{justify-self:start}.gallery-lightbox-nav--next{justify-self:end}

@media(max-width:720px){
  .gallery-lightbox{padding:14px}
  .gallery-lightbox-dialog{max-height:calc(100vh - 28px)}
  .gallery-lightbox-topbar{min-height:42px}
  .gallery-lightbox-stage{grid-template-columns:1fr;gap:14px}
  .gallery-lightbox-figure{grid-row:1;max-height:calc(100vh - 126px)}
  .gallery-lightbox-figure img{max-height:calc(100vh - 174px)}
  .gallery-lightbox-nav{position:absolute;top:50%;z-index:2;width:42px;height:42px;background:rgba(20,14,16,.56);transform:translateY(-50%)}
  .gallery-lightbox-nav:hover{transform:translateY(-50%)}
  .gallery-lightbox-nav--prev{left:7px}.gallery-lightbox-nav--next{right:7px}
  .gallery-lightbox-figure figcaption{padding-inline:10px;font-size:.78rem}
}

/* ==========================================================
   Navigation mobile centrée + état courant — 14/09/2026
   ========================================================== */
.main-nav>a:not(.nav-donate).is-active{color:var(--brand)}
.main-nav>a:not(.nav-donate).is-active::before{opacity:1;transform:translateY(-50%) rotate(45deg) scale(1)}

@media(max-width:980px){
  .main-nav{align-items:center;justify-content:flex-start;text-align:center;padding-top:28px}
  .main-nav>a:not(.nav-donate){width:auto;min-width:180px;padding:14px 24px;border:0;text-align:center}
  .main-nav>a:not(.nav-donate)::before{top:50%;left:7px}
  .main-nav .nav-donate{align-self:center;width:auto;margin-top:18px;padding:12px 24px}
}
@media(max-width:520px){
  .main-nav{padding-top:24px}
  .main-nav>a:not(.nav-donate){min-width:170px;font-size:1rem}
}
