/* KNJ Aventures — Accueil éditorial premium. Chargé uniquement par index.html. */
.knj-home {
  --home-deep:#254e42;
  --home-forest:#2f5f4f;
  --home-terracotta:#a95521;
  --home-ink:#213b33;
  --home-paper:#faf7f1;
  --home-line:rgba(47,95,79,.16);
  font-family:'DM Sans',Arial,sans-serif;
  background:var(--home-paper);
  color:var(--home-ink);
  overflow:hidden;
}
.knj-home *, .knj-home *::before,.knj-home *::after{box-sizing:border-box}
.knj-home .home-wide{width:min(calc(100% - 96px),1280px);margin-inline:auto}
.knj-home h1,.knj-home h2,.knj-home h3,.knj-home p{margin:0}
.knj-home h1,.knj-home h2{font-family:'DM Serif Display',Georgia,serif;font-weight:400;letter-spacing:-.032em;line-height:.99}
.knj-home h1 em,.knj-home h2 em{font-weight:400;color:var(--home-terracotta)}
.knj-home h2{font-size:clamp(37px,4.8vw,66px)}
.knj-home a:focus-visible{outline:3px solid #bd6a37;outline-offset:5px}
.knj-home .home-kicker,.knj-home .home-overline{font-size:11px;font-weight:800;letter-spacing:.17em;color:var(--home-terracotta)}
.knj-home .home-section{padding-block:108px}

/* KNJ AVENTURES — BOUTONS PREMIUM */

.knj-home a.home-inline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 24px;
  min-height: 48px;
  gap: 0;

  background: #2F5F4F;
  color: #FFFFFF;

  border: 2px solid transparent;
  border-radius: 12px;

  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.3;
  text-decoration: none;

  cursor: pointer;

  transition:
    background-color .25s ease,
    border-color .25s ease,
    color .25s ease,
    transform .25s ease;
}

/* SURVOL */
.knj-home a.home-inline-link:hover {
  background: #1D4336;
  color: #FFFFFF;
  gap: 0;
  transform: translateY(-2px);
}

/* CLIC */
.knj-home a.home-inline-link:active {
  background: transparent;
  border-color: #2F5F4F;
  color: #2F5F4F;
  transform: translateY(0);
}

/* NAVIGATION AU CLAVIER */
.knj-home a.home-inline-link:focus-visible {
  outline: 3px solid #A95521;
  outline-offset: 3px;
}

/* DÉSACTIVÉ */
.knj-home a.home-inline-link.is-disabled,
.knj-home a.home-inline-link[aria-disabled="true"] {
  background: #A6B8AD;
  color: #F5F5F1;
  cursor: not-allowed;
  transform: none;
}

/* SUPPRESSION DES FLÈCHES */
.knj-home a.home-inline-link > span[aria-hidden="true"] {
  display: none;
}

/* Bandeau photo immersive : les images sont des fonds, sans blocs supplémentaires. */
.knj-home .home-hero{
  position:relative;isolation:isolate;display:flex;align-items:center;
  min-height:clamp(680px,calc(100svh - 82px),880px);
  padding:106px 0 130px;background:#203c30;overflow:hidden;color:#fff;
}
.knj-home .home-hero-scenes,.knj-home .home-hero-scrim{position:absolute;inset:0;pointer-events:none}
.knj-home .home-hero-scenes{z-index:0}
.knj-home .home-hero-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity 1.5s ease,visibility 1.5s ease}
.knj-home .home-hero-slide.is-active{opacity:1;visibility:visible}
.knj-home .home-hero-slide img{width:100%;height:100%;object-fit:cover;object-position:center 51%;transform:scale(1.035);transition:transform 8s ease-out}
.knj-home .home-hero-slide.is-active img{transform:scale(1)}
.knj-home .home-hero-slide:nth-child(2) img{object-position:center 42%}
.knj-home .home-hero-slide:nth-child(3) img{object-position:center 52%}
.knj-home .home-hero-scrim{
  z-index:1;
  background:linear-gradient(90deg,rgba(12,32,27,.88) 0%,rgba(17,39,32,.80) 30%,rgba(16,39,33,.47) 65%,rgba(12,37,32,.22) 100%),
             linear-gradient(0deg,rgba(11,31,25,.56) 0%,transparent 28%);
}
.knj-home .home-hero-content{position:relative;z-index:2}
.knj-home .home-hero-copy{max-width:790px;padding:0 0 12px 5px;position:relative;z-index:1}
.knj-home .home-overline{display:flex;align-items:center;gap:13px;white-space:normal;color:#f2c49d}
.knj-home .home-overline-line{display:inline-block;width:36px;height:1px;background:#edc39c;flex:none}
.knj-home .home-hero h1{font-size:clamp(58px,7.2vw,108px);color:#fff;margin:29px 0 28px;max-width:820px;text-wrap:balance;text-shadow:0 2px 20px rgba(0,0,0,.08)}
.knj-home .home-hero h1 em{display:inline;color:#f0c399}
.knj-home .home-hero-lead{font-size:clamp(15px,1.35vw,18px);color:rgba(255,255,255,.91);max-width:575px;line-height:1.85;text-wrap:pretty}
.knj-home .home-hero-actions{display:flex;align-items:center;gap:31px;flex-wrap:wrap;margin-top:38px}
.knj-home .home-button{display:inline-flex;align-items:center;gap:38px;justify-content:space-between;min-height:57px;padding:16px 22px 16px 27px;border-radius:100px;font-size:13px;font-weight:800;letter-spacing:.01em;transition:transform .3s ease,box-shadow .3s ease,background .3s ease}
.knj-home .home-button:hover{transform:translateY(-3px)}
.knj-home .home-button-solid{background:#f8ede0;color:#214839;box-shadow:0 16px 44px rgba(3,25,17,.24)}
.knj-home .home-button-solid:hover{background:#fff6e9;box-shadow:0 20px 44px rgba(3,25,17,.31)}
.knj-home .home-button span{font-size:21px;font-weight:400}
.knj-home .home-text-link{display:inline-flex;gap:12px;align-items:center;color:#fff;font-size:13px;font-weight:800;border-bottom:1px solid rgba(255,255,255,.62);padding-bottom:5px;transition:gap .3s,border-color .3s}
.knj-home .home-text-link:hover{gap:19px;border-color:#fff}
.knj-home .home-hero-controls{position:absolute;z-index:3;right:max(32px,calc((100% - 1280px) / 2));bottom:35px;display:flex;align-items:center;gap:13px}
.knj-home .home-hero-scene-button{min-width:96px;padding:14px 5px 6px;border:0;border-top:1px solid rgba(255,255,255,.42);background:none;color:rgba(255,255,255,.75);display:flex;align-items:center;gap:8px;text-align:left;font-family:'DM Sans',Arial,sans-serif;cursor:pointer;transition:border-color .25s,color .25s}
.knj-home .home-hero-scene-button:hover,.knj-home .home-hero-scene-button.is-active{border-top-color:#f1c7a3;color:#fff}
.knj-home .home-hero-scene-index{font-size:12px;font-weight:800}
.knj-home .home-hero-scene-name{font-size:9px;letter-spacing:.09em;font-weight:800}
.knj-home .home-hero-pause{width:35px;height:35px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.45);border-radius:50%;background:rgba(7,31,25,.22);color:white;cursor:pointer;font-size:13px;line-height:1;transition:background .2s}
.knj-home .home-hero-pause:hover{background:rgba(255,255,255,.23)}
.knj-home .home-hero-controls button:focus-visible{outline:2px solid #fff;outline-offset:4px}
/* Titres et grilles immersives */
.knj-home .home-heading-row{display:grid;grid-template-columns:1.1fr .9fr;align-items:end;gap:50px;margin-bottom:38px}
.knj-home .home-heading-row h2{margin-top:16px;max-width:680px}
.knj-home .home-heading-row>p{font-size:16px;line-height:1.85;color:#637267;max-width:445px;justify-self:end}
.knj-home .home-horizons{padding-top:103px}
.knj-home .home-horizons-grid{display:grid;grid-template-columns:1fr 1.07fr 1fr;gap:19px;align-items:end}
.knj-home .home-horizon{position:relative;display:block;overflow:hidden;border-radius:12px;isolation:isolate;height:352px;background:#d9d4c8}
.knj-home .home-horizon:nth-child(2){height:403px}
.knj-home .home-horizon img{height:100%;width:100%;object-fit:cover;transition:transform .7s ease}
.knj-home .home-horizon:hover img{transform:scale(1.055)}
.knj-home .home-horizon-mask{position:absolute;inset:0;background:linear-gradient(to top,rgba(11,39,29,.78),transparent 53%)}
.knj-home .home-horizon-label{position:absolute;left:24px;bottom:28px;display:grid;gap:10px;color:#fff}
.knj-home .home-horizon-label small{font-size:9px;font-weight:800;letter-spacing:.16em;color:#e8d3b5}
.knj-home .home-horizon-label strong{font-family:'DM Serif Display',Georgia,serif;font-size:30px;line-height:1;font-weight:400}
.knj-home .home-horizon-arrow{position:absolute;right:22px;bottom:27px;color:white;font-size:26px;font-weight:300}
/* La route — composition éditoriale */
.knj-home .home-road-section{background:#f1eee6;padding-block:103px}
.knj-home .home-road-layout{display:grid;grid-template-columns:1.06fr .94fr;gap:9%;align-items:center}
.knj-home .home-road-photo{position:relative;height:475px;border-radius:14px;overflow:hidden;box-shadow:0 24px 50px rgba(38,61,50,.08)}
/* Vidéo RN7 : remplace l'image, sans photo de secours ni bouton de lecture. */
.knj-home .home-road-photo{isolation:isolate;background:#213b33}
.knj-home .home-road-video{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 50%;background:#213b33}
.knj-home .home-road-photo::after{content:"";inset:55% 0 0;position:absolute;z-index:1;pointer-events:none;background:linear-gradient(transparent,rgba(4,34,25,.45))}
.knj-home .home-road-photo-tag{position:absolute;bottom:24px;left:26px;font-size:10px;letter-spacing:.16em;color:#fff;font-weight:800;z-index:2;pointer-events:none}
.knj-home .home-road-copy h2{margin-top:19px;font-size:clamp(37px,4.2vw,58px)}
.knj-home .home-road-copy>p{font-size:16px;color:#5f7166;line-height:1.9;margin:22px 0 28px;max-width:490px}
.knj-home .home-route-stages{display:flex;gap:11px;align-items:center;flex-wrap:wrap;padding:0 0 31px;color:#435c50;font-size:12px;font-weight:800}
.knj-home .home-route-stages i{height:3px;width:3px;background:var(--home-terracotta);border-radius:50%}
/* Les 3 offres */
.knj-home .home-tours{background:var(--home-paper);padding-top:114px}
.knj-home .home-tours-heading{margin-bottom:43px}
.knj-home .home-tours-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px;align-items:start}
.knj-home .home-tour-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid rgba(47,95,79,.09);border-radius:17px;overflow:hidden;box-shadow:0 18px 40px rgba(34,51,41,.055);transition:transform .35s ease,box-shadow .35s ease;cursor:pointer;text-decoration:none;color:inherit}
.knj-home .home-tour-card:hover{transform:translateY(-6px);box-shadow:0 30px 60px rgba(34,51,41,.13)}
.knj-home .home-tour-card:focus-visible{outline:3px solid var(--home-terracotta);outline-offset:4px}
.knj-home .home-tour-media{display:block;position:relative;height:247px;overflow:hidden;background:#c4c7b9}
.knj-home .home-tour-media img{height:100%;width:100%;object-fit:cover;transition:transform .75s ease}
.knj-home .home-tour-card:hover .home-tour-media img{transform:scale(1.045)}
.knj-home .home-tour-image-tag{position:absolute;bottom:17px;left:18px;padding:8px 12px;background:#fffdf8;color:var(--home-deep);border-radius:40px;font-size:10px;font-weight:800;letter-spacing:.13em}
.knj-home .home-tour-image-tag-soft{background:#f1e8da}
.knj-home .home-tour-card-premium .home-tour-media img{filter:saturate(.8)}
.knj-home .home-tour-body{display:flex;flex-direction:column;flex:1;padding:25px 26px 24px}
.knj-home .home-tour-eyebrow{font-size:10px;color:var(--home-terracotta);letter-spacing:.16em;font-weight:800}
.knj-home .home-tour-body h3{color:var(--home-deep);font-family:'DM Serif Display',Georgia,serif;font-size:40px;font-weight:400;letter-spacing:-.02em;margin:12px 0 8px}
.knj-home .home-tour-body>p{font-size:14px;color:#69796d;line-height:1.8;min-height:0;margin:0 0 12px}
.knj-home .home-tour-price{border-top:1px solid var(--home-line);padding-top:15px;display:flex;align-items:end;justify-content:flex-start;gap:14px;margin-top:0}
.knj-home .home-tour-price>div{display:flex;flex-direction:column;gap:4px}
.knj-home .home-tour-price small{font-size:10px;color:#78877d}
.knj-home .home-tour-price strong{font-size:26px;font-weight:800;letter-spacing:-.04em;color:var(--home-deep)}
.knj-home .home-tours-foot{display:flex;gap:20px;align-items:center;justify-content:space-between;margin-top:28px}
.knj-home .home-tours-foot p{font-size:12px;line-height:1.7;color:#869086;max-width:560px}
/* ADN KNJ */
.knj-home .home-difference{background:#f4efe5;padding-block:101px}
.knj-home .home-difference-layout{display:grid;grid-template-columns:1fr .94fr;gap:8%;align-items:center}
.knj-home .home-difference-text h2{margin:19px 0 19px;max-width:590px}
.knj-home .home-difference-text>p{font-size:16px;line-height:1.85;color:#647369;margin-bottom:27px}
.knj-home .home-benefits{display:grid;margin-bottom:26px}
.knj-home .home-benefits>div{display:grid;grid-template-columns:35px 1fr;gap:20px;padding:17px 0;border-top:1px solid rgba(47,95,79,.16)}
.knj-home .home-benefits>div:last-child{border-bottom:1px solid rgba(47,95,79,.16)}
.knj-home .home-benefits>div>span{font-size:12px;color:var(--home-terracotta);font-weight:800}
.knj-home .home-benefits p{display:flex;flex-direction:column;gap:5px}
.knj-home .home-benefits strong{font-size:15px;color:var(--home-deep);font-weight:800}
.knj-home .home-benefits small{font-size:13px;color:#66776d;line-height:1.65}
.knj-home .home-difference-visual{margin:0;height:590px;position:relative;overflow:hidden;border-radius:210px 210px 10px 10px;background:#c7cfbc}
.knj-home .home-difference-visual img{width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .9s ease}
.knj-home .home-difference-visual:hover img{transform:scale(1.05)}
.knj-home .home-difference-visual::after{content:"";position:absolute;inset:50% 0 0;background:linear-gradient(transparent,rgba(17,34,26,.65))}
.knj-home .home-difference-visual figcaption{position:absolute;bottom:32px;left:32px;z-index:1;display:flex;flex-direction:column;gap:4px;color:white}
.knj-home .home-difference-visual figcaption strong{font-family:'DM Serif Display',Georgia,serif;font-size:36px;font-weight:400}
.knj-home .home-difference-visual figcaption span{font-size:11px;letter-spacing:.08em}
/* CTA final, sobre et contrasté */
.knj-home .home-final-section{padding:93px 0 100px;background:#faf7f1}
.knj-home .home-final-panel{position:relative;overflow:hidden;background:linear-gradient(117deg,#234d40,#315f4d);border-radius:24px;min-height:360px;box-shadow:0 26px 58px rgba(25,66,53,.12)}
.knj-home .home-final-panel::before{content:"";position:absolute;inset:0;opacity:.35;background:radial-gradient(circle at 93% 20%,rgba(221,175,106,.23),transparent 43%)}
.knj-home .home-final-inner{position:relative;z-index:1;padding:58px 69px;max-width:770px}
.knj-home .home-final-panel .home-kicker{color:#dfb88c}
.knj-home .home-final-panel h2{font-size:clamp(42px,5.2vw,72px);color:#fff;margin-top:17px}
.knj-home .home-final-panel h2 em{color:#e4bf98}
.knj-home .home-final-panel p{font-size:15px;line-height:1.8;color:rgba(255,255,255,.76);margin-top:20px;max-width:560px}
.knj-home .home-final-actions{display:flex;gap:25px;align-items:center;flex-wrap:wrap;margin-top:30px}
.knj-home .home-button-light{background:#f9f1e6;color:#294e42}
.knj-home .home-button-light:hover{background:#fff}
.knj-home .home-final-text-link{color:#fff;font-size:13px;font-weight:800;display:flex;align-items:center;gap:11px;border-bottom:1px solid rgba(255,255,255,.45);padding-bottom:5px}
.knj-home .home-final-ornament{position:absolute;right:40px;top:50%;transform:translateY(-50%);font-size:230px;line-height:1;color:rgba(233,213,180,.10);font-family:'DM Serif Display',Georgia,serif;font-style:italic;user-select:none}
.knj-home .home-final-ornament span{font-size:90px;position:absolute;bottom:-18px;left:30px}
/* Animations : apparition déjà gérée par main.js; hover très subtil. */
@media(max-width:1100px){
 .knj-home .home-horizon{height:305px}
 .knj-home .home-horizon:nth-child(2){height:342px}
 .knj-home .home-road-layout,.knj-home .home-difference-layout{gap:6%}
}
@media(max-width:900px){
 .knj-home .home-wide{width:min(calc(100% - 56px),720px)}
 .knj-home .home-section{padding-block:78px}
 .knj-home .home-heading-row{grid-template-columns:1fr;gap:18px}
 .knj-home .home-heading-row>p{justify-self:start;max-width:650px}
 .knj-home .home-horizons-grid{gap:12px}
 .knj-home .home-horizon{height:252px}
 .knj-home .home-horizon:nth-child(2){height:292px}
 .knj-home .home-horizon-label{left:15px;bottom:20px}
 .knj-home .home-horizon-label strong{font-size:23px}
 .knj-home .home-horizon-arrow{right:12px;bottom:17px}
 .knj-home .home-road-layout,.knj-home .home-difference-layout{grid-template-columns:1fr;gap:36px}
 .knj-home .home-road-photo{height:420px}
 .knj-home .home-difference-visual{height:400px;border-radius:18px;max-width:100%}
 .knj-home .home-tours-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .knj-home .home-tour-card-premium{grid-column:1 / -1;display:grid;grid-template-columns: .85fr 1.15fr}
 .knj-home .home-tour-card-premium .home-tour-media{height:100%;min-height:240px}
 .knj-home .home-tour-card-premium .home-tour-body>p{min-height:0}
 .knj-home .home-tours-foot{flex-wrap:wrap}
}
@media(max-width:620px){
 .knj-home .home-wide{width:calc(100% - 36px)}
 .knj-home .home-section{padding-block:64px}
 .knj-home .home-button{min-height:52px;font-size:12px;padding:13px 18px 13px 21px;gap:26px}
 .knj-home h2{font-size:clamp(37px,9.3vw,46px)}
 .knj-home .home-heading-row{gap:15px;margin-bottom:26px}
 .knj-home .home-heading-row>p{font-size:14px}
 .knj-home .home-horizons-grid{grid-template-columns:1fr 1fr;gap:10px}
 .knj-home .home-horizon{height:230px}
 .knj-home .home-horizon:nth-child(2){height:230px}
 .knj-home .home-horizon:nth-child(3){grid-column:1 / -1;height:230px}
 .knj-home .home-horizon-label small{font-size:9px}
 .knj-home .home-horizon-label strong{font-size:24px}
 .knj-home .home-road-photo{height:315px}
 .knj-home .home-road-copy h2{font-size:clamp(36px,8.8vw,52px)}
 .knj-home .home-road-copy>p{font-size:14px}
 .knj-home .home-route-stages{font-size:11px;gap:9px}
 .knj-home .home-tours-grid{grid-template-columns:1fr;gap:17px}
 .knj-home .home-tour-card-premium{grid-column:auto;display:flex}
 .knj-home .home-tour-card-premium .home-tour-media{height:225px;min-height:0}
 .knj-home .home-tour-media{height:235px}
 .knj-home .home-tour-body{padding:23px}
 .knj-home .home-tour-body>p{min-height:0}
 .knj-home .home-tours-foot{margin-top:24px}
 .knj-home .home-difference-visual{height:330px}
 .knj-home .home-difference-text h2{font-size:clamp(37px,9vw,48px)}
 .knj-home .home-final-section{padding:63px 0 76px}
 .knj-home .home-final-panel{border-radius:15px}
 .knj-home .home-final-inner{padding:36px 26px 42px}
 .knj-home .home-final-panel h2{font-size:clamp(39px,10vw,53px)}
 .knj-home .home-final-panel p{font-size:14px}
 .knj-home .home-final-ornament{font-size:130px;right:5px;bottom:-35px;top:auto;transform:none}
 .knj-home .home-final-actions{gap:19px}
}
@media(max-width:370px){
 .knj-home .home-horizon-label strong{font-size:21px}
 .knj-home .home-tour-price strong{font-size:23px}
 .knj-home .home-route-stages{gap:7px}
}
/* Diaporama : gabarits responsive et lisibilité sur mobile. */
@media(max-width:900px){
  .knj-home .home-hero{min-height:690px;padding:100px 0 120px}
  .knj-home .home-hero-copy{max-width:700px;padding:0}
  .knj-home .home-hero h1{font-size:clamp(58px,9vw,88px)}
  .knj-home .home-hero-lead{max-width:520px}
  .knj-home .home-hero-controls{bottom:27px;right:28px}
  .knj-home .home-hero-slide img{object-position:57% center}
}
@media(max-width:620px){
  .knj-home .home-hero{min-height:clamp(660px,calc(100svh - 70px),840px);padding:84px 0 152px;align-items:center}
  .knj-home .home-hero-copy{padding:0}
  .knj-home .home-hero h1{font-size:clamp(49px,11.8vw,68px);line-height:1.05;margin:23px 0 23px}
  .knj-home .home-hero-lead{font-size:14px;line-height:1.75;max-width:440px}
  .knj-home .home-overline{font-size:9px;letter-spacing:.15em}
  .knj-home .home-hero-actions{gap:22px;margin-top:27px}
  .knj-home .home-button{min-height:53px;font-size:12px;padding:13px 18px 13px 20px;gap:23px}
  .knj-home .home-hero-scrim{background:linear-gradient(90deg,rgba(10,32,25,.80),rgba(14,36,28,.49)),linear-gradient(0deg,rgba(10,32,25,.75),rgba(13,34,28,.19) 65%)}
  .knj-home .home-hero-slide img{object-position:58% center}
  .knj-home .home-hero-slide:nth-child(2) img{object-position:54% center}
  .knj-home .home-hero-slide:nth-child(3) img{object-position:58% center}
  .knj-home .home-hero-controls{left:18px;right:18px;bottom:23px;justify-content:flex-end;gap:10px}
  .knj-home .home-hero-scene-button{min-width:48px;justify-content:center;padding:12px 6px 6px}
  .knj-home .home-hero-scene-name{display:none}
  .knj-home .home-hero-pause{width:32px;height:32px}
}
@media(prefers-reduced-motion:reduce){
  .knj-home .home-hero-slide,.knj-home .home-hero-slide img{transition:none!important;transform:none!important}
  .knj-home .home-hero-pause{display:none!important}
}
@media(prefers-reduced-motion:reduce){
 .knj-home *, .knj-home *::before,.knj-home *::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}
 .knj-home .fade-up{opacity:1;transform:none}
}
