/* HF Hero — v1.0.4 — FCF WebDesign */

/* ============ Variables & racine ============ */
.hf-w.hf-hero{
  --hf-primary:#e30613;
  --hf-secondary:#111111;
  --hf-dark:#0b0b0d;
  --hf-text:#ffffff;
  --hf-surtitre:var(--hf-primary);
  --hf-titre:var(--hf-text);
  --hf-accent-mot:var(--hf-primary);
  --hf-nav:#ffffff;
  --hf-overlay-a:.45;
  --hf-h:86vh;
  --hf-content-w:760px;
  --hf-pad-x:0px;
  --hf-pad-in:48px;
  --hf-btn-radius:8px;
  --hf-btn-py:15px;
  --hf-btn-px:28px;
  --hf-btn-gap:14px;
  --hf-btn-primary-bg:var(--hf-primary);
  --hf-btn-primary-fg:#ffffff;
  --hf-btn-primary-bg-h:#b7030e;
  --hf-btn-primary-fg-h:#ffffff;
  --hf-btn-secondary-bg:#ffffff;
  --hf-btn-secondary-fg:#111111;
  --hf-btn-secondary-bg-h:#111111;
  --hf-btn-secondary-fg-h:#ffffff;
  --hf-btn-outline-bg:transparent;
  --hf-btn-outline-fg:#ffffff;
  --hf-btn-outline-bg-h:#ffffff;
  --hf-btn-outline-fg-h:#111111;
  --hf-btn-ghost-bg:transparent;
  --hf-btn-ghost-fg:#ffffff;
  --hf-btn-ghost-bg-h:transparent;
  --hf-btn-ghost-fg-h:var(--hf-primary);
  --hf-ease:cubic-bezier(.22,.61,.36,1);

  position:relative;
  display:block;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  padding-left:var(--hf-pad-x);
  padding-right:var(--hf-pad-x);
  overflow-x:clip;
  color:var(--hf-text);
  background:var(--hf-dark);
  isolation:isolate;
}
.hf-w.hf-hero *,.hf-w.hf-hero *::before,.hf-w.hf-hero *::after{box-sizing:border-box;min-width:0}

/* Gardes anti-thème (0,2,0) — ne touchent jamais les spans de titre */
.hf-w.hf-hero :where(h1,h2,h3,h4,h5,h6,p){margin:0;padding:0;letter-spacing:normal;text-transform:none;font-family:inherit;color:inherit}
.hf-w.hf-hero :where(ul,ol){margin:0;padding:0;list-style:none}
.hf-w.hf-hero :where(button){margin:0;padding:0;background:none;border:0;box-shadow:none;font:inherit;color:inherit;line-height:1;cursor:pointer;border-radius:0;position:static;z-index:auto;text-transform:none}
.hf-w.hf-hero :where(button):hover{opacity:1;box-shadow:none}
.hf-w.hf-hero :where(a){text-decoration:none;box-shadow:none}
.hf-w.hf-hero :where(img,video,svg){display:block;border:0;max-width:100%}
.hf-w.hf-w [hidden]{display:none !important}
.hf-w .hf-hero__surtitre,.hf-w .hf-hero__titre,.hf-w .hf-hero__texte,.hf-w .hf-btn__label{text-transform:none !important}
.hf-w .hf-hero__accent,.hf-w .hf-hero__titre span{font:inherit;text-transform:inherit;letter-spacing:inherit;text-decoration:inherit}

/* ============ Structure ============ */
.hf-w .hf-hero__track{position:relative;min-height:var(--hf-h);width:100%}
.hf-w .hf-hero__slide{position:absolute;inset:0;min-height:var(--hf-h);display:flex;opacity:0;visibility:hidden;transition:opacity .9s var(--hf-ease),visibility 0s linear .9s;z-index:1}
.hf-w .hf-hero__slide.is-active{opacity:1;visibility:visible;transition:opacity .9s var(--hf-ease),visibility 0s;z-index:2}

/* Glissement */
.hf-w.hf-hero--t-slide .hf-hero__track{display:flex;transform:translate3d(calc(var(--hf-x,0) * -100%),0,0);transition:transform .8s var(--hf-ease)}
.hf-w.hf-hero--t-slide .hf-hero__slide{position:relative;inset:auto;flex:0 0 100%;width:100%;opacity:1;visibility:visible;transition:none}

/* Fond */
.hf-w .hf-hero__bg{position:absolute;inset:0;overflow:hidden;background:var(--hf-dark);z-index:0}
.hf-w .hf-hero__media{position:absolute;inset:0;width:100%;height:100%;min-height:100%;max-width:none;object-fit:cover;object-position:center}
.hf-w .hf-hero__video{z-index:1}
.hf-w .hf-hero__poster{z-index:0}
.hf-w .hf-hero__video.is-playing ~ .hf-hero__poster{opacity:0}
.hf-w .hf-hero__media--empty{background:linear-gradient(135deg,#2a2a2e,#121214)}
.hf-w .hf-hero__slide:nth-child(2) .hf-hero__media--empty{background:linear-gradient(135deg,#3b1b1d,#120b0b)}
.hf-w .hf-hero__slide:nth-child(3) .hf-hero__media--empty{background:linear-gradient(135deg,#1c2a3a,#0b1118)}
.hf-w .hf-hero__slide:nth-child(4) .hf-hero__media--empty{background:linear-gradient(135deg,#2e2a1c,#15120b)}
.hf-w .hf-hero__slide:nth-child(n+5) .hf-hero__media--empty{background:linear-gradient(135deg,#1c3a2a,#0b1810)}
.hf-w .hf-hero__overlay{position:absolute;inset:0;z-index:2;background:rgba(0,0,0,var(--hf-overlay-a))}
.hf-w .hf-hero__shape{position:absolute;inset:0;z-index:3;pointer-events:none}
.hf-hero--novideo-mobile .hf-hero__video{display:none}
@media (min-width:768px){.hf-hero--novideo-mobile .hf-hero__video{display:block}}

/* Ken Burns */
@media (prefers-reduced-motion:no-preference){
  .hf-w .is-active .hf-hero__media--kb{animation:hfKb 14s linear forwards}
  .hf-w.hf-hero--t-zoom .hf-hero__slide .hf-hero__bg{transform:scale(1.08);transition:transform 1.4s var(--hf-ease)}
  .hf-w.hf-hero--t-zoom .hf-hero__slide.is-active .hf-hero__bg{transform:scale(1)}
}
@keyframes hfKb{from{transform:scale(1)}to{transform:scale(1.1)}}

/* Contenu */
.hf-w .hf-hero__inner{position:relative;z-index:4;width:100%;display:flex;align-items:center;padding:var(--hf-pad-in)}
.hf-w .hf-hero__content{width:100%;max-width:var(--hf-content-w);display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:18px}
.hf-w .hf-hero__surtitre{font-size:15px;font-weight:600;letter-spacing:.14em;text-transform:uppercase !important;color:var(--hf-surtitre);line-height:1.3;overflow-wrap:anywhere}
.hf-w .hf-hero__titre{font-size:clamp(32px,5vw,62px);font-weight:800;line-height:1.08;color:var(--hf-titre);overflow-wrap:anywhere;text-wrap:balance}
.hf-w .hf-hero__accent{color:var(--hf-accent-mot)}
.hf-w .hf-hero__texte{font-size:17px;line-height:1.65;color:var(--hf-text);opacity:.92;max-width:62ch;overflow-wrap:anywhere;text-align:justify;text-align-last:left;hyphens:auto}
.hf-w .hf-hero__actions{display:flex;flex-wrap:wrap;gap:var(--hf-btn-gap);margin-top:8px;max-width:100%}

/* Alignement global (responsive, hérité bureau → tablette → mobile) */
.hf-hero--align-left .hf-hero__content{align-items:flex-start;text-align:left;margin-right:auto}
.hf-hero--align-center .hf-hero__content{align-items:center;text-align:center;margin-left:auto;margin-right:auto}
.hf-hero--align-right .hf-hero__content{align-items:flex-end;text-align:right;margin-left:auto}
.hf-hero--align-left .hf-hero__texte{text-align-last:left}
.hf-hero--align-center .hf-hero__texte{text-align-last:center}
.hf-hero--align-right .hf-hero__texte{text-align-last:right}
.hf-hero--align-center .hf-hero__actions{justify-content:center}
.hf-hero--align-right .hf-hero__actions{justify-content:flex-end}
@media (max-width:1024px){
  .hf-hero--align_tablet-left .hf-hero__content{align-items:flex-start;text-align:left;margin-left:0;margin-right:auto}
  .hf-hero--align_tablet-center .hf-hero__content{align-items:center;text-align:center;margin-left:auto;margin-right:auto}
  .hf-hero--align_tablet-right .hf-hero__content{align-items:flex-end;text-align:right;margin-left:auto;margin-right:0}
  .hf-hero--align_tablet-left .hf-hero__texte{text-align-last:left}
  .hf-hero--align_tablet-center .hf-hero__texte{text-align-last:center}
  .hf-hero--align_tablet-right .hf-hero__texte{text-align-last:right}
  .hf-hero--align_tablet-left .hf-hero__actions{justify-content:flex-start}
  .hf-hero--align_tablet-center .hf-hero__actions{justify-content:center}
  .hf-hero--align_tablet-right .hf-hero__actions{justify-content:flex-end}
}
@media (max-width:767px){
  .hf-hero--align_mobile-left .hf-hero__content{align-items:flex-start;text-align:left;margin-left:0;margin-right:auto}
  .hf-hero--align_mobile-center .hf-hero__content{align-items:center;text-align:center;margin-left:auto;margin-right:auto}
  .hf-hero--align_mobile-right .hf-hero__content{align-items:flex-end;text-align:right;margin-left:auto;margin-right:0}
  .hf-hero--align_mobile-left .hf-hero__texte{text-align-last:left}
  .hf-hero--align_mobile-center .hf-hero__texte{text-align-last:center}
  .hf-hero--align_mobile-right .hf-hero__texte{text-align-last:right}
  .hf-hero--align_mobile-left .hf-hero__actions{justify-content:flex-start}
  .hf-hero--align_mobile-center .hf-hero__actions{justify-content:center}
  .hf-hero--align_mobile-right .hf-hero__actions{justify-content:flex-end}
}

/* ============ Boutons ============ */
.hf-w .hf-btn{display:inline-flex;align-items:center;justify-content:center;gap:0;padding:var(--hf-btn-py) var(--hf-btn-px);border-radius:var(--hf-btn-radius);font-weight:700;font-size:16px;line-height:1.2;border:2px solid transparent;transition:background-color .25s,color .25s,border-color .25s,transform .25s,box-shadow .25s;max-width:100%;flex:0 1 auto;white-space:normal;cursor:pointer;-webkit-tap-highlight-color:transparent}
.hf-w .hf-btn__label{min-width:0;overflow-wrap:break-word}
.hf-w .hf-btn__icon{display:inline-flex;align-items:center;justify-content:center;width:1.15em;height:1.15em;flex:0 0 auto;margin-right:.6em !important}
.hf-w .hf-btn--icon-right .hf-btn__icon{order:2;margin-right:0 !important;margin-left:.6em !important}
.hf-w .hf-btn__icon i,.hf-w .hf-btn__icon i::before,.hf-w .hf-btn__icon svg{line-height:1 !important;vertical-align:middle;font-size:1em;width:1em;height:1em;fill:currentColor}
.hf-w .hf-btn__arrow{margin-left:.5em !important;transition:transform .25s;flex:0 0 auto}
.hf-w .hf-btn:hover .hf-btn__arrow{transform:translateX(5px)}
.hf-w .hf-btn:hover{transform:translateY(-2px)}
.hf-w .hf-btn:focus-visible{outline:3px solid #fff;outline-offset:3px}

.hf-w .hf-btn--primary{background:var(--hf-btn-primary-bg);color:var(--hf-btn-primary-fg);box-shadow:0 10px 28px -10px rgba(227,6,19,.65)}
.hf-w .hf-btn--primary:hover{background:var(--hf-btn-primary-bg-h);color:var(--hf-btn-primary-fg-h)}
.hf-w .hf-btn--secondary{background:var(--hf-btn-secondary-bg);color:var(--hf-btn-secondary-fg)}
.hf-w .hf-btn--secondary:hover{background:var(--hf-btn-secondary-bg-h);color:var(--hf-btn-secondary-fg-h)}
.hf-w .hf-btn--outline{background:var(--hf-btn-outline-bg);color:var(--hf-btn-outline-fg);border-color:currentColor}
.hf-w .hf-btn--outline:hover{background:var(--hf-btn-outline-bg-h);color:var(--hf-btn-outline-fg-h);border-color:var(--hf-btn-outline-bg-h)}
.hf-w .hf-btn--ghost{background:var(--hf-btn-ghost-bg);color:var(--hf-btn-ghost-fg);padding-left:0;padding-right:0;border-radius:0}
.hf-w .hf-btn--ghost:hover{color:var(--hf-btn-ghost-fg-h);transform:none}

/* Icône seule : carré compact — déclaré APRÈS les variantes */
.hf-w .hf-btn.hf-btn--icon-only{padding:var(--hf-btn-py) !important;align-self:center;flex:0 0 auto;aspect-ratio:1/1}
.hf-w .hf-btn.hf-btn--icon-only .hf-btn__icon{margin:0 !important;width:1.3em;height:1.3em}
.hf-w .hf-btn.hf-btn--icon-only .hf-btn__arrow{display:none}

@media (max-width:767px){
  .hf-w .hf-btn--hide-mobile{display:none}
  .hf-hero--btnfull_mobile .hf-hero__actions .hf-btn:not(.hf-btn--icon-only){flex:1 1 100%;width:100%}
}
@media (max-width:1024px){.hf-hero--btnfull_tablet .hf-hero__actions .hf-btn:not(.hf-btn--icon-only){flex:1 1 100%;width:100%}}
.hf-hero--btnfull-desktop .hf-hero__actions .hf-btn:not(.hf-btn--icon-only){flex:1 1 100%;width:100%}

/* ============ Navigation ============ */
.hf-w .hf-hero__dots{position:absolute;left:calc(var(--hf-pad-in) + var(--hf-pad-x));bottom:22px;z-index:6;display:flex;gap:8px;align-items:center}
.hf-w .hf-hero__dot{width:34px;height:14px;padding:4px 0 !important;flex:0 0 auto;display:inline-flex;align-items:center;opacity:.55;transition:opacity .25s}
.hf-w .hf-hero__dot i{display:block;width:100%;height:3px;border-radius:3px;background:var(--hf-nav);position:relative;overflow:hidden}
.hf-w .hf-hero__dot.is-active{opacity:1}
.hf-w .hf-hero__dot.is-active i::after{content:"";position:absolute;inset:0;background:var(--hf-primary);transform-origin:left;transform:scaleX(var(--hf-progress,0))}
.hf-w .hf-hero__arrows{position:absolute;right:calc(var(--hf-pad-in) + var(--hf-pad-x));bottom:14px;z-index:6;display:flex;gap:8px}
.hf-w .hf-hero__arrow{width:46px;height:46px;display:inline-flex;align-items:center;justify-content:center;border:1.5px solid rgba(255,255,255,.35);border-radius:50%;color:var(--hf-nav);background:rgba(0,0,0,.25);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);transition:background-color .25s,border-color .25s,transform .25s}
.hf-w .hf-hero__arrow:hover{background:var(--hf-primary);border-color:var(--hf-primary);color:#fff;transform:scale(1.06)}
.hf-w .hf-hero__arrow{padding:0 !important;flex:0 0 auto}
.hf-w .hf-hero__arrow svg{width:22px;height:22px;flex:0 0 auto;min-width:22px}
@media (max-width:767px){
  .hf-w .hf-hero__dots{left:16px;bottom:16px}
  .hf-w .hf-hero__arrows{right:12px;bottom:10px}
  .hf-w .hf-hero__arrow{width:40px;height:40px}
}

/* ============ Apparition (amélioration progressive) ============ */
.hf-js.hf-hero--reveal .hf-hero__slide [data-reveal]{opacity:0;transform:translateY(18px);transition:opacity .7s var(--hf-ease),transform .7s var(--hf-ease)}
.hf-js.hf-hero--reveal .hf-hero__slide.is-active.is-in [data-reveal]{opacity:1;transform:none}
.hf-js.hf-hero--reveal .hf-hero__slide.is-active.is-in [data-reveal]:nth-child(2){transition-delay:.12s}
.hf-js.hf-hero--reveal .hf-hero__slide.is-active.is-in [data-reveal]:nth-child(3){transition-delay:.24s}
.hf-js.hf-hero--reveal .hf-hero__slide.is-active.is-in .hf-hero__actions [data-reveal]{transition-delay:.36s}
.hf-js.hf-hero--reveal .hf-hero__slide.is-active.is-in .hf-hero__actions [data-reveal]:nth-child(2){transition-delay:.46s}
.hf-js.hf-hero--reveal .hf-hero__slide.is-active.is-in .hf-hero__actions [data-reveal]:nth-child(3){transition-delay:.56s}
.hf-js.hf-hero--reveal .hf-hero__slide.is-active.is-in .hf-btn[data-reveal]:hover{transform:translateY(-2px)}
@media (prefers-reduced-motion:reduce){.hf-w [data-reveal]{opacity:1 !important;transform:none !important;transition:none !important}}

/* ============ Mobile commun ============ */
@media (max-width:767px){
  .hf-w{--hf-pad-in:20px}
  .hf-w .hf-hero__inner{padding-bottom:calc(var(--hf-pad-in) + 56px)}
  .hf-w .hf-hero__titre{font-size:clamp(28px,8.5vw,40px)}
  .hf-w .hf-hero__texte{font-size:15.5px;text-align:left;text-align-last:auto;hyphens:manual}
  .hf-w .hf-hero__content{gap:14px}
  .hf-w .hf-hero__surtitre{font-size:12px;letter-spacing:.08em;max-width:100%}
}
@media (min-width:768px){.hf-w .hf-hero__inner{padding-bottom:calc(var(--hf-pad-in) + 48px)}}

/* ====================================================================== */
/*  DESIGNS                                                               */
/* ====================================================================== */

/* 1 · Éclat — bandeau diagonal couleur, dimensionné sur la largeur du contenu (le texte ne peut jamais en sortir) */
.hf-hero--eclat .hf-hero__shape{inset:0 auto 0 0;width:min(100%,calc(var(--hf-content-w) + var(--hf-pad-in) + var(--hf-pad-x) + 170px));background:linear-gradient(160deg,var(--hf-primary) 0%,color-mix(in srgb,var(--hf-primary) 70%,#000) 100%);clip-path:polygon(0 0,100% 0,calc(100% - 150px) 100%,0 100%);opacity:.94}
.hf-hero--eclat .hf-hero__shape::after{content:"";position:absolute;inset:0;background:rgba(255,255,255,.14);clip-path:polygon(calc(100% - 14px) 0,100% 0,calc(100% - 150px) 100%,calc(100% - 164px) 100%)}
.hf-hero--eclat .hf-hero__overlay{background:linear-gradient(90deg,rgba(0,0,0,.25),rgba(0,0,0,var(--hf-overlay-a)) 60%,rgba(0,0,0,.2))}
.hf-hero--eclat .hf-hero__surtitre{color:#fff;background:rgba(0,0,0,.35);padding:8px 14px;border-radius:999px;display:inline-block;backdrop-filter:blur(4px)}
.hf-hero--eclat .hf-hero__content{max-width:var(--hf-content-w)}
.hf-hero--eclat .hf-hero__inner{align-items:center}
@media (max-width:1024px){
  .hf-hero--eclat .hf-hero__shape{width:100%;clip-path:polygon(0 0,100% 0,100% calc(100% - 130px),calc(100% - 120px) 100%,0 100%)}
  .hf-hero--eclat .hf-hero__shape::after{display:none}
  .hf-hero--eclat .hf-hero__inner{align-items:flex-start;padding-bottom:calc(var(--hf-pad-in) + 140px)}
}
@media (max-width:767px){
  /* Mobile : photo visible en haut, bande couleur pleine largeur qui démarre AU-DESSUS du contenu (arête diagonale douce), contenu calé en bas */
  .hf-hero--eclat .hf-hero__shape{width:100%;clip-path:polygon(0 max(14%,calc(100% - 600px)),100% max(5%,calc(100% - 660px)),100% 100%,0 100%);background:linear-gradient(180deg,var(--hf-primary) 0%,color-mix(in srgb,var(--hf-primary) 72%,#000) 100%);opacity:.96}
  .hf-hero--eclat .hf-hero__shape::after{display:block;background:rgba(255,255,255,.22);clip-path:polygon(0 max(14%,calc(100% - 600px)),100% max(5%,calc(100% - 660px)),100% calc(max(5%,calc(100% - 660px)) + 3px),0 calc(max(14%,calc(100% - 600px)) + 3px))}
  .hf-hero--eclat .hf-hero__overlay{background:linear-gradient(180deg,rgba(0,0,0,.15),rgba(0,0,0,.35))}
  .hf-hero--eclat .hf-hero__inner{align-items:flex-end;padding-top:220px;padding-bottom:calc(var(--hf-pad-in) + 56px)}
  .hf-hero--eclat .hf-hero__surtitre{background:rgba(0,0,0,.28)}
}

/* 2 · Ardoise — dégradé sombre, contenu bas-gauche, filet d'accent */
.hf-hero--ardoise .hf-hero__overlay{background:linear-gradient(180deg,rgba(0,0,0,.15) 0%,rgba(0,0,0,calc(var(--hf-overlay-a) + .35)) 100%)}
.hf-hero--ardoise .hf-hero__inner{align-items:flex-end}
.hf-hero--ardoise .hf-hero__content{padding-left:28px;border-left:4px solid var(--hf-primary)}
.hf-hero--ardoise .hf-hero__surtitre{display:inline-flex;align-items:center}
.hf-hero--ardoise .hf-hero__surtitre::before{content:"";width:34px;height:2px;background:var(--hf-primary);margin-right:12px !important;flex:0 0 auto}
.hf-hero--ardoise.hf-hero--align-center .hf-hero__content,.hf-hero--ardoise.hf-hero--align-right .hf-hero__content{border-left:0;padding-left:0}
.hf-hero--ardoise .hf-hero__titre{font-size:clamp(34px,5.6vw,70px);letter-spacing:-.01em}
@media (max-width:767px){.hf-hero--ardoise .hf-hero__content{padding-left:16px;border-left-width:3px}}

/* 3 · Vitrine — carte verre dépoli centrée */
.hf-hero--vitrine .hf-hero__inner{align-items:center;justify-content:center}
.hf-hero--vitrine .hf-hero__content{align-items:center;text-align:center;margin:0 auto;background:rgba(10,10,12,.46);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(14px) saturate(140%);-webkit-backdrop-filter:blur(14px) saturate(140%);border-radius:22px;padding:44px 40px;box-shadow:0 30px 70px -30px rgba(0,0,0,.7)}
.hf-hero--vitrine .hf-hero__texte{text-align-last:center}
.hf-hero--vitrine .hf-hero__actions{justify-content:center}
.hf-hero--vitrine .hf-hero__surtitre{color:#fff;background:var(--hf-primary);padding:6px 14px;border-radius:6px;display:inline-block;font-size:13px}
.hf-hero--vitrine .hf-hero__content::before{content:"";width:56px;height:4px;background:var(--hf-primary);border-radius:4px;order:-1;display:none}
@media (max-width:767px){.hf-hero--vitrine .hf-hero__content{padding:28px 20px;border-radius:16px}}

/* 4 · Scindé — panneau sombre / média */
.hf-hero--scinde .hf-hero__slide{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.hf-hero--scinde .hf-hero__bg{position:relative;inset:auto;grid-column:2;min-height:var(--hf-h);order:2}
.hf-hero--scinde .hf-hero__overlay{background:linear-gradient(90deg,var(--hf-dark) 0%,rgba(0,0,0,calc(var(--hf-overlay-a) * .5)) 22%,rgba(0,0,0,0) 60%)}
.hf-hero--scinde .hf-hero__inner{grid-column:1;background:var(--hf-dark);order:1;position:relative}
.hf-hero--scinde .hf-hero__inner::after{content:"";position:absolute;top:0;right:-1px;bottom:0;width:6px;background:var(--hf-primary)}
.hf-hero--scinde .hf-hero__content{max-width:min(var(--hf-content-w),100%)}
.hf-hero--scinde .hf-hero__surtitre{display:inline-flex;align-items:center}
.hf-hero--scinde .hf-hero__surtitre::before{content:"";width:12px;height:12px;background:var(--hf-primary);transform:rotate(45deg);margin-right:12px !important;flex:0 0 auto}
.hf-hero--scinde .hf-hero__dots{left:auto;right:calc(var(--hf-pad-in) + var(--hf-pad-x));bottom:22px;flex-direction:row}
.hf-hero--scinde .hf-hero__arrows{right:auto;left:calc(var(--hf-pad-in) + var(--hf-pad-x))}
@media (max-width:1024px){
  .hf-hero--scinde .hf-hero__slide{grid-template-columns:minmax(0,1fr)}
  .hf-hero--scinde .hf-hero__bg{grid-column:1;order:1;min-height:260px;height:40vh}
  .hf-hero--scinde .hf-hero__inner{grid-column:1;order:2}
  .hf-hero--scinde .hf-hero__inner::after{top:-6px;right:0;left:0;bottom:auto;width:auto;height:6px}
  .hf-hero--scinde .hf-hero__overlay{background:linear-gradient(180deg,rgba(0,0,0,0) 40%,var(--hf-dark) 100%)}
  .hf-hero--scinde .hf-hero__dots{right:auto;left:16px}
  .hf-hero--scinde .hf-hero__arrows{left:auto;right:12px}
  .hf-hero--scinde .hf-hero__track,.hf-hero--scinde .hf-hero__slide{min-height:0}
}

/* 5 · Bandeau — média plein + barre de contenu en bas */
.hf-hero--bandeau .hf-hero__inner{align-items:flex-end;padding:0}
.hf-hero--bandeau .hf-hero__content{max-width:none;width:100%;background:linear-gradient(90deg,var(--hf-dark) 0%,color-mix(in srgb,var(--hf-dark) 92%,transparent) 100%);padding:34px var(--hf-pad-in);border-top:5px solid var(--hf-primary);display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"surtitre actions" "titre actions" "texte actions";column-gap:40px;row-gap:10px;align-items:center}
.hf-hero--bandeau .hf-hero__surtitre{grid-area:surtitre}
.hf-hero--bandeau .hf-hero__titre{grid-area:titre;font-size:clamp(28px,3.6vw,46px)}
.hf-hero--bandeau .hf-hero__texte{grid-area:texte;max-width:70ch}
.hf-hero--bandeau .hf-hero__actions{grid-area:actions;flex-direction:column;align-items:stretch;margin:0;min-width:240px}
.hf-hero--bandeau .hf-hero__actions .hf-btn:not(.hf-btn--icon-only){width:100%}
.hf-hero--bandeau .hf-hero__actions .hf-btn--icon-only{align-self:flex-start}
.hf-hero--bandeau .hf-hero__dots{bottom:auto;top:22px;left:calc(var(--hf-pad-in) + var(--hf-pad-x))}
.hf-hero--bandeau .hf-hero__arrows{bottom:auto;top:14px}
.hf-hero--bandeau .hf-hero__inner{padding-bottom:0 !important}
@media (max-width:1024px){
  .hf-hero--bandeau .hf-hero__content{grid-template-columns:minmax(0,1fr);grid-template-areas:"surtitre" "titre" "texte" "actions";padding:26px var(--hf-pad-in)}
  .hf-hero--bandeau .hf-hero__actions{flex-direction:row;align-items:flex-start;margin-top:6px}
  .hf-hero--bandeau .hf-hero__actions{min-width:0}
  .hf-hero--bandeau .hf-hero__actions .hf-btn:not(.hf-btn--icon-only){width:auto}
}
@media (max-width:767px){.hf-hero--bandeau .hf-hero__content{padding:22px 16px}}

/* 6 · Ciné — titre géant centré */
.hf-hero--cine .hf-hero__inner{align-items:center;justify-content:center}
.hf-hero--cine .hf-hero__content{align-items:center;text-align:center;margin:0 auto;max-width:min(var(--hf-content-w),1000px)}
.hf-hero--cine .hf-hero__texte{text-align-last:center}
.hf-hero--cine .hf-hero__actions{justify-content:center}
.hf-hero--cine .hf-hero__overlay{background:radial-gradient(ellipse at center,rgba(0,0,0,calc(var(--hf-overlay-a) * .6)) 0%,rgba(0,0,0,calc(var(--hf-overlay-a) + .3)) 100%)}
.hf-hero--cine .hf-hero__surtitre{letter-spacing:.32em;font-size:13px;color:#fff;opacity:.85}
.hf-hero--cine .hf-hero__titre{font-size:clamp(36px,7vw,92px);font-weight:900;text-transform:uppercase !important;letter-spacing:.01em;line-height:1}
.hf-hero--cine .hf-hero__titre::after{content:"";display:block;width:90px;height:6px;background:var(--hf-primary);margin:22px auto 0;border-radius:3px}
.hf-hero--cine.hf-hero--align-left .hf-hero__titre::after,.hf-hero--cine.hf-hero--align_tablet-left .hf-hero__titre::after,.hf-hero--cine.hf-hero--align_mobile-left .hf-hero__titre::after{margin-left:0}
.hf-hero--cine.hf-hero--align-right .hf-hero__titre::after{margin-right:0}
@media (max-width:767px){.hf-hero--cine .hf-hero__titre{font-size:clamp(28px,9vw,42px)}.hf-hero--cine .hf-hero__titre::after{margin-top:14px;width:60px;height:4px}}

/* 7 · Architecte — cadre fin, compteur */
.hf-hero--architecte .hf-hero__shape{inset:28px;border:1px solid rgba(255,255,255,.4)}
.hf-hero--architecte .hf-hero__shape::before,.hf-hero--architecte .hf-hero__shape::after{content:"";position:absolute;width:26px;height:26px;border:3px solid var(--hf-primary)}
.hf-hero--architecte .hf-hero__shape::before{top:-2px;left:-2px;border-right:0;border-bottom:0}
.hf-hero--architecte .hf-hero__shape::after{bottom:-2px;right:-2px;border-left:0;border-top:0}
.hf-hero--architecte .hf-hero__inner{align-items:flex-end;padding:calc(var(--hf-pad-in) + 28px)}
.hf-hero--architecte .hf-hero__surtitre{font-family:inherit;font-size:13px;letter-spacing:.3em;color:#fff;opacity:.9}
.hf-hero--architecte .hf-hero__titre{font-weight:700;letter-spacing:-.015em}
.hf-hero--architecte .hf-hero__counter{display:flex;align-items:center;gap:10px;font-size:14px;letter-spacing:.2em;opacity:.8;margin-top:14px}
.hf-hero--architecte .hf-hero__counter i{display:block;width:60px;height:1px;background:#fff;opacity:.6}
.hf-hero--architecte .hf-hero__counter span:first-child{color:var(--hf-primary);font-weight:700}
.hf-hero--architecte .hf-hero__dots{left:auto;right:calc(var(--hf-pad-in) + 28px + var(--hf-pad-x));bottom:auto;top:calc(var(--hf-pad-in) + 28px);flex-direction:column;align-items:flex-end}
.hf-hero--architecte .hf-hero__dot{width:14px;height:28px;padding:0 4px;justify-content:center}
.hf-hero--architecte .hf-hero__dot i{width:3px;height:100%}
.hf-hero--architecte .hf-hero__dot.is-active i::after{transform-origin:top;transform:scaleY(var(--hf-progress,0))}
.hf-hero--architecte .hf-hero__arrows{right:calc(var(--hf-pad-in) + 28px + var(--hf-pad-x));bottom:calc(var(--hf-pad-in) + 20px)}
.hf-hero--architecte .hf-hero__arrow{border-radius:0}
@media (max-width:767px){
  .hf-hero--architecte .hf-hero__shape{inset:12px}
  .hf-hero--architecte .hf-hero__inner{padding:32px 24px 90px}
  .hf-hero--architecte .hf-hero__dots{right:24px;top:28px}
  .hf-hero--architecte .hf-hero__arrows{right:24px;bottom:28px}
}

/* 8 · Onde — dégradé couleur + vague inférieure blanche */
.hf-hero--onde .hf-hero__overlay{background:linear-gradient(135deg,color-mix(in srgb,var(--hf-primary) 82%,transparent) 0%,rgba(0,0,0,calc(var(--hf-overlay-a) + .25)) 70%)}
.hf-hero--onde .hf-hero__inner{align-items:center;justify-content:center;padding-bottom:calc(var(--hf-pad-in) + 110px) !important}
.hf-hero--onde .hf-hero__content{align-items:center;text-align:center;margin:0 auto}
.hf-hero--onde .hf-hero__texte{text-align-last:center}
.hf-hero--onde .hf-hero__actions{justify-content:center}
.hf-hero--onde .hf-hero__surtitre{color:#fff;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.3);padding:7px 16px;border-radius:999px;display:inline-block;font-size:13px}
.hf-hero--onde .hf-hero__wave{position:absolute;left:0;right:0;bottom:-1px;width:100%;height:90px;z-index:5;fill:#fff;pointer-events:none}
.hf-hero--onde .hf-hero__dots{bottom:100px}
.hf-hero--onde .hf-hero__arrows{bottom:92px}
.hf-hero--onde .hf-btn--secondary{box-shadow:0 10px 28px -12px rgba(0,0,0,.6)}
@media (max-width:767px){.hf-hero--onde .hf-hero__wave{height:46px}.hf-hero--onde .hf-hero__inner{padding-bottom:calc(var(--hf-pad-in) + 92px) !important}.hf-hero--onde .hf-hero__dots{bottom:58px}.hf-hero--onde .hf-hero__arrows{bottom:50px}}

/* Position verticale globale (déclarée après les designs : prioritaire) */
.hf-hero--v-top .hf-hero__inner{align-items:flex-start}
.hf-hero--v-center .hf-hero__inner{align-items:center}
.hf-hero--v-bottom .hf-hero__inner{align-items:flex-end}
@media (max-width:1024px){
  .hf-hero--v_tablet-top .hf-hero__inner{align-items:flex-start}
  .hf-hero--v_tablet-center .hf-hero__inner{align-items:center}
  .hf-hero--v_tablet-bottom .hf-hero__inner{align-items:flex-end}
}
@media (max-width:767px){
  .hf-hero--v_mobile-top .hf-hero__inner{align-items:flex-start}
  .hf-hero--v_mobile-center .hf-hero__inner{align-items:center}
  .hf-hero--v_mobile-bottom .hf-hero__inner{align-items:flex-end}
}

/* Repli color-mix */
@supports not (color:color-mix(in srgb,#000,#fff)){
  .hf-hero--eclat .hf-hero__shape{background:var(--hf-primary)}
  .hf-hero--bandeau .hf-hero__content{background:var(--hf-dark)}
  .hf-hero--onde .hf-hero__overlay{background:linear-gradient(135deg,rgba(227,6,19,.82) 0%,rgba(0,0,0,.7) 70%)}
}
