/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Nov 10 2026 | 12:17:52 */

/* ============================================
   BTP SAVOIE — HERO ELEMENTOR V4
   ============================================ */

.pawin-hero {
  --btp-yellow: #FFCC00;
  --btp-dark: #36393F;

  position: relative;
  isolation: isolate;

  width: 100vw !important;
  max-width: none !important;

  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;

  padding: 0 !important;
  min-height: clamp(620px, 82svh, 900px);

  background: var(--btp-dark);
  color: #fff;
  overflow: hidden;
}

/* ============================================
   VIDEO DE FOND
   ============================================ */

.pawin-hero .pawin-hero-video {
  position: relative;
  isolation: isolate;

  width: 100% !important;
  max-width: none !important;
  min-height: clamp(620px, 82svh, 900px);

  padding: 65px clamp(24px, 5vw, 85px) !important;

  display: flex;
  flex-direction: column;
  justify-content: center;

  overflow: hidden;
  background-color: var(--btp-dark);
}

/* Video HTML5 native */
.pawin-hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Voile sombre pour la lisibilite */
.pawin-hero-video::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(
      90deg,
      rgba(19, 22, 27, .78) 0%,
      rgba(19, 22, 27, .46) 46%,
      rgba(19, 22, 27, .12) 100%
    );

  pointer-events: none;
}

/* Contenus devant la superposition */
.pawin-hero-video .pawin-hero-title,
.pawin-hero-video .pawin-hero-title-accent,
.pawin-hero-video .pawin-hero-text,
.pawin-hero-video .pawin-hero-film,
.pawin-hero-video a,
.pawin-hero-video button {
  position: relative;
  z-index: 3;
}

/* ============================================
   TYPOGRAPHIE
   ============================================ */

.pawin-hero .pawin-hero-title,
.pawin-hero .pawin-hero-title h1,
.pawin-hero .pawin-hero-title h2,
.pawin-hero .pawin-hero-title .elementor-heading-title {
  font-family: "Barlow Condensed", sans-serif !important;
  font-size: clamp(72px, 10vw, 150px) !important;
  font-weight: 900 !important;

  line-height: .85 !important;
  letter-spacing: -.018em !important;
  text-transform: uppercase;

  color: #fff !important;
  margin: 0;
}

/* Si L'AVENIR est un second titre natif */
.pawin-hero .pawin-hero-title-accent,
.pawin-hero .pawin-hero-title-accent h1,
.pawin-hero .pawin-hero-title-accent h2,
.pawin-hero .pawin-hero-title-accent .elementor-heading-title {
  font-family: "Barlow Condensed", sans-serif !important;
  font-size: clamp(72px, 10vw, 150px) !important;
  font-weight: 900 !important;

  line-height: .85 !important;
  letter-spacing: -.018em !important;
  text-transform: uppercase;

  color: #FFCC00 !important;
  margin: 0;
}

/* Texte de presentation */
.pawin-hero .pawin-hero-text,
.pawin-hero .pawin-hero-text p {
  font-family: Montserrat, sans-serif;
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 500;
  line-height: 1.7;

  color: #fff !important;
  max-width: 490px;
}

/* Decoration basse */
.pawin-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 25%;
  height: 6px;
  background: var(--btp-yellow);

  z-index: 5;
  pointer-events: none;
}

/* ============================================
   ANIMATIONS D'APPARITION
   ============================================ */

@keyframes pawinHeroReveal {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pawin-hero.pawin-hero-ready .pawin-hero-title {
  animation: pawinHeroReveal .85s ease .1s both;
}

.pawin-hero.pawin-hero-ready .pawin-hero-title-accent {
  animation: pawinHeroReveal .85s ease .2s both;
}

.pawin-hero.pawin-hero-ready .pawin-hero-text {
  animation: pawinHeroReveal .85s ease .35s both;
}

.pawin-hero.pawin-hero-ready .pawin-hero-film {
  animation: pawinHeroReveal .85s ease .5s both;
}

/* ============================================
   CURSEUR VOIR LE FILM
   ============================================ */

.pawin-film-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999999;

  width: 112px;
  height: 112px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;

  border-radius: 50%;
  background: #FFCC00;
  color: #36393F;

  font-family: Montserrat, sans-serif;
  font-size: 11px;
  font-weight: 800;

  text-align: center;
  pointer-events: none;
  user-select: none;

  opacity: 0;
  visibility: hidden;

  transform: translate(-50%, -50%) scale(.85);

  transition:
    opacity .2s ease,
    transform .2s ease,
    visibility .2s;
}

.pawin-film-cursor.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.pawin-film-cursor .play-icon {
  font-size: 25px;
  line-height: 1;
}

@media (hover: hover) and (pointer: fine) {
  .pawin-hero.is-cursor-ready {
    cursor: none;
  }

  .pawin-hero.is-cursor-ready a,
  .pawin-hero.is-cursor-ready button {
    cursor: pointer;
  }
}

/* ============================================
   LECTEUR VIDEO HTML5
   ============================================ */

.pawin-film-dialog {
  position: fixed;
  inset: 0;

  width: min(1200px, calc(100vw - 40px));
  max-width: none;
  max-height: calc(100dvh - 40px);

  margin: auto;
  padding: 0;
  border: 0;

  background: #1C1F23;
  color: #fff;
  z-index: 999999;
}

.pawin-film-dialog:not([open]) {
  display: none;
}

.pawin-film-dialog::backdrop {
  background: rgba(10, 12, 16, .93);
}

.pawin-film-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  padding: 14px 20px;
  font-family: Montserrat, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
}

.pawin-film-close {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;

  padding: 0;
  border: 0;

  background: #FFCC00;
  color: #36393F;

  font-size: 26px;
  cursor: pointer;
}

.pawin-film-dialog video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: calc(100dvh - 110px);

  background: #000;
  object-fit: contain;
}

body.pawin-film-open {
  overflow: hidden;
}

/* ============================================
   TABLETTE
   ============================================ */

@media (max-width: 1024px) {
  .pawin-hero,
  .pawin-hero .pawin-hero-video {
    min-height: 690px;
  }

  .pawin-hero .pawin-hero-title,
  .pawin-hero .pawin-hero-title h1,
  .pawin-hero .pawin-hero-title h2,
  .pawin-hero .pawin-hero-title-accent,
  .pawin-hero .pawin-hero-title-accent h1,
  .pawin-hero .pawin-hero-title-accent h2 {
    font-size: clamp(65px, 10vw, 110px) !important;
  }
}

/* ============================================
   MOBILE
   ============================================ */

@media (max-width: 767px) {
  .pawin-hero,
  .pawin-hero .pawin-hero-video {
    min-height: 630px;
  }

  .pawin-hero .pawin-hero-video {
    padding: 50px 24px !important;
  }

  .pawin-hero .pawin-hero-title,
  .pawin-hero .pawin-hero-title h1,
  .pawin-hero .pawin-hero-title h2,
  .pawin-hero .pawin-hero-title-accent,
  .pawin-hero .pawin-hero-title-accent h1,
  .pawin-hero .pawin-hero-title-accent h2 {
    font-size: clamp(56px, 14vw, 86px) !important;
  }

  .pawin-hero .pawin-hero-text,
  .pawin-hero .pawin-hero-text p {
    font-size: 14px;
    max-width: 100%;
  }

  .pawin-hero::after {
    width: 40%;
  }

  .pawin-film-cursor {
    display: none;
  }

  .pawin-film-dialog {
    width: calc(100vw - 20px);
  }

  .pawin-film-dialog-header {
    padding: 12px;
    font-size: 9px;
  }
}

/* Accessibilite */
@media (prefers-reduced-motion: reduce) {
  .pawin-hero.pawin-hero-ready .pawin-hero-title,
  .pawin-hero.pawin-hero-ready .pawin-hero-title-accent,
  .pawin-hero.pawin-hero-ready .pawin-hero-text,
  .pawin-hero.pawin-hero-ready .pawin-hero-film {
    animation: none;
  }

  .pawin-film-cursor {
    transition: none;
  }
}
