/* styles.css */
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  background-color: #fafbfc;
  color: #333;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

#tarteaucitronAlertSmall {
  display: none !important;
}

#tarteaucitronIcon {
    left: 10px !important;
  right: auto !important;
  bottom: 10px !important;
}

.tarteaucitron-open-main {
  display: none !important;
}

#tarteaucitronAlertBig {
  top: auto !important;
  bottom: 0 !important;
}
/*--------*/
/* HEADER */
/*--------*/
.header {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  height: 80px;
  align-items: center;
  border-bottom: 5px solid #f8a814;
  position: fixed; /* Ajouté */
  top: -100px;
  width: 100%;
  background-color: #fafbfc;
  z-index: 1000;
  padding: 5px;
  transition: top 0.5s ease-in-out;
}

.header.visible {
  top: 0;
}

a {
  text-decoration: none;
  color: #333;
}

.logo-container {
  display: flex;
  width: 20%;
  height: 100%;
  align-items: center;
}

.logo-container a {
  width: inherit;
  height: inherit;
  margin-top: 15px;
}

.logo {
  display: block;
  height: 75%;
  margin-left: 20px;
}

.menu {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 30px;
  width: 50%;
  margin-right: 20px;
}

.menu-item:hover {
  color: #fe5e04;
  border-bottom: 2px solid #fe5e04;
}

/* État sélectionné */
.menu-item.selected {
  color: #fe5e04;
  border-bottom: 2px solid #fe5e04;
}

.header-cta {
  width: 25%;
  text-align: end;
  margin-right: 20px;
}

.main-title {
  font-family: "Space Grotesk", sans-serif;
  text-align: center;
}

.main-subtitle {
  font-size: 1rem;
  margin-top: 10px;
  animation: fadeInFromBack 1s ease forwards;
  text-align: center;
}

/*--------------*/
/* INTRODUCTION */
/*--------------*/

.intro {
  background-color: #1d2c3a;
  color: #fff;
  padding-top: 50px;
}

.intro-content {
  margin-top: 50px;
}

.intro-content-responsive {
  display: none;
}

.intro-header-title {
  font-family: "SF Pro Rounded", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 110%; /* ou 59px */
  background: linear-gradient(180deg, #fefae0 0%, #90e0ef 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  text-align: center; /* Optionnel : pour centrer le texte */
  animation: fadeInFromBack 0.5s ease forwards;
}

.intro-header-subtitle {
  font-size: 1.2rem;
  margin-top: 10px;
  animation: fadeInFromBack 1s ease forwards;
  text-align: center;
}

.steps-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  position: relative;
  max-width: 800px;
  margin: 30px auto;
}

.left {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.step-card {
}

.step-card-bottom {
  margin-top: 50px;
}

.step-number {
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  background-color: #00a6b3;
  border-radius: 40px;
  padding: 5px 10px;
}

.step-card-image {
  width: 100%;
  height: 115px;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.step-card-image.visible {
  animation: fadeIn 0.5s forwards;
}

.robot-container {
  width: 25%;
  padding: 20px;
  text-align: center;
}

.robot-image {
  max-width: 80%;
  height: auto;
  opacity: 0.8;
  animation: fadeInFromBack 1s ease forwards;
}

.intro-cta {
  margin-top: 50px;
  margin-bottom: 50px;
  text-align: center;
  animation: fadeInFromBack 1s ease forwards;
}

.intro-footer {
  position: relative;
  width: 100%;
  height: 10px;
  bottom: 0;
}

.intro-footer-line {
  position: absolute;
  width: 100%;
  height: 5px;
  background: #00a6b3;
  left: 0;
  bottom: 0;
}

.intro-footer-triangle {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 0px solid transparent;
  border-right: 130px solid transparent;
  border-bottom: 130px solid #00a6b3;
  right: 0;
  bottom: 5px;
  transform: rotate(270deg);
}

/*----------*/
/* Problems */
/*----------*/
.problems {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 50px;
  padding: 20px;
  height: 100%;
}

.problems-content {
  display: flex;
  flex-direction: column;
  height: auto;
  margin-top: 30px;
}

.problems-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px;
  gap: 19px;
  margin: 30px 0;
}

.selected {
  color: #fe5e04;
  font-weight: 700;
  border-bottom: 5px solid #fe5e04;
}

.problems-links a:hover {
  color: orange;
  border-bottom: 5px solid orange;
}

.problems-links-content {
  box-sizing: content-box;
}

.link-content {
  border: 2px solid #00a6b3;
  border-radius: 4px;
  padding: 50px;
  height: 135px;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  box-sizing: content-box;
}

.link-content[style*="display: block"] {
  opacity: 1;
}

.link-content-header {
  font-size: 1.875rem;
  font-weight: 500;
}

.link-content-body {
  margin-top: 10px;
  font-size: 1.25rem;
}

.link-content-footer {
  margin-top: 30px;
  font-size: 1.25rem;
  color: #fe5e04;
  font-weight: 700;
}

/*----------*/
/* SOLUTION */
/*----------*/

.solution {
  display: flex;
  flex-direction: row;
  gap: 100px;
  height: 100%;
  width: 90%;
  scroll-margin-top: 120px;
  padding: 80px 40px;
  background-color: #fff; /* Ajouté pour le fond blanc */
  position: relative; /* Nécessaire pour les pseudo-éléments */
  border-top-right-radius: 24px; /* Arrondi le coin supérieur droit */
  border-bottom-right-radius: 24px; /* Arrondi le coin inférieur droit */
  box-shadow: 0px 4px 24px rgba(255, 255, 255, 0.24); /* Ajouté pour l'ombre */
  margin-bottom: 80px;
}

.solution::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-top-right-radius: 24px;
  border-bottom-right-radius: 24px;
  padding: 8px;
  background: linear-gradient(
    to bottom left,
    #00a6b3,
    #f8a814 45%,
    #fe5e04 71%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}

.solution-left {
  display: flex;
  width: 40%;
  flex-direction: column;
}

.solution-title {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
}

.rectangle {
  width: 65px;
  height: 25px;
}

.circle {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  margin-left: 5px;
}

.text {
  font-size: 1.25rem;
  font-weight: 700;
  margin-left: 10px;
}

.blocs {
  display: flex;
  flex-direction: column;
  margin-top: 50px;
  gap: 10px;
  align-items: stretch;
}

.bloc {
  background-color: #1d2c3a;
  color: white;
  font-size: 0.875rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 10px;
}

.bloc-title {
  font-weight: 700;
  margin-left: 10px;
}

.rectangle-with-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 200px;
  background: #182d3b;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  color: white;
  margin-bottom: 20px;
}

.rectangle-with-text {
  transition: all 0.3s ease-in-out;
}

.rectangle-with-text .bloc-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.rectangle-with-text .bloc-description {
  font-size: 1rem;
  line-height: 1.5;
}

/* Slider */
.slider-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.slider-bar {
  position: relative;
  width: 100%;
  max-width: 300px;
  height: 10px;
  background: #182d3b;
  border-radius: 5px;
}

.slider-button {
  position: absolute;
  top: -5px;
  left: -7px;
  width: 20px;
  height: 20px;
  background: #00a6b3;
  border-radius: 50%;
  cursor: pointer;
  transition: left 0.3s ease;
}

.slider-positions {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 300px;
}

.slider-position {
  font-size: 0.875rem;
  color: #182d3b;
  cursor: pointer;
}

.solution-right {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  width: 60%;
  max-width: 800px; /* ou ce que tu veux */
  margin: 0 auto;
}

.solution-right video {
  transition: opacity 0.3s ease-in-out;
  width: 80%;
  height: 90%;
  object-fit: cover; /* ou "contain" si tu veux que tout soit visible sans crop */
  display: block;
  border-radius: 15px;
  border: 1px solid #1d2c3a;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25); /* Ajout de l'ombre */
}

/*----------------*/
/* YOOKKAN BANNER */
/*----------------*/

.yookkan-banner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: #1d2c3a;
  color: #fff;
  padding: 80px 0 80px 40px;
  width: 100%;
}

.banner-content {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 30px;
  position: relative;
  background: #00a6b3;
  border-radius: 24px 0 0 0;
}

.banner-left-side {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}

.banner-content-title .title {
  font-size: 1.5rem;
}

.banner-content-title .title span {
  font-weight: 700;
  color: #f8a814;
}

.banner-content-list {
  display: flex;
  flex-direction: column;
}

.banner-content-list-item {
  display: flex;
  flex-direction: row;
  align-content: center;
  align-items: center;
  gap: 10px;
}

.banner-content-cta {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 20px;
}

.banner-content-decorative-1 {
  width: 125px;
  height: 25px;
  border-radius: 0 10px 10px 0;
  margin-left: -20px;
}

.banner-content-decorative-2 {
  width: 120px;
  height: 25px;
  border-radius: 10px;
  margin-left: 50px;
}

.banner-right-side {
  padding-top: 20px;
  display: flex;
  justify-content: flex-end;
  overflow: hidden;
  align-items: center;
  width: 60%;
}

.banner-content-image {
  width: -webkit-fill-available;
}

.banner-content-image img {
  max-width: 100%;
  object-fit: cover; /* Évite la déformation */
  transition: transform 0.3s ease-in-out;
  border-radius: 20px 0 0 0;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

/*-----------*/
/* OFFERS */
/*-----------*/

.offers {
  margin: 100px 50px;
}

/* Container for offer blocks */
.offers-content {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* Individual offer block */
.offer-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 300px;
}

/* Title above each block */
.offer-title {
  font-size: 18px;
  font-weight: bold;
  color: #000;
  margin-bottom: 10px;
  text-align: center;
  padding-left: 10px;
}

/* Content container */
.offer-content {
  padding: 20px;
  border-radius: 10px;
  width: 100%;
  box-sizing: border-box;
  min-height: 500px;
}

/* White background with gradient border */
.white-bg {
  background-color: #fff;
  position: relative;
  padding: 20px;
  border-radius: 10px;
}

.white-bg::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 10px;
  padding: 3px;
  background: linear-gradient(to top left, #00a6b3, #f8a814 45%, #fe5e04 71%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}

/* Dark background with gradient border */
.dark-bg {
  background-color: #1d2c3a;
  position: relative;
  padding: 20px;
  border-radius: 10px;
  overflow: hidden; /* Nécessaire pour masquer le pseudo-élément qui dépasse */
}

.dark-bg::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5px; /* Hauteur du gradient */
  background: linear-gradient(to right, #00a6b3, #f8a814 45%, #fe5e04 71%);
  z-index: 1;
}

/* Subtitle inside each block */
.offer-subtitle {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  font-style: italic;
}

/* List of descriptions */
.offer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.offer-list li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  color: #fff;
  font-size: 13px;
}

.offer-list li img {
  width: 16px;
  height: 16px;
  margin-right: 10px;
}

/*-----------*/
/* USE CASES */
/*-----------*/

.use-cases {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 100px 50px;
  padding: 20px;
  height: 100%;
  scroll-margin-top: 100px;
}

.use-cases-content {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  margin-top: 80px;
}

.use-cases-content .left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}

.use-cases-content-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  min-width: 350px;
  height: 50px;
  align-items: center;
  margin-bottom: 10px;
  border-radius: 0 5px 5px 0;
  border-left: 10px solid #f8a814;
  background-color: #fff;
  padding-left: 20px;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.row_selected {
  background-color: #f8a814;
  border-left: 10px solid #fe5e04;
  color: #fff;
}

.use-cases-content-row-title {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  padding: 0 10px;
}

.use-cases-content .right {
  display: flex;
  flex-direction: row;
  gap: 100px;
  height: 350px;
  width: 50%;
  position: relative; /* Nécessaire pour les pseudo-éléments */
  border-radius: 24px;
  box-shadow: 0px 4px 24px rgba(255, 255, 255, 0.24); /* Ajouté pour l'ombre */
  margin-left: 80px;
}

.use-cases-content .right::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 24px;
  padding: 4px;
  background: linear-gradient(
    to bottom right,
    #00a6b3,
    #f8a814 45%,
    #fe5e04 71%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}

.use-cases-content-detail {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 0.5s ease-in-out;
  height: 100%;
  border-radius: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.use-cases-content-detail-banner {
  width: 100%;
  height: fit-content;
  padding: 20px;
  opacity: 0.9;
  color: #1d2c3a;
  font-weight: 200;
  background-color: #fff;
}

/*-----------*/
/* WHY */
/*-----------*/

.why {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 100px 50px;
  padding: 20px;
  height: 100%;
}

.why-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 80px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 colonnes */
  gap: 30px; /* Espacement entre les blocs */
  /* width: 100%; */
  max-width: 1200px; /* Largeur maximale de la grille */
}

.why-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
}

.why-icon {
  padding-left: 5px;
  width: 35px;
  height: 35px;
}

.why-rectangle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  padding: 0 24px;
  height: 150px;
  max-width: 280px;
  background: #00a6b3;
  box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.36);
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  box-sizing: content-box;
}

.why-rectangle-title {
  font-size: 1.5rem;
  font-weight: 700;
}

/*----------*/
/* SECURITY */
/*----------*/

.security {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  margin-top: 50px;
}

.security-header {
  display: flex;
  max-width: 1200px;
  font-size: 1.25rem;
  font-weight: bold;
  margin-top: 30px;
  width: 100%; /* S'assure que l'élément occupe toute la largeur disponible */
}

.security-grid-row1 {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 colonnes */
  gap: 20px; /* Espacement entre les blocs */
  width: 100%;
  max-width: 1200px; /* Largeur maximale de la grille */
  margin-top: 50px;
}

.security-grid-row2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 3 colonnes */
  gap: 20px; /* Espacement entre les blocs */
  width: 100%;
  max-width: 1200px; /* Largeur maximale de la grille */
  margin-top: 20px;
}

.security-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  color: white;
  padding: 10px 10px;
  border-radius: 8px;
  box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.36);
}

.security-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0px;
}

.security-description {
  font-size: 0.875rem;
  line-height: 1.5;
}

/*-----*/
/* HOW */
/*-----*/
.how {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #fafbfc;
  width: 100%;
  margin-top: 150px;
  margin-bottom: 50px;
}

.how-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1200px;
  width: 100%;
}

.how-header .question {
  margin: 0;
  font-size: 0.825rem;
  margin-left: 120px;
}

.how-header .main-title {
  margin-top: 0;
  margin-left: 120px;
  text-align: left;
}

.how-header-footer {
  position: relative;
  width: 100%;
  height: 10px;
  bottom: 0;
}

.how-header-footer-line {
  position: absolute;
  width: 100%;
  height: 5px;
  background: #f8a814;
  left: 0;
  bottom: 0;
}

.how-header-footer-triangle {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 0px solid transparent;
  border-right: 130px solid transparent;
  border-bottom: 130px solid #f8a814;
  right: 0;
  bottom: 5px;
  transform: rotate(270deg);
}

.how-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-left: 100px solid #f8a814;
}

.how-item-list {
  display: flex;
  flex-direction: column;
  gap: 30px; /* Espacement entre les éléments */
  width: 80%;
  margin-top: 80px;
}

.how-item {
  display: flex;
  flex-direction: column;
  padding: 0 20px;
  border-left: 5px solid; /* Bordure gauche */
  /* box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.1); */
}

.how-item.blue-border {
  border-color: #00a6b3; /* Bordure bleue */
}

.how-item.orange-border {
  border-color: #f8a814; /* Bordure orange */
}

.how-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #1d2c3a;
  margin: 0px;
}

.how-description {
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
  padding-left: 20px;
}

.how-footer {
  margin-top: 50px;
}

/* Bouton "Prendre contact" */
.contact-button {
  background-color: #fe5e04;
  color: white;
  font-size: 1.5rem;
  font-weight: 300;
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease; /* Transition pour l'effet hover */
  display: block;
  margin: 0 auto; /* Centre le bouton horizontalement */
}

.contact-button:hover {
  background-color: #00a6b3; /* Couleur au survol */
}

.contact-button:focus {
  outline: none; /* Supprime le contour par défaut au focus */
}

/*--------*/
/* ORIGIN */
/*--------*/
.origin {
  width: 100%;
  margin-top: 80px;
}

.origin-top {
  padding: 40px 20px;
}

.origin-header {
  display: flex;
}

.origin-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* Left blocks */
.origin-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.origin-blocks {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

.origin-block {
  flex: 1; /* Permet aux blocs de prendre une largeur égale */
  padding: 20px;
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  line-height: 1.5;
  background-color: #1d2c3a; /* Couleur de fond par défaut */
  display: flex;
  flex-direction: column; /* Permet d'organiser le contenu verticalement */
  justify-content: center; /* Centre le contenu verticalement */
}

/* Right image */
.origin-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.origin-right img {
  width: 60%;
}

.highlight {
  color: #f8a814;
  font-weight: bold;
}

/*--------*/
/* FOOTER */
/*--------*/
.footer {
  width: 100%;
  margin-top: 80px;
}

/* Première partie */
.footer-top {
  padding: 40px 20px;
}

.footer-bottom {
  color: #000;
  padding: 40px 20px;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left {
  flex: 1;
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-right {
  flex: 1;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: right;
}

.footer-logo {
  max-width: 150px;
  margin-bottom: 10px;
}

.footer-separator {
  width: 100%;
  height: 2px;
  background-color: #00a6b3;
  margin: 20px 0;
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.875rem;
}

.footer-legal {
  color: #000;
  text-decoration: none;
  font-weight: 300;
}

.footer-legal:hover {
  text-decoration: underline;
}

/*-----*/
/* CTA */
/*-----*/
.cta-button {
  background-color: #fff;
  box-shadow: 0px 4px 24px rgba(255, 255, 255, 0.24);
  border-radius: 24px; /* Arrondi les coins */
  color: #1d2c3a;
  font-size: 0.875rem;
  padding: 10px 20px;
  cursor: pointer;
  margin-right: 20px;
  border: 3px solid transparent; /* Bordure de base transparente */
  background-clip: padding-box; /* Évite que la bordure empiète sur le fond */
  position: relative;
  transition: background-color 0.3s ease;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 24px; /* Appliquer le border-radius aussi ici */
  padding: 3px; /* Épaisseur de la bordure */
  background: linear-gradient(to right, #00a6b3 25%, #f8a814 45%, #fe5e04 71%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}

.cta-button:hover {
  background: linear-gradient(to right, #00a6b3 25%, #f8a814 45%, #fe5e04 71%);
  color: #fff;
}

/*---------*/
/* MODALES */
/*---------*/
.modal {
  display: none; /* Cachée par défaut */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  border-radius: 10px;
  width: 80%;
  max-width: 800px;
  height: fit-content;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.calendly-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  z-index: 1001;
}

.close-button:hover {
  color: #fe5e04;
}

#calendly-modal.modal {
  display: none; /* par défaut */
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5); /* fond semi-transparent */
  justify-content: center;
  align-items: center;
}

/* Le contenu de la modale occupe presque tout l’espace */
#calendly-modal .modal-content {
  width: 90%;
  height: 90%;
  max-width: 1000px;
  background: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
}

/* L'iframe occupe toute la place disponible */
.calendly-iframe {
  flex: 1;
  width: 100%;
  height: 100%;
  border: none;
}

/* Bouton de fermeture */
#calendly-modal .close-button {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10000;
}

.contact-form {
  padding: 20px;
  display: flex;
  flex-direction: column;
  color: #1d2c3a;
}

.contact-form input,
.contact-form textarea {
  width: 80%;
  margin-bottom: 1rem;
  padding: 0.75rem;
  font-size: 1rem;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.contact-form button {
  width: 100px;
}

/*----------*/
/* COULEURS */
/*----------*/
.yellow {
  background: #f8a814;
}

.orange {
  background: #fe5e04;
}

.blue {
  background: #00a6b3;
}

.blue-text {
  color: #00a6b3;
}

.dark-blue {
  background: #1d2c3a;
}

.dark-blue-text {
  color: #1d2c3a;
}

.grey {
  background: #6a6a6a;
}

.white {
  background: white;
}

/*-------------------*/
/* FORMES DECORATION */
/*-------------------*/

.decorative-rectangle-right-top,
.decorative-rectangle-left-top,
.decorative-donut,
.decorative-square {
  opacity: 0; /* Initialement caché */
}

/* Animation venant de la gauche */
.decorative-rectangle-right-top.left,
.decorative-rectangle-left-top.left,
.decorative-donut.left,
.decorative-square.left {
  animation: slideInFromLeft 1s ease forwards;
}

/* Animation venant de la droite */
.decorative-rectangle-right-top.right,
.decorative-rectangle-left-top.right,
.decorative-donut.right,
.decorative-square.right {
  animation: slideInFromRight 1s ease forwards;
}

/* Définition des transformations de base */
.decorative-rectangle-left-top {
  position: absolute;
  width: 200px;
  height: 40px;
  box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.36);
  border-radius: 4px;
  transform: matrix(0.67, 0.74, -0.7, 0.71, 0, 0);
  --original-transform: matrix(0.67, 0.74, -0.7, 0.71, 0, 0);
}

.decorative-rectangle-right-top {
  position: absolute;
  width: 200px;
  height: 40px;
  box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.36);
  border-radius: 4px;
  transform: rotate(130deg);
  --original-transform: rotate(130deg);
}

.decorative-donut {
  position: absolute;
  width: 204.35px;
  height: 201.76px;
  border-radius: 50%;
  box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.36);
  transform: rotate(0deg);
  --original-transform: rotate(0deg);
}

.donut-hole {
  position: absolute;
  width: 135px;
  height: 132px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #1d2c3a;
  border-radius: 50%;
}

.decorative-square {
  position: absolute;
  width: 155px;
  height: 155px;
  transform: matrix(0.87, -0.5, 0.5, 0.86, 0, 0);
  --original-transform: matrix(0.87, -0.5, 0.5, 0.86, 0, 0);
}

/*------------*/
/* MENTIONS LEGALES */
/*------------*/

.main-content {
  max-width: 800px;
  margin: 100px auto;
  padding: 20px;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-header {
  text-align: center;
  margin-bottom: 20px;
}

.wp-block-heading {
  font-size: 1.5rem;
  margin-top: 20px;
}

.wp-block-list {
  margin-left: 20px;
}

.bnbc-logo-block-container {
  margin-top: 40px;
  padding: 20px;
  text-align: center;
}

/*------------*/
/* ANIMATIONS */
/*------------*/

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInFromBack {
  from {
    opacity: 0;
    transform: translateZ(-200px) scale(0.5);
  }
  to {
    opacity: 1;
    transform: translateZ(0) scale(1);
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: var(--original-transform) translateX(-100px);
  }
  to {
    opacity: 1;
    transform: var(--original-transform) translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: var(--original-transform) translateX(100px);
  }
  to {
    opacity: 1;
    transform: var(--original-transform) translateX(0);
  }
}

/*-------------*/
/* RESPOPNSIVE */
/*-------------*/

@media screen and (max-width: 1024px) {
  /* Tablette */
  .solution {
    flex-direction: column;
    gap: 40px;
  }

  .solution-left,
  .solution-right {
    width: 100%;
  }

  .use-cases-content {
    flex-direction: column;
    align-items: center;
  }

  .use-cases-content .right {
    width: 100%;
    margin-left: 0;
  }

  .offers-content {
    flex-direction: column;
    align-items: center;
  }

  .offer-block {
    max-width: 90%;
  }
}

@media screen and (max-width: 768px) {
  /* Mobile */
  .main-title {
    font-size: 1.8rem;
    padding: 0 10px;
  }

  .intro-header-title {
    font-size: 2rem;
  }

  .intro-header-subtitle {
    font-size: 1rem;
    padding: 0 10px;
  }

  .slider-positions {
    flex-wrap: wrap;
    gap: 10px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .banner-content {
    flex-direction: column;
  }

  .banner-right-side {
    width: 100%;
    justify-content: center;
    padding: 0;
  }

  .banner-content-image img {
    width: 90%;
    margin: auto;
  }

  .footer-description {
    text-align: center;
    padding: 0 20px;
  }
}

@media screen and (max-width: 480px) {
  /* Petit mobile */
  .intro-cta,
  .footer-cta {
    padding: 0 10px;
  }

  .cta-button {
    font-size: 1rem;
    padding: 8px 16px;
  }

  .offer-subtitle {
    font-size: 1rem;
  }

  .link-content-body,
  .link-content-footer {
    font-size: 1rem;
  }

  .how-header .main-title {
    font-size: 1.5rem;
    margin-left: 0;
    text-align: center;
  }

  .how-header .question {
    margin-left: 0;
    text-align: center;
  }

  .how-content {
    border-left: none;
    padding: 0 10px;
  }

  .how-item {
    border-left: none;
    padding: 10px;
  }
}
