/* ============================================================
   BETTER CLEANER — PAGE D'ACCUEIL PREMIUM (dark cinematic)
   Scopé .hp — n'affecte que la home.
   ============================================================ */

/* ---------- nav sombre sur la home ---------- */
body.is-home .nav{background:rgba(8,9,11,.55);border-bottom-color:rgba(255,255,255,.08);}
body.is-home .nav-brand{color:#fff;}
body.is-home .nav-brand img{filter:invert(1);}
body.is-home .nav-link{color:rgba(255,255,255,.72);}
body.is-home .nav-link:hover{background:rgba(255,255,255,.1);color:#fff;}
body.is-home .nav-link.active{color:#fff;}
body.is-home .seg{background:rgba(255,255,255,.1);}
body.is-home .seg button{color:rgba(255,255,255,.6);}
body.is-home .seg button.on{background:#fff;color:#0a0a0c;}
body.is-home .nav-acct{border-color:rgba(255,255,255,.25);color:#fff;}
body.is-home .nav-acct .av{background:#fff;color:#0a0a0c;}
body.is-home .nav-burger{color:#fff;}
body.is-home main{padding-top:0;background:#0a0b0d;}

.hp{--amber:#d99a3f;--amber-deep:#bd7a1c;}

/* ============================================================
   HERO — plein cadre cinématique
   ============================================================ */
.hp-hero{position:relative;min-height:min(92vh,940px);display:flex;flex-direction:column;
  justify-content:flex-end;overflow:hidden;color:#fff;padding-bottom:0;}
.hp-hero-bg{position:absolute;inset:-6% 0;z-index:0;will-change:transform;}
.hp-hero-bg img{width:100%;height:100%;object-fit:cover;object-position:50% 42%;}
.hp-hero-grade{position:absolute;inset:0;z-index:1;pointer-events:none;background:
  linear-gradient(180deg,rgba(6,8,10,.38) 0%,rgba(6,8,10,.14) 30%,rgba(6,8,10,.7) 72%,#0a0b0d 100%),
  linear-gradient(90deg,rgba(6,8,10,.74) 0%,rgba(6,8,10,.32) 36%,transparent 64%);}
.hp-hero-in{position:relative;z-index:2;width:100%;padding-top:170px;padding-bottom:120px;}

.hp-chip{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;
  padding:7px 15px;border-radius:980px;color:#fff;
  background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.26);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);margin-bottom:24px;}
.hp-chip .icon{color:var(--amber);}

.hp-h1{font-size:clamp(42px,6.4vw,84px);line-height:1.01;letter-spacing:-.038em;font-weight:700;
  color:#fff;max-width:860px;text-wrap:balance;margin:0;}
.hp-h1 .w{display:inline-block;overflow:hidden;vertical-align:bottom;padding-bottom:.08em;margin-bottom:-.08em;}
.hp-h1 .w i{display:inline-block;font-style:normal;}
.hp-h1 .w.acc i{color:var(--amber);}
/* balayage lumineux ambré sur le titre (comme le CTA final) */
@supports((-webkit-background-clip:text) or (background-clip:text)){
  .hp-h1{background:linear-gradient(100deg,#fff 38%,var(--amber) 50%,#fff 62%);
    background-size:220% 100%;background-position:120% 0;
    -webkit-background-clip:text;background-clip:text;color:transparent;}
  .hp-h1 .w.acc i{background:linear-gradient(0deg,var(--amber),var(--amber));
    -webkit-background-clip:text;background-clip:text;color:transparent;}
}
@media(prefers-reduced-motion:no-preference){
  html.anim-ok .hp-h1{animation:hpShimmer 4.2s ease-in-out 2.1s 3;}
}

.hp-sub{font-size:clamp(16.5px,1.6vw,19.5px);line-height:1.55;color:rgba(255,255,255,.92);
  max-width:540px;margin:22px 0 0;text-shadow:0 1px 22px rgba(0,0,0,.55);}
.hp-ctas{display:flex;gap:14px;margin-top:34px;flex-wrap:wrap;}
.hp-ctas .btn-hero{background:#fff;color:#0a0a0c;}
.hp-ctas .btn-hero:hover{transform:translateY(-2px);box-shadow:0 18px 40px rgba(0,0,0,.45);}
.hp-ctas .btn-hero-ghost{color:#fff;border:1.5px solid rgba(255,255,255,.45);background:transparent;}
.hp-ctas .btn-hero-ghost:hover{background:rgba(255,255,255,.12);border-color:#fff;}

/* note globale des avis, sous les CTA */
.hp-rating{display:flex;align-items:center;gap:10px;margin-top:24px;color:rgba(255,255,255,.88);font-size:14.5px;}
.hp-rating .rv-star{width:17px;height:17px;}
.hp-rating .rv-star .st-base path{fill:rgba(255,255,255,.25);}
.hp-rating-note{font-weight:500;}
.hp-rating-note b{font-weight:800;font-size:16.5px;}
.hp-rating-count{color:rgba(255,255,255,.55);}

/* bandeau stats en verre */
.hp-stats{position:relative;z-index:3;display:grid;grid-template-columns:repeat(4,1fr);
  background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);
  backdrop-filter:blur(20px) saturate(150%);-webkit-backdrop-filter:blur(20px) saturate(150%);
  border-radius:22px;padding:28px 8px;margin-top:-58px;overflow:hidden;
  box-shadow:0 30px 80px -24px rgba(0,0,0,.6);}
.hp-stats::after{content:"";position:absolute;top:-40%;left:0;width:34%;height:180%;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.10),transparent);
  transform:translateX(-180%) skewX(-18deg);}
html.anim-ok .hp-stats.rev.in::after{animation:hpSweep 1.6s var(--ease) .9s both;}
.hp-stat{text-align:center;padding:2px 12px;border-right:1px solid rgba(255,255,255,.1);}
.hp-stat:last-child{border-right:none;}
.hp-stat b{display:block;font-size:clamp(26px,2.6vw,36px);font-weight:700;letter-spacing:-.03em;color:#fff;
  font-variant-numeric:tabular-nums;}
.hp-stat b em{font-style:normal;color:var(--amber);}
.hp-stat span{font-size:13px;color:rgba(255,255,255,.55);font-weight:500;}

/* ============================================================
   SECTIONS COMMUNES
   ============================================================ */
.hp-sec{padding:clamp(80px,10vw,140px) 0 0;}
.hp-eyebrow{display:flex;align-items:center;justify-content:center;gap:10px;font-size:12.5px;font-weight:700;
  letter-spacing:.14em;text-transform:uppercase;color:var(--amber);margin-bottom:18px;text-align:center;}
.hp-eyebrow::before{content:"";width:26px;height:1.5px;background:var(--amber);}
.hp-sec h2{font-size:clamp(32px,3.6vw,52px);letter-spacing:-.03em;line-height:1.05;color:#fff;
  max-width:640px;text-wrap:balance;margin-left:auto;margin-right:auto;text-align:center;}
.hp-sec .hp-lede{font-size:17px;line-height:1.55;color:rgba(255,255,255,.6);max-width:560px;margin-top:16px;margin-left:auto;margin-right:auto;text-align:center;}

/* ============================================================
   UNIVERS — 3 cartes photo
   ============================================================ */
.hp-uni-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(14px,1.6vw,22px);margin-top:44px;}
.hp-card{position:relative;display:block;overflow:hidden;border-radius:24px;aspect-ratio:3/4.1;
  background:#101216;transform:translateZ(0);
  border:2px solid color-mix(in srgb,var(--uc,#8d939c) 62%,#c6ccd4 32%);
  transition:transform .6s var(--ease),box-shadow .6s var(--ease),border-color .6s var(--ease);}
.hp-card::after{content:"";position:absolute;inset:0;border-radius:22px;padding:2.5px;
  background:conic-gradient(from var(--hp-rot,0deg),transparent 0turn .58turn,
    color-mix(in srgb,var(--uc,#fff) 42%,#fff) .8turn,transparent .96turn);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude;
  pointer-events:none;z-index:5;opacity:.8;}
.hp-card:hover{transform:translateY(-10px);border-color:color-mix(in srgb,var(--uc,#fff) 55%,#fff);
  box-shadow:0 50px 100px -40px rgba(0,0,0,.9),0 0 54px -12px color-mix(in srgb,var(--uc,#fff) 65%,transparent);}
.hp-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  transform:scale(1.06);transition:transform 1.2s var(--ease);}
.hp-card:hover img{transform:scale(1.14);}
.hp-card-veil{position:absolute;inset:0;background:
  linear-gradient(180deg,rgba(8,10,14,.0) 30%,rgba(8,10,14,.28) 62%,rgba(8,10,14,.88) 100%);}
.hp-card-shine{position:absolute;top:-30%;left:0;width:40%;height:160%;pointer-events:none;z-index:3;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);
  transform:translateX(-220%) skewX(-18deg);}
.hp-card:hover .hp-card-shine{transform:translateX(320%);transition:transform 1.1s ease;}
html.anim-ok .hp-uni-grid.in .hp-card:nth-child(1) .hp-card-shine{animation:hpSweep 1.3s var(--ease) .5s both;}
html.anim-ok .hp-uni-grid.in .hp-card:nth-child(2) .hp-card-shine{animation:hpSweep 1.3s var(--ease) .75s both;}
html.anim-ok .hp-uni-grid.in .hp-card:nth-child(3) .hp-card-shine{animation:hpSweep 1.3s var(--ease) 1s both;}
.hp-card-cap{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:26px;color:#fff;}
.hp-card-cap small{display:block;font-size:11.5px;font-weight:700;letter-spacing:.16em;
  text-transform:uppercase;color:color-mix(in srgb,var(--uc,#fff) 45%,#fff);margin-bottom:6px;}
.hp-card-cap h3{font-size:clamp(22px,2vw,28px);letter-spacing:-.02em;color:#fff;margin:0;}
.hp-card-cap p{font-size:14px;line-height:1.5;color:rgba(255,255,255,.66);margin:8px 0 0;max-height:0;
  opacity:0;overflow:hidden;transition:max-height .55s var(--ease),opacity .55s var(--ease);}
.hp-card:hover .hp-card-cap p{max-height:80px;opacity:1;}
.hp-card-go{display:inline-flex;align-items:center;gap:7px;margin-top:12px;font-size:13.5px;font-weight:650;color:#fff;}
.hp-card-go .icon-sm{transition:transform .3s var(--ease);}
.hp-card:hover .hp-card-go .icon-sm{transform:translateX(4px);}

/* stagger d'apparition */
html.anim-ok .hp-uni-grid .hp-card{opacity:0;transform:translateY(34px);}
html.anim-ok .hp-uni-grid.in .hp-card{opacity:1;transform:none;transition:opacity .9s var(--ease),transform .9s var(--ease);}
html.anim-ok .hp-uni-grid.in .hp-card:nth-child(2){transition-delay:.12s;}
html.anim-ok .hp-uni-grid.in .hp-card:nth-child(3){transition-delay:.24s;}

/* ============================================================
   PARCOURS — devis / locker / pro
   ============================================================ */
.hp-paths{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(14px,1.6vw,22px);margin-top:44px;}
.hp-path{position:relative;display:block;border-radius:22px;padding:30px 28px;overflow:hidden;
  background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.1);
  transition:transform .5s var(--ease),border-color .5s,background .5s;}
.hp-path-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;
  opacity:.78;filter:saturate(1);transition:opacity .6s var(--ease),transform .9s var(--ease);}
.hp-path:hover .hp-path-bg{opacity:.92;transform:scale(1.05);}
.hp-path::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(180deg,rgba(10,11,13,.18) 0%,rgba(10,11,13,.52) 46%,rgba(10,11,13,.88) 100%);}
.hp-path>*:not(.hp-path-bg){position:relative;z-index:2;}
.hp-path:hover{transform:translateY(-6px);border-color:color-mix(in srgb,var(--a) 65%,transparent);background:rgba(255,255,255,.07);}
.hp-path::before{content:"";position:absolute;top:0;left:0;right:0;height:2px;z-index:3;
  background:linear-gradient(90deg,var(--a),transparent 70%);opacity:.85;}
.hp-path-ic{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;margin-bottom:20px;
  color:var(--a);background:color-mix(in srgb,var(--a) 16%,transparent);
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--a) 30%,transparent);}
.hp-path-ic .icon{width:23px;height:23px;}
.hp-path small{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;
  color:var(--a);margin-bottom:10px;padding:5px 10px;border-radius:999px;
  background:rgba(10,11,13,.62);backdrop-filter:blur(6px);
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--a) 28%,transparent);}
.hp-path h3{font-size:21px;letter-spacing:-.02em;color:#fff;margin:0 0 8px;text-shadow:0 1px 14px rgba(0,0,0,.65);}
.hp-path p{font-size:14px;line-height:1.55;color:rgba(255,255,255,.78);margin:0;text-shadow:0 1px 10px rgba(0,0,0,.6);}
.hp-path-go{display:inline-flex;align-items:center;gap:7px;margin-top:16px;font-size:13.5px;font-weight:650;color:var(--a);}
.hp-path-go .icon-sm{transition:transform .3s var(--ease);}
.hp-path:hover .hp-path-go .icon-sm{transform:translateX(4px);}

/* ============================================================
   MÉTHODE — 4 étapes reliées
   ============================================================ */
.hp-method{position:relative;margin-top:44px;display:grid;grid-template-columns:repeat(4,1fr);
  gap:clamp(14px,1.6vw,22px);}
.hp-step{position:relative;z-index:1;padding-top:2px;}
.hp-method::before{content:"";position:absolute;top:23px;left:4%;right:4%;height:1.5px;z-index:0;
  background:linear-gradient(90deg,var(--amber),rgba(217,154,63,.15));
  transform:scaleX(0);transform-origin:left center;}
html.anim-ok .hp-method.in::before{transition:transform 1.6s var(--ease) .2s;transform:scaleX(1);}
html:not(.anim-ok) .hp-method::before{transform:scaleX(1);}
.hp-step-n{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;margin-bottom:18px;
  font-size:14px;font-weight:800;letter-spacing:.02em;color:var(--amber);
  background:#101216;border:1.5px solid color-mix(in srgb,var(--amber) 55%,transparent);}
.hp-step h4{font-size:18.5px;letter-spacing:-.015em;color:#fff;margin:0 0 8px;}
.hp-step p{font-size:14px;line-height:1.55;color:rgba(255,255,255,.58);margin:0;}
html.anim-ok .hp-method .hp-step{opacity:0;transform:translateY(24px);}
html.anim-ok .hp-method.in .hp-step{opacity:1;transform:none;transition:opacity .8s var(--ease),transform .8s var(--ease);}
html.anim-ok .hp-method.in .hp-step:nth-child(2){transition-delay:.15s;}
html.anim-ok .hp-method.in .hp-step:nth-child(3){transition-delay:.3s;}
html.anim-ok .hp-method.in .hp-step:nth-child(4){transition-delay:.45s;}

/* ============================================================
   CTA FINAL
   ============================================================ */
.hp-cta{position:relative;overflow:hidden;text-align:center;
  padding:clamp(90px,11vw,150px) 0;margin-top:clamp(80px,10vw,140px);}
.fpub .hp-cta{background:#0a0b0d;margin-bottom:0;}
.hp-cta-bg{position:absolute;inset:0;z-index:0;overflow:hidden;}
.hp-cta-bg img{width:100%;height:100%;object-fit:cover;object-position:center 62%;opacity:.52;filter:saturate(.9);}
.hp-cta-bg::after{content:"";position:absolute;inset:0;background:
  linear-gradient(180deg,#0a0b0d 0%,rgba(10,11,13,.5) 40%,rgba(10,11,13,.62) 60%,#0a0b0d 100%);}
.hp-cta .wrap{position:relative;z-index:2;}
.hp-cta::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:
  radial-gradient(60% 90% at 50% 115%, rgba(189,122,28,.22), transparent 70%);}
.hp-cta h2{position:relative;font-size:clamp(36px,4.6vw,64px);letter-spacing:-.035em;line-height:1.03;
  color:#fff;max-width:none;margin:0 auto;text-wrap:balance;}
.hp-cta h2 .shimmer{background:linear-gradient(100deg,#fff 38%,var(--amber) 50%,#fff 62%);
  background-size:220% 100%;background-position:120% 0;-webkit-background-clip:text;background-clip:text;color:transparent;}
@media(prefers-reduced-motion:no-preference){
  .hp-cta h2 .shimmer{animation:hpShimmer 4.5s ease-in-out .6s 3;}
}
.hp-cta p{position:relative;font-size:17px;color:rgba(255,255,255,.6);margin:18px auto 0;max-width:480px;}
.hp-cta .hp-ctas{justify-content:center;margin-top:36px;}
.hp-cta .btn-tel{color:#fff;border:1.5px solid rgba(255,255,255,.3);}
.hp-cta .btn-tel:hover{border-color:#fff;background:rgba(255,255,255,.08);}

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes hpKen{0%{transform:scale(1.05) translate(0,0);}100%{transform:scale(1.15) translate(-1.6%,-2%);}}
@property --hp-rot{syntax:'<angle>';initial-value:0deg;inherits:false;}
@keyframes hpRingSpin{to{--hp-rot:360deg;}}
@media(prefers-reduced-motion:no-preference){
  html.anim-ok .hp-card::after{animation:hpRingSpin 7.5s linear infinite;}
  html.anim-ok .hp-card:nth-child(2)::after{animation-delay:-2.5s;}
  html.anim-ok .hp-card:nth-child(3)::after{animation-delay:-5s;}
  html.anim-ok .hp-card:hover::after{animation-duration:2.8s;opacity:1;}
}
@keyframes hpWordUp{from{transform:translateY(112%);}to{transform:translateY(0);}}
@keyframes hpSweep{0%{transform:translateX(-220%) skewX(-18deg);}100%{transform:translateX(340%) skewX(-18deg);}}
@keyframes hpShimmer{0%,100%{background-position:120% 0;}50%{background-position:-20% 0;}}
@keyframes hpFadeUp{from{opacity:0;transform:translateY(22px);}to{opacity:1;transform:none;}}

/* ---- EN ACTION : reel vidéo ---- */
.hp-reel{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:44px;}
.hp-clip{position:relative;aspect-ratio:3/4;border-radius:18px;overflow:hidden;margin:0;background:#0c0d10;border:1px solid rgba(255,255,255,.08);box-shadow:0 26px 54px -26px rgba(0,0,0,.55);}
.hp-clip video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;opacity:0;transition:opacity .5s ease;}
.hp-clip.is-playing video{opacity:1;}
.hp-clip-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;}
.hp-live{position:absolute;top:12px;left:12px;display:inline-flex;align-items:center;gap:6px;font-size:10.5px;font-weight:700;letter-spacing:.09em;color:#fff;background:rgba(12,13,16,.55);backdrop-filter:blur(6px);padding:4px 10px;border-radius:980px;}
.hp-live i{width:6px;height:6px;border-radius:50%;background:#e25555;animation:hpLive 1.6s ease-in-out infinite;}
.hp-clip.is-still .hp-live{display:none;}
.hp-clip-cap{position:absolute;left:0;right:0;bottom:0;padding:38px 13px 12px;font-size:12.5px;font-weight:600;line-height:1.3;color:#fff;background:linear-gradient(to top,rgba(8,9,12,.86),rgba(8,9,12,.45) 46%,transparent);}
.uni-reel{margin-top:34px;}
.uni-reel .hp-clip{border-color:rgba(18,20,26,.1);box-shadow:0 20px 44px -26px rgba(0,0,0,.38);}
@keyframes hpLive{50%{opacity:.35;}}
@media(max-width:900px){.hp-reel{grid-template-columns:repeat(2,1fr);}}
@media(max-width:560px){.hp-reel{gap:10px;}.hp-clip-cap{font-size:11.5px;padding:30px 10px 10px;}.hp-live{font-size:9.5px;padding:3px 8px;}}
/* ---- AVIS ---- */
.hp-quotes{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:44px;}
.hp-quote{background:#101116;border:1px solid rgba(255,255,255,.09);border-radius:18px;padding:24px;display:flex;flex-direction:column;gap:14px;}
.hp-quote .rv-star{width:15px;height:15px;}
.hp-quote .rv-star .st-base path{fill:rgba(255,255,255,.22);}
.hp-quote p{margin:0;font-size:14.5px;line-height:1.62;color:rgba(255,255,255,.86);}
.hp-quote-by{display:flex;align-items:center;gap:11px;margin-top:auto;}
.hp-quote-av{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:rgba(202,165,90,.16);color:#e3c98c;font-size:12.5px;font-weight:700;flex:none;}
.hp-quote-by b{display:block;font-size:13.5px;color:#fff;}
.hp-quote-by span span{display:block;font-size:12px;color:rgba(255,255,255,.5);}
.hp-quotes-cta{display:flex;justify-content:center;margin-top:30px;}
@media(max-width:1080px) and (min-width:701px){.hp-quotes{grid-template-columns:repeat(2,1fr);}}
@media(max-width:700px){.hp-quotes{grid-template-columns:1fr;}}

@media(prefers-reduced-motion:no-preference){
  html.anim-ok .hp-hero-bg img{animation:hpKen 18s ease-in-out infinite alternate;}
  html.anim-ok .hp-h1 .w i{transform:translateY(112%);animation:hpWordUp .95s var(--ease) both;animation-delay:var(--d,0s);}
  html.anim-ok .hp-chip{opacity:0;animation:hpFadeUp .8s var(--ease) .1s both;}
  html.anim-ok .hp-sub{opacity:0;animation:hpFadeUp .9s var(--ease) .85s both;}
  html.anim-ok .hp-ctas{opacity:0;animation:hpFadeUp .9s var(--ease) 1.05s both;}
  html.anim-ok .hp-rating{opacity:0;animation:hpFadeUp .9s var(--ease) 1.3s both;}
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width:980px){
  .hp-uni-grid{grid-template-columns:1fr;max-width:480px;margin-left:auto;margin-right:auto;}
  .hp-card{aspect-ratio:16/11;}
  .hp-card-cap p{max-height:none;opacity:1;}
  .hp-paths{grid-template-columns:1fr;max-width:520px;margin-left:auto;margin-right:auto;}
  .hp-method{grid-template-columns:1fr 1fr;}
  .hp-method::before{display:none;}
}
@media(max-width:640px){
  .hp-stats{grid-template-columns:1fr 1fr;gap:18px 0;padding:22px 4px;}
  .hp-stat:nth-child(2){border-right:none;}
  .hp-method{grid-template-columns:1fr;}
  .hp-hero{min-height:88vh;}
}

/* bande photo en continuité du hero — triptyque animé */
.hp-cont{position:relative;z-index:2;margin-top:-1px;background:#0a0b0d;overflow:hidden;}
.hp-tri{position:relative;margin:0;overflow:hidden;aspect-ratio:1536/364;background:#0a0b0d;}
.hp-tri:nth-child(2){aspect-ratio:1536/303;}
.hp-tri:nth-child(3){aspect-ratio:1536/336;}
.hp-tri:nth-child(4){aspect-ratio:1536/640;}
.hp-tri-ph{position:absolute;inset:0;display:block;overflow:hidden;}
.hp-tri-ph img{width:100%;height:100%;object-fit:cover;display:block;transform-origin:50% 50%;}
.hp-tri-veil{position:absolute;inset:0;pointer-events:none;background:
  linear-gradient(90deg,rgba(6,8,10,.82) 0%,rgba(6,8,10,.52) 34%,rgba(6,8,10,.06) 62%,transparent 100%);}
.hp-tri-r .hp-tri-veil{background:linear-gradient(270deg,rgba(6,8,10,.82) 0%,rgba(6,8,10,.52) 34%,rgba(6,8,10,.06) 62%,transparent 100%);}
.hp-tri:first-child::before{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;
  background:linear-gradient(180deg,#0a0b0d 0%,rgba(10,11,13,.5) 9%,transparent 26%);}
.hp-tri:last-child::after{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;
  background:linear-gradient(180deg,transparent 74%,rgba(12,13,16,.55) 92%,#0c0d10 100%);}
.hp-tri-wipe{position:absolute;inset:0;z-index:2;pointer-events:none;background:#0a0b0d;transform:scaleX(0);transform-origin:100% 50%;}
.hp-tri-cap{position:absolute;z-index:4;bottom:clamp(20px,4.4vw,54px);left:max(24px,calc(50vw - 570px));
  width:min(48%,540px);color:#fff;}
.hp-tri-r .hp-tri-cap{left:auto;right:max(24px,calc(50vw - 570px));text-align:right;}
.hp-tri-k{display:inline-block;font-size:11.5px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;
  color:var(--amber);margin-bottom:10px;}
.hp-tri-t{font-size:clamp(22px,2.7vw,40px);line-height:1.04;letter-spacing:-.03em;font-weight:700;margin:0;
  text-wrap:balance;text-shadow:0 2px 30px rgba(0,0,0,.55);}
.hp-tri-w{display:inline-block;overflow:hidden;vertical-align:bottom;}
.hp-tri-w i{display:inline-block;font-style:normal;}
.hp-tri-rule{display:block;width:0;height:2px;margin:14px 0 12px;background:var(--amber);}
.hp-tri-r .hp-tri-rule{margin-left:auto;}
.hp-tri-cap p{margin:0;font-size:clamp(13.5px,1.15vw,16px);line-height:1.5;color:rgba(255,255,255,.78);
  max-width:420px;text-shadow:0 1px 18px rgba(0,0,0,.6);}
.hp-tri-r .hp-tri-cap p{margin-left:auto;}

html.anim-ok .hp-tri.rev{opacity:1;transform:none;}
html.anim-ok .hp-tri .hp-tri-ph img{transform:scale(1.16);}
html.anim-ok .hp-tri .hp-tri-w i,html.anim-ok .hp-tri .hp-tri-k,html.anim-ok .hp-tri .hp-tri-cap p{opacity:0;}
html.anim-ok .hp-tri.in .hp-tri-wipe{animation:triWipe 1.05s cubic-bezier(.76,0,.24,1) both;}
html.anim-ok .hp-tri.in .hp-tri-ph img{animation:triZoom 9s cubic-bezier(.16,.7,.24,1) .1s forwards;}
html.anim-ok .hp-tri.in .hp-tri-k{animation:triUp .7s var(--ease) .26s both;}
html.anim-ok .hp-tri.in .hp-tri-w i{animation:triWord .82s cubic-bezier(.2,.8,.2,1) both;}
html.anim-ok .hp-tri.in .hp-tri-rule{animation:triRule .8s var(--ease) .62s both;}
html.anim-ok .hp-tri.in .hp-tri-cap p{animation:triUp .8s var(--ease) .74s both;}
@keyframes triWipe{0%{transform:scaleX(1)}100%{transform:scaleX(0)}}
@keyframes triZoom{0%{transform:scale(1.16)}100%{transform:scale(1)}}
@keyframes triWord{0%{opacity:0;transform:translateY(112%) rotate(2deg)}100%{opacity:1;transform:none}}
@keyframes triUp{0%{opacity:0;transform:translateY(16px)}100%{opacity:1;transform:none}}
@keyframes triRule{0%{width:0}100%{width:64px}}
@media(prefers-reduced-motion:reduce){
  html.anim-ok .hp-tri .hp-tri-ph img{transform:none;animation:none;}
  html.anim-ok .hp-tri .hp-tri-w i,html.anim-ok .hp-tri .hp-tri-k,html.anim-ok .hp-tri .hp-tri-cap p{opacity:1;animation:none;}
  html.anim-ok .hp-tri .hp-tri-wipe{display:none;}
  html.anim-ok .hp-tri .hp-tri-rule{width:64px;animation:none;}
}
@media(max-width:900px){
  .hp-tri,.hp-tri:nth-child(2),.hp-tri:nth-child(3),.hp-tri:nth-child(4){aspect-ratio:16/11;}
  .hp-tri-cap,.hp-tri-r .hp-tri-cap{left:22px;right:22px;width:auto;text-align:left;}
  .hp-tri-r .hp-tri-rule,.hp-tri-r .hp-tri-cap p{margin-left:0;margin-right:auto;}
  .hp-tri-veil,.hp-tri-r .hp-tri-veil{background:linear-gradient(180deg,transparent 20%,rgba(6,8,10,.5) 58%,rgba(6,8,10,.88) 100%);}
  .hp-tri-t{font-size:clamp(21px,5.4vw,30px);}
}

/* ---------- section histoire (accueil) ---------- */
.hist-sec{position:relative;overflow:hidden;background:#0c0d10;}
.hist-bg{position:absolute;inset:0;overflow:hidden;pointer-events:none;}
.hist-bg img{width:100%;height:100%;object-fit:cover;object-position:50% 42%;filter:blur(26px) saturate(1.08);transform:scale(1.16);}
.hist-bg::after{content:"";position:absolute;inset:0;background:
  linear-gradient(180deg,rgba(10,10,12,.9) 0%,rgba(12,11,10,.84) 42%,rgba(10,10,12,.93) 100%);}
.hist-sec::before{content:"";position:absolute;inset:-14% -8%;pointer-events:none;background:
  radial-gradient(ellipse 58% 44% at 16% 90%,rgba(201,132,44,.32),transparent 70%),
  radial-gradient(ellipse 50% 38% at 88% 4%,rgba(150,96,32,.2),transparent 72%);}
.hist-sec::after{content:"";position:absolute;top:0;left:50%;transform:translateX(-50%);width:min(1080px,90vw);height:1px;
  pointer-events:none;background:linear-gradient(90deg,transparent,rgba(217,154,63,.34) 22%,rgba(217,154,63,.34) 78%,transparent);}
.hist-sec .wrap{position:relative;}
.hist-head{max-width:760px;margin:0 auto clamp(26px,3.4vw,44px);text-align:center;}
.hist-head-k{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:#8a8781;margin-bottom:14px;}
.hist-head-t{font-size:clamp(28px,4vw,52px);line-height:1.02;letter-spacing:-.035em;font-weight:700;color:#0a0a0c;margin:0;text-wrap:balance;}
.hh-w{display:inline-block;overflow:hidden;vertical-align:bottom;}
.hh-w i{display:inline-block;font-style:normal;}
.hist-head-rule{display:block;width:0;height:2px;margin:22px auto 0;background:var(--amber);}
.hist-sec .hist-anim{position:relative;padding-left:clamp(20px,3vw,34px);}
.hist-sec .hist-anim::before{content:"";position:absolute;left:0;top:6px;bottom:6px;width:1px;
  background:linear-gradient(180deg,var(--amber) 0%,rgba(138,135,129,.34) 22%,rgba(138,135,129,.14) 100%);
  transform:scaleY(0);transform-origin:50% 0;}
.hist-sec .hist-anim>p:first-child::first-letter{float:left;font-size:3.05em;line-height:.84;font-weight:700;color:#0a0a0c;margin:.04em .11em 0 0;}

html.anim-ok .hist-head.rev,html.anim-ok .hist-sec .hist-anim.rev{opacity:1;transform:none;}
html.anim-ok .hist-head .hh-w i,html.anim-ok .hist-head .hist-head-k{opacity:0;}
html.anim-ok .hist-head.in .hist-head-k{animation:histUp .7s var(--ease) .06s both;}
html.anim-ok .hist-head.in .hh-w i{animation:histWord .9s cubic-bezier(.2,.8,.2,1) both;}
html.anim-ok .hist-head.in .hist-head-rule{animation:histRule .85s var(--ease) .58s both;}
html.anim-ok .hist-sec .hist-anim>*{opacity:0;}
html.anim-ok .hist-sec .hist-anim.in::before{animation:histThread 1.5s cubic-bezier(.22,1,.36,1) .1s both;}
html.anim-ok .hist-sec .hist-anim.in>*{animation:histUp .78s var(--ease) both;}
html.anim-ok .hist-sec .hist-anim.in>:nth-child(1){animation-delay:.16s}
html.anim-ok .hist-sec .hist-anim.in>:nth-child(2){animation-delay:.28s}
html.anim-ok .hist-sec .hist-anim.in>:nth-child(3){animation-delay:.4s}
html.anim-ok .hist-sec .hist-anim.in>:nth-child(4){animation-delay:.52s}
html.anim-ok .hist-sec .hist-anim.in>:nth-child(5){animation-delay:.64s}
html.anim-ok .hist-sec .hist-anim.in>:nth-child(n+6){animation-delay:.74s}
@keyframes histWord{0%{opacity:0;transform:translateY(112%) rotate(2deg)}100%{opacity:1;transform:none}}
@keyframes histUp{0%{opacity:0;transform:translateY(15px)}100%{opacity:1;transform:none}}
@keyframes histRule{0%{width:0}100%{width:72px}}
@keyframes histThread{0%{transform:scaleY(0)}100%{transform:scaleY(1)}}
@media(prefers-reduced-motion:reduce){
  html.anim-ok .hist-head .hh-w i,html.anim-ok .hist-head .hist-head-k,html.anim-ok .hist-sec .hist-anim>*{opacity:1;animation:none;}
  .hist-head-rule{width:72px;}
  .hist-sec .hist-anim::before{transform:none;}
}
@media(max-width:640px){.hist-sec .hist-anim{padding-left:16px;}.hist-head{text-align:left;}.hist-head-rule{margin-left:0;}}

.hist-sec .hist-body p{color:#463f36;}
.hist-sec .hist-dash-list li{color:#463f36;}
.hist-sec .hist-head-k{color:#9a7a45;}
.hist-sec .hist-anim>p:first-child::first-letter{color:#7a5a24;}
.hist-sec .hist-anim::before{background:linear-gradient(180deg,var(--amber) 0%,rgba(154,122,69,.4) 22%,rgba(154,122,69,.16) 100%);}

.hist-world .hist-sec .hist-body p,.hist-world .hist-sec .hist-dash-list li{color:rgba(255,255,255,.76);}
.hist-world .hist-sec .hist-doc .hist-pull-inline,.hist-world .hist-sec .hist-sign{color:#fff;}
.hist-world .hist-sec .hist-dash-list .hd-dash{color:var(--amber);}
.hist-world .hist-sec .hist-head-t{color:#fff;}
.hist-world .hist-sec .hist-head-k{color:var(--amber);}
.hist-world .hist-sec .hist-anim>p:first-child::first-letter{color:var(--amber);}
.hist-world .hist-sec .hist-body p,.hist-world .hist-sec .hist-dash-list li,.hist-world .hist-sec .hist-head-t{text-shadow:0 1px 22px rgba(0,0,0,.45);}
.hist-sec .hist-anim::before{background:linear-gradient(180deg,var(--amber) 0%,rgba(217,154,63,.3) 26%,rgba(255,255,255,.08) 100%);}
.hist-sec .btn-primary{background:var(--amber);color:#12100c;}
.hist-sec .btn-primary:hover{background:#e8ad55;}
