/* KNJ Aventures — A propos Premium · Feuille dédiée à apropos.html */
.knj-about {
 --about-green:#254e42;--about-deep:#213e34;--about-orange:#a95521;--about-paper:#faf7f1;--about-muted:#637469;--about-line:rgba(38,79,64,.15);
 font-family:'DM Sans',Arial,sans-serif;color:var(--about-deep);background:var(--about-paper);overflow:hidden;
}
.knj-about *, .knj-about *::before,.knj-about *::after{box-sizing:border-box}
.knj-about .about-wide{width:min(calc(100% - 96px),1280px);margin-inline:auto}
.knj-about h1,.knj-about h2,.knj-about h3,.knj-about p{margin:0}
.knj-about h1,.knj-about h2{font-family:'DM Serif Display',Georgia,serif;font-weight:400;letter-spacing:-.032em;line-height:1.03}
.knj-about h1 em,.knj-about h2 em{font-weight:400;color:var(--about-orange)}
.knj-about h2{font-size:clamp(40px,4.55vw,64px)}
.knj-about .about-section{padding-block:105px}
.knj-about .about-eyebrow,.knj-about .about-overline{font-size:11px;font-weight:800;letter-spacing:.16em;color:var(--about-orange)}
.knj-about a:focus-visible{outline:3px solid #c47b46;outline-offset:4px}

/* 01 Top banner : ville de Fianarantsoa */
.knj-about .about-hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:clamp(660px,calc(100svh - 82px),840px);background:#254e42;color:white;overflow:hidden}
/* Diaporama photo en fondu : même hauteur et même recadrage que la bannière d'origine. */
.knj-about .about-hero-scenes,.knj-about .about-hero-scrim{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.knj-about .about-hero-scenes{z-index:0}
.knj-about .about-hero-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity 1.5s ease,visibility 1.5s ease}
.knj-about .about-hero-slide.is-active{opacity:1;visibility:visible}
.knj-about .about-hero-slide img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 52%;transform:scale(1.035);transition:transform 8s ease-out}
.knj-about .about-hero-slide.is-active img{transform:scale(1)}
.knj-about .about-hero-slide:nth-child(2) img{object-position:center center}
.knj-about .about-hero-slide:nth-child(3) img{object-position:center center}
.knj-about .about-hero-scrim{z-index:1;background:linear-gradient(90deg,rgba(12,40,32,.91),rgba(13,41,33,.68) 42%,rgba(10,39,33,.19) 100%),linear-gradient(0deg,rgba(6,26,21,.45),transparent 45%)}
.knj-about .about-hero-content{position:relative;z-index:2;padding-top:110px;padding-bottom:115px}
.knj-about .about-hero-copy{max-width:840px}
.knj-about .about-hero .about-overline{color:#f4c69d}
.knj-about .about-hero h1{font-size:clamp(60px,7vw,102px);margin:28px 0 29px;max-width:950px;color:white;text-wrap:balance}
.knj-about .about-hero h1 em{color:#f1c59f}
.knj-about .about-hero-copy>p{font-size:clamp(15px,1.4vw,18px);line-height:1.85;max-width:610px;color:rgba(255,255,255,.92)}
.knj-about .about-light-link{display:inline-flex;align-items:center;gap:14px;margin-top:35px;border-bottom:1px solid rgba(255,255,255,.65);padding-bottom:6px;color:white;font-size:14px;font-weight:800;transition:gap .25s ease,border-color .25s ease}
.knj-about .about-light-link:hover{gap:23px;border-color:white}
.knj-about .about-hero-location{position:absolute;left:0;bottom:38px;color:rgba(255,255,255,.82);font-size:10px;font-weight:700;letter-spacing:.17em}
.knj-about .about-hero-controls{position:absolute;z-index:3;right:max(32px,calc((100% - 1280px) / 2));bottom:34px;display:flex;align-items:center;gap:12px}
.knj-about .about-hero-scene-button{min-width:98px;display:flex;align-items:center;gap:7px;padding:13px 5px 6px;border:0;border-top:1px solid rgba(255,255,255,.42);background:none;color:rgba(255,255,255,.75);text-align:left;font-family:'DM Sans',Arial,sans-serif;cursor:pointer;transition:border-color .25s ease,color .25s ease}
.knj-about .about-hero-scene-button:hover,.knj-about .about-hero-scene-button.is-active{border-top-color:#f1c7a3;color:#fff}
.knj-about .about-hero-scene-index{font-size:10px;font-weight:800}
.knj-about .about-hero-scene-name{font-size:9px;font-weight:800;letter-spacing:.08em;white-space:nowrap}
.knj-about .about-hero-pause{width:35px;height:35px;flex:none;display:grid;place-items:center;border:1px solid rgba(255,255,255,.45);border-radius:50%;background:rgba(7,31,25,.22);color:#fff;cursor:pointer;font-size:13px;line-height:1;transition:background .2s ease}
.knj-about .about-hero-pause:hover{background:rgba(255,255,255,.23)}
.knj-about .about-hero-controls button:focus-visible{outline:2px solid #fff;outline-offset:4px}

/* 02 KNJ Impact : bandeau d'histoire */
.knj-about .about-story{background:var(--about-paper)}
.knj-about .about-story-layout{display:grid;grid-template-columns: minmax(0,1fr) minmax(0,1.04fr);align-items:center;gap:8%}
.knj-about .about-story h2{max-width:610px;margin:17px 0 24px}
.knj-about .about-story-copy>p{font-size:16px;line-height:1.9;color:var(--about-muted);max-width:565px}
.knj-about .about-story-copy>p strong{color:var(--about-green)}
.knj-about .about-story-branches{margin-top:30px;margin-bottom:30px;border-top:1px solid var(--about-line)}
.knj-about .about-story-branches>div{display:grid;grid-template-columns:36px minmax(0,1fr);gap:16px;padding:16px 0;border-bottom:1px solid var(--about-line)}
.knj-about .about-story-branches>div>span{color:var(--about-orange);font-size:12px;font-weight:800}
.knj-about .about-story-branches p{display:grid;gap:5px}
.knj-about .about-story-branches strong{font-size:15px;color:var(--about-green)}
.knj-about .about-story-branches small{color:var(--about-muted);font-size:13px;line-height:1.6}
.knj-about .about-button{display:inline-flex;align-items:center;justify-content:center;min-height:49px;background:#2F5F4F;color:white;font-size:14px;font-weight:700;border-radius:12px;padding:14px 24px;transition:background .24s ease,transform .24s ease}
.knj-about .about-button:hover{background:#1D4336;transform:translateY(-2px)}
.knj-about .about-story-visual{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:stretch}
.knj-about .about-story-photo-card{position:relative;display:block;min-height:420px;margin:0;overflow:hidden;border-radius:36px;background:#dfd5c8;box-shadow:0 24px 56px rgba(34,51,41,.12);text-decoration:none;color:white;isolation:isolate}
.knj-about .about-story-photo-card::after{content:"";position:absolute;inset:50% 0 0;background:linear-gradient(transparent,rgba(12,39,29,.68));pointer-events:none}
.knj-about .about-story-photo-card img{display:block;height:100%;width:100%;object-fit:cover;transition:transform .7s ease}
.knj-about .about-story-photo-card:first-child img{object-position:42% center}
.knj-about .about-story-photo-card:last-child img{object-position:center center}
.knj-about .about-story-photo-card:hover img{transform:scale(1.04)}
.knj-about .about-story-photo-card figcaption{position:absolute;left:20px;right:20px;bottom:20px;color:white;z-index:1;font-size:10px;font-weight:800;letter-spacing:.12em;line-height:1.6;text-shadow:0 2px 10px rgba(0,0,0,.35)}
.knj-about .about-story-photo-link span{display:inline-block;margin-left:8px;font-size:13px}

/* 03 Philosophie, sans cartons redondants */
.knj-about .about-values{background:#f0ece3}
.knj-about .about-heading{display:grid;grid-template-columns:1.1fr .9fr;gap:65px;align-items:end;margin-bottom:48px}
.knj-about .about-heading h2{margin-top:16px;max-width:750px}
.knj-about .about-heading>p{font-size:16px;line-height:1.85;color:var(--about-muted);max-width:455px;justify-self:end}
.knj-about .about-values-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--about-line);padding-top:32px;gap:36px}
.knj-about .about-value{min-width:0;padding-right:25px}
.knj-about .about-value+.about-value{border-left:1px solid var(--about-line);padding-left:30px}
.knj-about .about-value-num{color:var(--about-orange);font-size:12px;font-weight:800;letter-spacing:.12em}
.knj-about .about-value h3{font-family:'DM Serif Display',Georgia,serif;font-size:35px;font-weight:400;color:var(--about-green);margin:20px 0 9px}
.knj-about .about-value p{font-size:14px;line-height:1.85;color:var(--about-muted)}

/* 04 Photographies de rencontres */
.knj-about .about-moments{background:var(--about-paper)}
.knj-about .about-moments-grid{display:grid;grid-template-columns: .92fr 1.13fr .9fr;gap:19px;align-items:end}
.knj-about .about-moment{margin:0;position:relative;border-radius:14px;overflow:hidden;background:#d4d8cc;isolation:isolate;height:370px}
.knj-about .about-moment-wide{height:425px}
.knj-about .about-moment img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .7s ease}
.knj-about .about-moment:hover img{transform:scale(1.035)}
.knj-about .about-moment::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 48%,rgba(14,39,31,.77))}
.knj-about .about-moment figcaption{position:absolute;bottom:24px;left:23px;right:17px;z-index:1;display:grid;gap:8px;color:#fff}
.knj-about .about-moment figcaption small{font-size:10px;font-weight:800;letter-spacing:.13em;color:#f2d9ba}
.knj-about .about-moment figcaption strong{font-family:'DM Serif Display',Georgia,serif;font-size:31px;font-weight:400;line-height:1.06}

/* 05 Les six partenaires gardent leurs propres liens */
.knj-about .about-partners{background:ar(--about-paper)}
.knj-about .about-partners-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.knj-about .about-partner{min-width:0;min-height:170px;background:#fff;border-radius:16px;padding:24px 24px 24px 22px;display:grid;grid-template-columns:110px minmax(0,1fr) 22px;align-items:center;column-gap:18px;position:relative;border:1px solid rgba(39,84,64,.1);box-shadow:0 12px 35px rgba(35,58,46,.045);color:var(--about-deep);text-decoration:none;transition:transform .25s,box-shadow .25s}
.knj-about .about-partner:hover{transform:translateY(-4px);box-shadow:0 25px 43px rgba(35,58,46,.10)}
.knj-about .about-partner-logo{height:92px;max-width:100%;display:flex;align-items:center;justify-content:center}
.knj-about .about-partner-logo img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.knj-about .about-partner h3{font-size:18px;font-weight:800;color:var(--about-green);padding-right:0}
.knj-about .about-partner p{font-size:13px;color:var(--about-muted);line-height:1.7;margin-top:6px}
.knj-about .about-partner-arrow{justify-self:end;font-size:20px;color:var(--about-orange);position:static}

/* 06 CTA final dans le style de l'accueil / du parcours */
.knj-about .about-outro{background:var(--about-paper);padding-block:95px 105px}
.knj-about .about-outro-panel{border-radius:24px;min-height:385px;position:relative;background:linear-gradient(115deg,#234b3e,#345f4c);overflow:hidden;box-shadow:0 24px 58px rgba(20,60,45,.1)}
.knj-about .about-outro-panel::after{content:"";position:absolute;right:-10%;top:-65%;width:60%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(235,189,129,.16),transparent 67%);pointer-events:none}
.knj-about .about-outro-content{position:relative;z-index:1;padding:64px 70px;max-width:805px}
.knj-about .about-outro .about-eyebrow{color:#e7bd97}
.knj-about .about-outro h2{margin-top:20px;font-size:clamp(47px,5.9vw,75px);color:white}
.knj-about .about-outro h2 em{color:#f1c399}
.knj-about .about-outro p{color:rgba(255,255,255,.83);font-size:16px;line-height:1.8;max-width:570px;margin-top:23px}
.knj-about .about-outro-actions{display:flex;align-items:center;gap:25px;flex-wrap:wrap;margin-top:32px}
.knj-about .about-outro-button{display:inline-flex;align-items:center;justify-content:center;min-height:51px;padding:14px 24px;border-radius:12px;color:#234e3d;background:#f8eee0;font-size:14px;font-weight:800;transition:transform .25s,background .25s}
.knj-about .about-outro-button:hover{background:white;transform:translateY(-2px)}
.knj-about .about-outro-text-link{display:inline-flex;align-items:center;gap:12px;color:white;font-size:14px;font-weight:800;padding-bottom:5px;border-bottom:1px solid rgba(255,255,255,.55);transition:gap .25s}
.knj-about .about-outro-text-link:hover{gap:19px}

@media(max-width:1100px){
 .knj-about .about-story-layout{gap:5%}
 .knj-about .about-story-photo-card{min-height:380px}
 .knj-about .about-moment figcaption strong{font-size:28px}
}
@media(max-width:900px){
 .knj-about .about-wide{width:min(calc(100% - 56px),720px)}
 .knj-about .about-section{padding-block:78px}
 .knj-about .about-hero{min-height:690px}
 .knj-about .about-hero h1{font-size:clamp(59px,8.7vw,82px)}
 .knj-about .about-hero-controls{right:28px;bottom:25px}
 .knj-about .about-hero-location{bottom:85px}
 .knj-about .about-story-layout{grid-template-columns:1fr;gap:44px}
 .knj-about .about-story-visual{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:690px}
 .knj-about .about-story-photo-card{min-height:320px}
 .knj-about .about-heading{grid-template-columns:1fr;gap:19px;margin-bottom:31px}
 .knj-about .about-heading>p{justify-self:start;max-width:650px}
 .knj-about .about-values-list{gap:18px}
 .knj-about .about-value{padding-right:8px}
 .knj-about .about-value+.about-value{padding-left:18px}
 .knj-about .about-value h3{font-size:29px}
 .knj-about .about-moments-grid{gap:12px}
 .knj-about .about-moment{height:282px}
 .knj-about .about-moment-wide{height:322px}
 .knj-about .about-moment figcaption{bottom:17px;left:14px}
 .knj-about .about-moment figcaption strong{font-size:23px}
 .knj-about .about-partners-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
 .knj-about .about-wide{width:calc(100% - 36px)}
 .knj-about .about-section{padding-block:63px}
 .knj-about .about-hero{min-height:clamp(670px,calc(100svh - 70px),830px)}
  .knj-about .about-hero-slide img{object-position:61% center}
 .knj-about .about-hero-controls{left:18px;right:18px;bottom:22px;justify-content:flex-end;gap:8px}
 .knj-about .about-hero-scene-button{min-width:41px;justify-content:center;padding:10px 4px 6px}
 .knj-about .about-hero-scene-name{display:none}
 .knj-about .about-hero-pause{width:32px;height:32px}
 .knj-about .about-hero-location{bottom:74px;font-size:9px}
 .knj-about .about-hero-scrim{background:linear-gradient(90deg,rgba(11,36,28,.89),rgba(16,43,35,.48)),linear-gradient(0deg,rgba(10,36,29,.71),transparent 65%)}
 .knj-about .about-hero-content{padding-top:84px;padding-bottom:121px}
 .knj-about .about-hero h1{font-size:clamp(50px,11vw,66px);line-height:1.08;margin:23px 0 21px}
 .knj-about .about-hero-copy>p{font-size:14px;line-height:1.8}
 .knj-about .about-hero-location{font-size:9px;bottom:24px}
 .knj-about h2{font-size:clamp(37px,9.5vw,47px)}
 .knj-about .about-story-copy>p{font-size:14px}
 .knj-about .about-story-visual{grid-template-columns:1fr;gap:14px}
 .knj-about .about-story-photo-card{min-height:250px;border-radius:24px}
 .knj-about .about-story-photo-card figcaption{font-size:8px;left:16px;right:16px;bottom:16px}
 .knj-about .about-values-list{grid-template-columns:1fr;gap:0;padding-top:0}
 .knj-about .about-value,.knj-about .about-value+.about-value{border-left:0;border-bottom:1px solid var(--about-line);padding:18px 0}
 .knj-about .about-value h3{margin:10px 0 6px;font-size:33px}
 .knj-about .about-heading>p{font-size:14px}
 .knj-about .about-moments-grid{grid-template-columns:1fr 1fr;gap:10px;align-items:stretch}
 .knj-about .about-moment,.knj-about .about-moment-wide{height:252px}
 .knj-about .about-moment-wide{grid-column:1 / -1;grid-row:1;height:255px}
 .knj-about .about-moment figcaption strong{font-size:26px}
 .knj-about .about-moment figcaption small{font-size:8px}
 .knj-about .about-partners-grid{grid-template-columns:1fr;gap:12px}
 .knj-about .about-partner{min-height:150px;padding:18px 18px 18px 16px;grid-template-columns:86px minmax(0,1fr) 18px;column-gap:14px}
 .knj-about .about-partner-logo{height:68px}
 .knj-about .about-outro{padding-block:70px 79px}
 .knj-about .about-outro-panel{border-radius:17px;min-height:0}
 .knj-about .about-outro-content{padding:37px 27px 44px}
 .knj-about .about-outro h2{font-size:clamp(42px,10.5vw,59px)}
 .knj-about .about-outro p{font-size:14px}
 .knj-about .about-outro-actions{gap:23px}
}
@media(prefers-reduced-motion:reduce){
 .knj-about .about-hero-slide,.knj-about .about-hero-slide img{transition:none!important;transform:none!important}
 .knj-about .about-hero-pause{display:none!important}
 .knj-about *, .knj-about *::before, .knj-about *::after{transition-duration:.01ms!important;animation-duration:.01ms!important;scroll-behavior:auto!important}
 .knj-about .fade-up{opacity:1;transform:none}
}

/* Les liens du cadre final reprennent le style exact de « Découvrir notre histoire ». */
.knj-about .about-outro-actions .about-light-link{margin-top:0}
