@import url('https://fonts.googleapis.com/css2?family=Cal+Sans&family=Outfit:wght@100..900&display=swap');




:root {
  --primary: #00004f;
  --primary-dark: #171738;
  --light: #EFF9FF;
  --grey: #909090;
  --secondary: #dc0000;
  --secondary-light: #ffeeee;
  --background: #fff;
  --primary-light: #f5f5ff;

}


html {
  transition: all 0.5;
}

body {
  font-family: "Outfit", sans-serif;
  background-color: var(--background);
}

body.no-scroll {
  overflow: hidden;
}

a {
  text-decoration: unset;
}

.pointer {
  cursor: pointer;
}

#wrapper {
  display: flex;
}

#header {
  /* background: var(--primary-dark); */
  padding: 1rem 0;
  margin-bottom: 10px;
}

p,
li {
  font-weight: 500;
  font-size: 18px;
}

.cal {
  font-family: "Cal Sans", sans-serif;
}



h1,
h2,
h3,
h4,
h5,
h6 {
  font-optical-sizing: auto;
  font-weight: 700;
}

h1 {
  font-size: 60px;
}

h2 {
  font-size: 42px;
}

h4 {
  color: var(--secondary);
}

h6 {
  font-size: 1.2rem !important;
}




a {
  color: var(--primary);
  transition: all .5s;

}

a:hover {
  text-decoration: none;
  color: var(--secondary) !important
}

ul,
.nav-sidebar ul {
  list-style: none;
  padding: 0;
}

ul li a {
  color: var(--prmiary);
  font-size: 1rem;
}

article ul {
  list-style-type: disc;
}

article ul li {

  font-size: 1.5rem;
  font-weight: 300;
  font-family: 'Lexend';
}

.keep-all {
  word-break: keep-all;
}

.mb-10 {
  margin-bottom: 7rem;
}

.my-10 {
  margin-top: 3.5rem;
  margin-bottom: 3.5rem;
}

.py-10 {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.mt-20 {
  margin-top: 9rem;
}

.mt-10 {
  margin-top: 7rem;
}


/* IMG  */
.invert {
  filter: invert(100%);
}

.img-success {
  filter: brightness(0) saturate(100%) invert(42%) sepia(16%) saturate(3537%) hue-rotate(112deg) brightness(86%) contrast(80%);
}

/* END IMG  */
/* TEXT  */

.text-primary {
  color: var(--primary) !important;
}

.text-primary-dark {
  color: var(--primary-dark);
}

.text-primary-light {
  color: var(--primary-light);
}

.text-secondary {
  color: var(--secondary) !important;
}

.text-secondary-light {
  color: var(--secondary-light) !important;
}

.text-tertiary {
  color: var(--tertiary) !important;
}

.text-grey {
  color: var(--grey);
}

.text-success-light {
  color: var(--success-light);
}

.fw-300 {
  font-weight: 300 !important;
}

.fw-400 {
  font-weight: 400 !important;
}

.fw-700 {
  font-weight: 700 !important;
}



/* END TEXT  */

header {
  padding: 30px 50px;
  /* background-color: #FFFFFF; */
  position: absolute;
  z-index: 10;
  width: 100%;
  top: 0;
  left: 0;
  margin-bottom: 30px;
}

.nav a {
  font-size: 20px !important;
}

footer {
  background-color: var(--primary);
  color: white;
}

footer p {
  font-size: 1rem;
  font-weight: normal;
}



.border-white {
  border-color: #FFF !important;

}

.btn-outline-white:hover {
  border: 2px solid #ed9205;
  color: #ed9205;

}

.btn-secondary {
  color: white;
  font-size: 16px;
  background-color: var(--secondary) !important;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px 15px;
  font-family: "Cal Sans", sans-serif;
  transition: transform 0.6s ease-in-out;
  transform-origin: center center;
  /* optionnel, centre par défaut */
}

.btn-nav-secondary {
  background-color: var(--secondary);
}

.btn-nav-primary {
  background-color: var(--primary);
}

.btn-header {
  /* text-transform: uppercase; */
  font-weight: 700;
  background-color: var(--secondary);
  text-transform: uppercase;
}

.btn-header:hover {
  border: none !important;
  background-color: transparent;
}

.btn-secondary:hover {
  color: white !important;
}

.underline-effet,
.underline-effet-primary {
  position: relative;
  z-index: 2;

}

.underline-effet:after,
.underline-effet-primary {
  content: "";
  width: calc(100% + 4px);
  bottom: 10px;
  left: -2px;
  position: absolute;
  height: 17px;
  background: linear-gradient(78deg, rgba(20, 0, 37, 0) 0%, rgba(220, 0, 0, 1) 50%);
  z-index: -1;
  margin: 0 auto;
}


/* CARDS */

.shadowed {
  box-shadow: .1454px 10.1454px 18.5999px rgba(24, 19, 58, 0.06) !important;
}

.card {
  box-shadow: .1454px 10.1454px 18.5999px rgba(24, 19, 58, 0.06) !important;
  /* transition: all 0.5s;
  border: 0 solid rgba(0, 0, 0, 0.125);
  background-color: var(--card); */
  background: #fff;
  /* box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.1 ); */
  backdrop-filter: blur(6.5px);
  -webkit-backdrop-filter: blur(6.5px);
  border-radius: 5px;
  border: none;
}

.card-primary {
  box-shadow: .1454px 10.1454px 18.5999px rgba(24, 19, 58, 0.06) !important;
  background: radial-gradient(circle, rgba(15, 36, 145, 0.25) 0%, rgba(23, 23, 56, 0.09) 68%);

}

.card-secondary {
  border: 1px solid var(--secondary-light);
  border-radius: 10px;
}

.card-secondary hr {
  border-bottom: 1px solid var(--secondary-light);
}

.card-negative {
  margin-left: -100px;
  width: 50%;
}

.card-stat {
  text-align: center;
  padding: 1rem !important;
}

.card-media {
  background-color: var(--primary-light);
  /* border: 1px solid var(--primary); */
}

.card-media a {
  color: var(--primary) !important;
}

.card-stat p {
  font-size: 14px;
  text-transform: uppercase;
}

.card-header {
  background-color: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: none !important;
  padding: 0;
  margin-bottom: 10px;
}

.card-stat .stat {
  font-size: 42px;
  font-weight: 700;
}

.bulles-container {
  padding: 10px 20px;
  margin-bottom: 10px;
  border-radius: 10px;
  width: 70%;
}

.left {
  background: rgb(231, 226, 255);
}

.right {
  background: #e8f9fd;
  margin-left: auto;
}

/* background */

.bg-primary {
  background-color: var(--primary) !important;
}

.bg-primary-dark {
  background-color: var(--primary-dark) !important;

}

.bg-primary-light {
  background-color: var(--primary-light) !important;
}

.bg-light {

  background-color: var(--light) !important;
}

.bg-secondary {
  background-color: var(--secondary) !important;
}

.bg-gradient-secondary-light {
  background: linear-gradient(90deg, rgba(220, 0, 0, 0.08) 0%, rgba(220, 0, 0, 0.29) 100%);
}

.bg-tertiary {
  background-color: var(--tertiary) !important;
}

.bg-tertiary-light {
  background-color: var(--tertiary-light) !important;
}

.bg-secondary-light {
  background-color: var(--secondary-light);
}

.bg-success-light {
  background-color: var(--success-light) !important;
}

.bg-danger-light {
  background-color: var(--danger-light) !important;
}

.bg-background {
  background-color: var(--background);
}

.bg-gradient-primary {
  /* background: #140025; */
  /* background: linear-gradient(180deg, rgba(20, 0, 37, 1) 22%, rgba(220, 0, 0, 1) 100%); */
  background: radial-gradient(circle, rgba(15, 36, 145, 1) 0%, rgba(23, 23, 56, 1) 68%);
}

.bg-gradient-primary-light {
  background: radial-gradient(circle, rgba(104, 104, 163, 1) 0%, rgba(245, 245, 255, 1) 100%);
}


.text-informative {
  color: var(--informative);
}

.text-success {
  color: var(--success);
}


.p-heading-xs {
  font-size: 18px;
  font-weight: 700;
}

.p-heading {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.p-heading-xl {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;

}

.p-heading-xxl {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;

}

.p-heading-xxxl {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;

}

.p-heading-xxxxl {
  font-size: 75px;
  font-weight: 700;
  line-height: 1;
}

hr {
  border-top: 1px solid #ddd;
}


.btn-xl {
  font-size: 1.3rem !important;
}

.btn-primary {
  background-color: var(--primary) !important;
  color: white;
  border: none;
  transition: all 0.5s;
  font-size: 18px;
  padding: 10px 15px;
  text-transform: uppercase;

}

.btn-primary:hover {
  color: var(--primary);
  border: none;
}

.btn-outline-primary {
  background: transparent;
  border: 2px solid white !important;
  color: white;
  transition: all 0.5s;
  font-size: 16px;
  padding: 10px 15px;
  font-family: "Cal Sans", sans-serif;
  text-transform: uppercase;
}

.btn-outline-primary:hover {
  border: 2px solid var(--secondary) !important;
  color: white;
  background: transparent;
}

.btn-outline-primary:hover img {
  filter: brightness(0) saturate(100%) invert(14%) sepia(70%) saturate(4358%) hue-rotate(353deg) brightness(104%) contrast(123%);
}

.btn-danger {
  background-color: var(--danger) !important;
  color: white;
  border: none;
  transition: all 0.5s;
}

.btn-tertiary:hover {
  background-color: var(--secondary) !important;
  color: white;
  border: none;
}

/* 
.btn-primary img,
.btn-outline-primary img {
  filter: invert(100%);
} */




/* Badges */

.badge {
  font-weight: 500;
  border-radius: 0 !important;
}

.type-badge {
  position: absolute;
  right: 0;
  top: 0;
  font-weight: 500;
  padding: 10px;
  font-size: 18px;
  background: var(--secondary);
  color: white;

}

.badge-color {
  width: 15px;
  height: 15px;
  border-radius: 100%;
}


.badge-success {
  background-color: var(--success-light);
  color: var(--success);
}


.badge-danger {
  background-color: #ffd5df;
  /* color: rgb(182, 80, 80); */
  color: var(--tertiary);
}

.badge-primary-light {
  background-color: var(--primary-light) !important;
  color: var(--primary);
}

.badge-secondary-light {
  background-color: var(--secondary-light) !important;
  color: var(--secondary);
}

.badge-danger {
  background-color: var(--danger-light) !important;
  color: var(--danger);
}

/* END badge */


/* ---- Collapse section STYLE ----- */

.section-hidden {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s;
}

.show-signaler {
  max-height: 100px !important;
  overflow: initial !important;
}

.button-signaler {
  background: none;
  border: none;
}

/* ----  END  Signaler section STYLE ----*/

.border-radius-10 {
  border-radius: 10px !important;
}

.rounded {
  border-radius: 100% !important;
}

.vh100 {
  height: 100vh;
  position: relative;

}

.vertical-text {
  /* writing-mode: vertical-rl;
  transform: rotate(180deg); */
  font-size: 2rem;
}

.rotate {
  transform: rotate(-0.7deg);

}

.vertical-title {

  color: red;
  opacity: 0.7;
  font-size: 90px;
  font-weight: 700;
}

.center-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%);
  z-index: 3;
}

/* custom hero banner */

.hero-banner-container {
  position: relative;
  height: 85vh;
  overflow: hidden;
}

.hero-banner-container:before {

  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgba(60, 60, 60, 0.7);
  z-index: 2;


}

.video {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.hero-banner-container video {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.hero-banner-content {
  position: absolute;
  top: 50%;
  bottom: 5%;
  text-align: center;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 75%;
}

.hero-banner-content h1,
.hero-banner-title {
  /* font-size: clamp(2rem, 3.5vw, 6rem); */
  font-size: 48px;
  line-height: 1;

}

.hero-banner-content .catchphrase {

  font-size: clamp(1rem, 5vw, 1.2rem);

}


.video-window {
  position: absolute;
  top: 10%;
  left: 30%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  z-index: 4;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
  /* optionnel : donne un peu de profondeur */
}

.video-window video {
  position: absolute;
  top: -10%;
  left: -30%;
  width: 160%;
  height: 120%;
  object-fit: cover;
}

.text-content-bottom {
  position: absolute;
  z-index: 5;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
}


p {
  font-size: 1.3rem;
  font-weight: 300;
}

.hero-banner-container .dot {
  position: absolute;
  bottom: 80px;
  left: 32%;
  width: 40%;
  height: 2px;
  background-color: #FFF;
}

.arrow-down {
  animation: bounceDown 1.2s infinite;
  display: inline-block;
}

.red-dot {
  width: 40px;
  height: 2px;
  background-color: var(--secondary);
}

.video-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 500px;
}

.video-card:before {
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .7) 71%);
  z-index: 2;
}


.video-card-content {
  position: absolute;
  z-index: 10;
  bottom: 0;
  left: 0;
  padding: 10px 35px;
  width: 70%;
}

/* Animation par "accoups" */
@keyframes bounceDown {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(12px);
  }

  60% {
    transform: translateY(6px);
  }
}


.project-container {
  position: relative;
  overflow: hidden;

}

.project-container:before {
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .7) 100%);
  border-radius: 10px;
}

.project-container .project-content {
  position: absolute;
  bottom: 0;
  left: 0;
  color: white;
  padding: 10px 20px;
  font-weight: 700;

}


/* .gradient {
        width: 100%;
        background: linear-gradient(334deg, rgb(250, 23, 110), #FE2D2D, rgb(148, 3, 251));
        background-size: 180% 180%;
        animation: gradient-animation 6s ease infinite;

    } */

@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.project-container {
  position: relative;
  overflow: hidden;
}

.project-thumbnail,
.project-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  transition: opacity 0.6s ease-in-out;
}

.project-thumbnail {
  opacity: 1;
  z-index: 2;
}

.project-video {
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  /* pour éviter les conflits de hover */
}

.project-container:hover .project-thumbnail {
  opacity: 0;
}

.project-container:hover .project-video {
  opacity: 1;
}

/* FORM */

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  width: 100%;
  border: 1px solid #000;
  border-radius: 0;
  padding: 15px
}

input[type="submit"] {
  text-transform: uppercase;
  font-family: "Cal Sans", 'sans-serif';

}

textarea {
  height: 150px;
  resize: vertical;
}

label {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  font-family: "Cal Sans", sans-serif;
}

.mobile-nav {
  transform: translateX(-400px);
  transition: all 0.5s;
  display: none;

}

#burger {
  display: none;
}

.logo {
  width: 200px;
}

.reveal {
  opacity: 0;
  transition: all 0.8s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Fade up ---- */
.fade-up {
  transform: translateY(40px);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Fade down ---- */
.fade-down {
  transform: translateY(-40px);
}

.fade-down.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Fade left ---- */
.fade-left {
  transform: translateX(40px);
}

.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---- Fade right ---- */
.fade-right {
  transform: translateX(-40px);
}

.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.logo-swiper, .logo-swiper-tv  {
  width: 100%;
  padding: 20px 0;
}

.logo-swiper .swiper-slide, .logo-swiper-tv .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 300px;
}

.logo-swiper  img, .logo-swiper-tv img {
  max-height: 30px;
  object-fit: contain;
  transition: filter 0.3s;
}

.swiper-partenaires img {
  max-height: 60px;
  object-fit: contain;
}

.logo-swiper img:hover, .logo-swiper-tv img:hover {
  filter: grayscale(0%);
}


.swiper-wrapper {
  align-items: center;
}


.logo-swiper .swiper-slide img, .logo-swiper-tv .swiper-slide img  {
  height: 300px;
  /* conserve les proportions */
  object-fit: contain;
  /* utile si toutes n'ont pas les mêmes ratios */
}

.nav {
  display: flex;
  justify-content: space-between;
}

/*------------RESPONSIVE---------*/

/* VUE tablettes + mobiles */

@media screen and (max-width: 991px) {

  .underline-effet:after {
    background: transparent;
  }

  #burger {
    display: block;
  }

  .p-heading-xxxxl {
    font-size: 2rem;
    line-height: 0.9;
  }

  .mobile-nav {
    position: absolute;
    z-index: 300;
    width: 100%;
    height: 100%;
    background-color: #fff;
    overflow: hidden;
    transition: all 0.5s;
    top: 0;

  }

  .nav-active {
    transform: translateX(0);
    transition: all 0.5s;
    display: block;
  }



  /* NAV BURGER */

  .nav {
    display: none;
  }

  /* Le contenu de la page prend donc maintenant toute la largeur vu que la sidebar a disparu */

  .main {
    padding-left: 0;
    width: 100%;
  }

  /* On fait appraitre le menu en bas de l'écran  */
  .nav-mobile {
    display: block;
  }

  #burgerGroup {
    display: flex;
  }

  /* END NAV BURGER */

  h1 {
    font-size: 32px;
  }

  .hero-banner-content h1 {
    font-size: 2rem;
    text-align: center;
  }

  .catchphrase {
    text-align: center;
    font-size: 1rem;
  }

  .content {
    margin-left: 0;
  }

  .slot-info-container {
    width: 100%;
  }

  .emission-content,
  .emission-date,
  .emission-full,
  .emission-not-full {
    width: 100%;
  }

  .btn-outline-primary {

    font-size: 12px;
    padding: 5px 10px;
  }
}

@media screen and (max-width: 1199px) {
  /* .catchphrase {
    font-size: 2rem !important;
  } */

}

/* END VUE tablettes + mobiles */

/*----- EXTRA SMALL ---*/

@media screen and (max-width: 575px) {

  .hero-banner-content {
    top: 45%;
  }

  .p-heading-xxl {
    font-size: 24px;


  }

  .nav-mobile a {
    font-size: 10px;
  }

  .card-header>input {
    /* display : none; */
  }

  #search {
    width: 100%;
  }

  .card-header {
    display: block;
  }

  input[type='date'] {
    font-size: 0.8rem;
  }

  .progress-container {
    border-radius: 5px;
    height: 30px;
  }

  .p-heading {
    font-size: 1rem;
  }

  .p-heading-xxxl {
    font-size: 36px;
  }

  .p-heading-xl {
    font-size: 1.3rem;
    font-weight: 700;

  }

  #expectedRevenue {
    display: none !important;
  }

  .nav-side {

    width: 75%;
  }

  .p-heading-xs {
    font-size: 14px;
  }

  header {
    /* padding: 5px 35px;
    background-color: #fff; */
  }

  .btn-secondary {
    font-size: .7rem;
  }



  .card-negative {
    margin-left: 0;
    width: 100%;
  }

  .logo {
    width: 150px;
  }

}

/*-----  SMALL ---*/

@media screen and (min-width: 576px) and (max-width: 767px) {
  .card-header>input {
    display: none;
  }

  #search {
    width: 100%;
  }
}

/*------- MEDIUM --------*/

@media screen and (min-width: 768px) and (max-width: 991px) {
  .card-header>input {
    display: none;
  }

  #search {
    width: 100%;
  }

  .logo {
    width: 150px;
  }
}

/*------- Large --------*/

@media screen and (min-width: 992px) and (max-width: 1199px) {
  .content {
    margin-left: 20%;
  }

  .slot-info-container {
    width: 80%;
  }
}

/* Large and +  */

@media screen and (min-width: 992px) {
  .navbar {
    display: none;
  }

  .emission-content {
    width: 68%;
  }

  .emission-date {
    width: 16%;
  }

  .emission-full {
    width: 16%;
  }

  .emission-not-full {
    width: 16%;
  }
}

/*------- XLarge --------*/

@media screen and (min-width: 1200px) and (max-width: 1599px) {
  .content {
    margin-left: 18%;
  }
}

/* Large+++ and +  */

@media screen and (min-width: 1600px) {
  .nav-side {
    width: 15%;
  }
}