:root {
  --color-bleu: #151D53;
  --color-violet: #4353FF;
  --color-orange: #FFC900;
}

/* Sora Light */
@font-face {
  font-family: 'Sora';
  src: url('../fonts/Sora-Light.woff2') format('woff2'),
    url('../fonts/Sora-Light.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Sora Regular */
@font-face {
  font-family: 'Sora';
  src: url('../fonts/Sora-Regular.woff2') format('woff2'),
    url('../fonts/Sora-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Sora Medium */
@font-face {
  font-family: 'Sora';
  src: url('../fonts/Sora-Medium.woff2') format('woff2'),
    url('../fonts/Sora-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Sora SemiBold */
@font-face {
  font-family: 'Sora';
  src: url('../fonts/Sora-SemiBold.woff2') format('woff2'),
    url('../fonts/Sora-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Sora Bold */
@font-face {
  font-family: 'Sora';
  src: url('../fonts/Sora-Bold.woff2') format('woff2'),
    url('../fonts/Sora-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Sora ExtraBold */
@font-face {
  font-family: 'Sora';
  src: url('../fonts/Sora-ExtraBold.woff2') format('woff2'),
    url('../fonts/Sora-ExtraBold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


html {
  margin-top: 0 !important;
}

body {
  min-height: 100dvh;
  font-family: 'Sora', sans-serif;
  background-color: var(--color-bleu);
  display: flex;
  justify-content: center;
}

body::before {
  content: '';
  position: absolute;
  inset: 0;
  /* top:0; right:0; bottom:0; left:0; */
  background-image: url('../assets/images/bg-seamless.jpg');
  background-repeat: repeat-y;
  background-size: cover;
  mix-blend-mode: color-burn;
  opacity: 0.3;
  pointer-events: none;
  /* pour ne pas bloquer les clics */
  z-index: -1;
  /* derrière le contenu */
}

ul {
  list-style-type: none;
  margin: 0 !important;
  padding: 0 !important;
}

a {
  text-decoration: none;
}

.cover {
  overflow: hidden;
}

.cover img {
  object-fit: cover;
  font-family: 'object-fit: cover';
  height: 100%;
  width: 100%;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.container,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  max-width: 1600px !important;
}

section.howTo {
  margin-top: 100px;
}

section.fonct,
section.faq {
  padding-top: 150px;
}

/*
SOMMAIRE
00 - HEADER
01 - HERO
02 - HOW TO
03 - FONCTIONS
04 - FAQ
05 - BENTO
06 - FOOTER
07 - ACTUALITES
*/


/****** HEADER ******/
header#site-header {
  z-index: 5;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  position: fixed;
  margin: auto;
  transition: all 0.3s ease;
}
header#site-header.scrolled.mobile{
  padding: 0;
}
header#site-header.scrolled.mobile .navbar{
  margin-top: 0px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  padding: 24px 30px;
  border: 0px;
}
header .logo img {
  min-height: 40px;
}

header #site-navigation a {
  font-size: 18px;
  transition: all 0.3s ease;
}

header #site-navigation a:hover {
  color: var(--color-orange) !important;
}

header .btn {
  border-color: var(--color-orange);
  color: var(--color-orange);
  padding: 6px 6px 6px 20px;
  transition: all 0.3s ease;
}

header .btn:hover {
  box-shadow: 0 0 0 2px var(--color-orange);
  color: var(--color-orange);
}

header .icon-transition {
  min-height: 16px;
  transition: transform 0.3s ease;
}

header .btn:hover .icon-transition {
  transform: rotate(45deg);
}

/* === Styles personnalisés === */
header {
  position: relative;
  z-index: 1000;
}
header#site-header .navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  margin-top: 20px;
}
header#site-header.scrolled .navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 30px;
  margin-top: 20px;
  border: 1px solid var(--color-violet);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  background: rgba(8, 16, 40, 0.85);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar ul {
  display: flex;
  gap: 2rem;
  margin: 0;
  list-style: none;
}

.navbar a {
  text-decoration: none;
  color: white;
  transition: color 0.3s;
}

.navbar a:hover {
  color: var(--color-orange);
}

/* === Bouton hamburger === */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* Animation croix */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

    /* === Menu mobile === */
    @media (max-width: 992px) {
      .navbar ul {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 75%;
        background-color: var(--color-bleu);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        transition: right 0.4s ease;
      }

      .navbar ul.active {
        right: 0;
      }

      .menu-toggle {
        display: flex;
      }

      #downloadBtn {
        display: none;
      }
    }


/****** HERO ******/
.heroSection {
  min-height: 100dvh;
}

.heroSection .content {
  width: 36%;
  margin: auto 0;
}

.heroSection .content h1 {
  font-size: 80px;
  font-weight: bold;
}

.heroSection .content span.timer {
  text-transform: uppercase;
  padding: 6px 10px;
  color: var(--color-orange);
  border: 1px solid var(--color-orange);
  border-radius: 50px;
}

.heroSection .content #downloadBtn a {
  color: var(--color-bleu);
  background-color: var(--color-orange);
  width: fit-content;
  border-radius: 50px;
  padding: 6px 6px 6px 20px;
}

.heroSection .content #downloadBtn a img {
  transition: transform 0.3s ease;
}

.heroSection .content #downloadBtn a:hover img {
  transform: rotate(45deg);
}

.heroSection .heroImg {
  height: 100%;
  width: 60%;
  display: flex;
  align-items: end;
}

.heroSection .heroImg img {
  object-fit: contain;
  height: 90%;
  margin-left: auto;
}
@media screen and (max-width: 1920px) and (max-width: 1920px) {
  .heroSection .heroImg img {
    width: 71%;
  }
}
@media screen and (max-width: 1400px) and (max-width: 1400px) {
  .heroSection .content {
    width: 45%;
  }
  .heroSection .heroImg {
    width: 50%;
  }
  .heroSection .heroImg img {
    width: 100%;
  }
}


/****** HOW TO ******/
.titleBloc .subTitle {
  width: fit-content;
  color: var(--color-orange);
  border: 1px solid var(--color-orange);
  border-radius: 50px;
  padding: 6px 10px;
}

.titleBloc p {
  width: 52%;
}

section.howTo .howToBloc .howToItem div {
  border: 1px solid var(--color-violet);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

section.howTo .howToBloc .howToItem div:hover {
  box-shadow: 0px 0px 12px rgba(67, 83, 255, 0.5);
}

section.howTo .howToBloc .howToItem div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background-image: url('../assets/images/howto-img.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

section.howTo .howToBloc .howToItem div::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: rgba(21, 29, 83, 0.5);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

section.howTo .howToBloc .howToItem div:hover::after {
  background: rgba(21, 29, 83, 0.25);
  backdrop-filter: blur(14px);
}

section.howTo .howToBloc .howToItem span {
  font-size: 21px;
  margin: 10px 0 8px 0;
}

/****** FONCTIONS ******/
section.fonct{
  position: relative;
}
section.fonct::after{
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  background-image: url(../assets/images/separator-border.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom center;
  z-index: 0;
  width: 100%;
  height: 100px;
}
section.fonct .fonctBloc {
  display: flex;
  align-items: end;
}

section.fonct .fonctItem {
  background-color: var(--color-bleu);
  border: 1px solid var(--color-violet);
  border-radius: 20px;
  padding: 16px 20px;
  transition: all 0.3s ease;
}

section.fonct .fonctItem:hover {
  box-shadow: 0px 0px 12px rgba(67, 83, 255, 0.35);
}

section.fonct .fonctItem span {
  font-size: 18px;
}


/****** FAQ ******/
section.faq{
  position: relative;
}
section.faq::after{
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%) rotate(180deg);
  background-image: url(../assets/images/separator.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom center;
  z-index: 0;
  width: 100%;
  height: 100px;
}
section.faq .faq-content {
  margin: 0 auto;
}
section.faq .faq-question {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background-color: var(--color-bleu);
  margin: 0 0 20px 0;
  transition: border-color 0.3s ease;
}
section.faq .faq-question:hover {
  border-color: var(--color-orange);
}
section.faq .faq-question:hover .panel-title,
section.faq .faq-question:hover .plus {
  color: var(--color-orange);
}

section.faq input.panel:checked~.panel-label .panel-title,
section.faq input.panel:checked~.panel-label .plus {
  color: var(--color-orange);
}
section.faq input.panel:checked~.panel-label {
  border-color: var(--color-orange);
}

section.faq input.panel:checked~.panel-content {
  height: auto;
  opacity: 1;
  padding: 0px 30px 20px 30px !important;
}

/* Reste du style inchangé */
section.faq .panel-title {
  font-size: 17px;
  position: relative;
  margin: 0;
  display: block;
  cursor: pointer;
  transition: color 0.3s ease;
}

section.faq input.panel {
  display: none;
}

section.faq .panel-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  cursor: pointer;
  padding: 20px 30px;
  transition: color 0.3s ease;
}

section.faq .panel-content {
  font-size: 15px;
  color: #ffffff;
  width: 100%;
  padding: 0 !important;
  height: 0;
  overflow: hidden;
  z-index: 0;
  position: relative;
  opacity: 0;
  transition: 0.4s ease;
}

section.faq .plus {
  margin-left: auto;
  z-index: 4;
  font-size: 28px;
  color: #ffffff;
  width: 32px;
  height: 32px;
  text-align: center;
  line-height: 32px;
  user-select: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

section.faq input.panel:checked~.panel-label .plus {
  transform: rotate(45deg);
}


/****** BENTO ******/
section.bento{
  background-color: #F1F6FD;
  padding: 100px 0;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 250px;
  gap: 1.5rem;
}

.bento-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* === Disposition Desktop === */
.bento-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 3;
  border: 6px solid var(--color-bleu);
}

.bento-item:nth-child(2) {
  grid-column: span 4;
  grid-row: span 3;
}

.bento-item:nth-child(3) {
  grid-column: span 1;
  grid-row: span 1;
}

.bento-item:nth-child(4) {
  grid-column: span 1;
  grid-row: span 1;
}

.bento-item:nth-child(5) {
  grid-column: span 4;
  grid-row: span 1;
}

/* === Responsive === */
@media (max-width: 1200px) {
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
  }

  .bento-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 3;
  }

  .bento-item:nth-child(2) {
    grid-column: span 2;
    grid-row: span 3;
  }
  .bento-item:nth-child(3), .bento-item:nth-child(4) {
    grid-column: span 2;
    grid-row: span 1;
  }

  .bento-item:nth-child(5) {
    grid-column: span 4;
    grid-row: span 2;
  }
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .bento-item {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}
.bento-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: bottom;
  z-index: 1;
  transition: transform 0.5s ease;
}
.bento-item:hover .bento-bg-image {
  transform: scale(1.1);
}
.bento-overlay-text {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  border-radius: 15px;
  padding: 1rem;
  color: white;
  margin: 1rem;
}
.bento-hover-scale {
  transition: transform 0.3s ease;
}
.bento-hover-scale:hover {
  transform: scale(1.05);
}
.bento-icon {
  transition: all 0.3s ease;
}
.bento-item:hover .bento-icon {
  transform: scale(1.1);
}


/****** FOOTER ******/
footer {
  background-color: var(--color-bleu);
}
footer a {
  color: white;
  transition: all 0.3s ease;
}
footer a:hover {
  color: var(--color-orange);
}
div.social a {
  background-color: var(--color-orange);
  border-radius: 50px;
  width: 36px;
  height: 36px;
  padding: 8px;
  transition: all .3s ease;
}
div.social a:hover {
  background-color: white;
}
div.social a svg {
  color: var(--color-bleu);
}
div.contact svg {
  color: var(--color-orange);
}

/* ===== FORMULAIRE NEWSLETTER ===== */
.newsletter-wrapper input {
  color: white !important;
  font-family: 'Sora', sans-serif !important;
  background-color: transparent !important;
  border-radius: 0px !important;
  padding: 16px 0 16px 0 !important;
  border: none !important;
  border-bottom: 1px solid white !important;
}
.ff-el-group input:focus {
  outline: none;
  box-shadow: none;
}
.ff-t-column-1{
  flex-basis: 100% !important;
}
.ff-el-group {
  display: flex;
  align-items: center;
  position: relative;
  background-color: transparent;
  padding-bottom: 0.5rem;
}
.ff-el-input--content{
  width: 100%;
}
.ff-el-input--content input::placeholder {
  color: rgba(255, 255, 255, 1);
}
.ff-t-container{
  position: relative;
}
.ff-t-column-2{
  position: absolute;
  top: 10px;
  right: 0;
  width: 40px !important;
  height: 40px !important;
  flex-basis: inherit !important;
}
.ff-btn-submit {
  background-color: var(--color-orange) !important;
  border: 0px !important;
  border-radius: 50px !important;
  min-width: 40px !important;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  position: absolute;
  right: 0;
  bottom: 4px;
  transition: all 0.3s ease;
  justify-content: center;
  align-items: center;
  display: flex !important;
}
.ff-btn-submit:hover {
  transform: translateX(2px);
  background-color: var(--color-violet) !important;
}
.ff-btn-submit::before {
  content: "→";
  font-size: 20px;
  font-weight: 900;
  color: var(--color-bleu);
}

/* POP UP */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.popup-content {
    background: rgba(0,0,0,0.5); /* léger assombrissement */
    backdrop-filter: blur(10px); /* flou derrière la popup */
    -webkit-backdrop-filter: blur(10px);
    color: var(--color-white);
    border: 1px solid var(--color-violet);
    padding: 28px;
    border-radius: 20px;
    max-width: 400px;
    width: 90%;
    text-align: center;
}
.close-btn {
    margin-top: 5px;
    padding: 10px 25px;
    background: var(--color-violet);
    border: none;
    color: #fff;
    border-radius: 50px;
    cursor: pointer;
}


/****** ACTUALITES ******/
section.actualites{
  margin-top: 120px;
}
section.actualites .actuItem:not(:first-child){
  margin-top: 50px;
}
section.actualites .actuItem, section.actualites a.cover{
  max-height: 420px;
  height: 420px;
  border-radius: 20px;
  overflow: hidden;
  transition: all .3s ease;
}
section.actualites .card-body{
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
}
section.actualites .card-body h5{
  font-size: 26px;
}
section.actualites .card-date{
  position: absolute;
  left: 20px;
  top: 20px;
  padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);
  text-align: center;
  z-index: 2;
}
section.actualites .card-jour{
  background-color: var(--color-violet);
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  padding: 4px 10px;
  width: 100%;
}
section.actualites .card-month{
  background-color: white;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  padding: 4px 10px;
  width: 100%;
  color: var(--color-violet);
}
section.actualites .card-img-top {
  object-fit: cover; /* pour recadrer l’image sans la déformer */
  object-position: center center; /* centre l’image parfaitement */
  display: block;
}
section.actualites .actuItem::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), linear-gradient(360deg, #4353FF 0%, rgba(67, 83, 255, 0.75) 50%, rgba(67, 83, 255, 0) 100%);
  z-index: 0;
  transition: all .3s ease;
}
section.actualites .actuItem:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(67, 83, 255, 0.25);
}
section.actualites .actuItem::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.25), rgba(0,0,0,0.25)), linear-gradient(360deg, #4353FF 25%, rgba(67,83,255,0.35) 40%, rgba(67,83,255,0) 50%);
  z-index: 1;
  opacity: 0;
  transition: opacity .3s ease;
}
section.actualites .actuItem:hover::before {
  opacity: 1;
}
section.actualites a.fullLink{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 5;
}
/* .page-template-actualites .sidebar{
  background-color: var(--color-bleu);
  border: 1px solid var(--color-violet);
  border-radius: 20px;
  position: sticky;
  top: 100px;
} */
section.actualites .sidebar{
  border: 1px solid var(--color-violet);
  border-radius: 20px;
  position: sticky;
  top: 100px;
  overflow: hidden;
  transition: all 0.3s ease;
}
section.actualites .sidebar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background-image: url(../assets/images/howto-img.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
section.actualites .sidebar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: rgba(21, 29, 83, 0.5);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}
article #actu ul{
  list-style-type: disclosure-closed;
  margin: 20px !important;
}
article #actu ul li:not(:first-child){
  margin-top: 10px;
}


@media screen and (max-width: 1200px) and (max-width: 1200px) {
  section.fonct .fonctBloc {
    padding-bottom: 140px;
  }
  .heroSection .content h1 {
    font-size: 70px;
  }
}
@media screen and (max-width: 996px) and (max-width: 996px) {
  .titleBloc p, .heroSection .content, .heroSection .heroImg{
    width: 100%;
  }
  .heroSection .content{
    margin-top: 120px;
    text-align: center;
  }
  .heroSection .content .country{
    flex-direction: column !important;
  }
  .heroSection .content .country img{
    margin-bottom: 12px;
  }
}
@media screen and (max-width: 768px) and (max-width: 768px) {
  section.actualites .card-body h5 {
      font-size: 23px;
  }
  section.faq .plus {
    display: none;
  }
  .heroSection .heroImg{
    margin-top: 30px;
  }
}
@media screen and (max-width: 500px) and (max-width: 500px) {
  section.fonct .fonctBloc {
    padding-bottom: 90px;
  }
  section.fonct, section.faq {
    padding-top: 100px;
  }
  .heroSection .content h1 {
    font-size: 44px;
  }
}