@font-face {
  font-family: "Gotham-Regular";
  src: url("/fonts/Gotham\ Regular.woff2") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gotham-Bold";
  src: url("/fonts/Gotham-Bold.woff2") format("opentype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gotham-Light";
  src: url("/fonts/Gotham-Light.woff2") format("opentype");
  font-weight: lighter;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gotham-Medium";
  src: url("/fonts/Gotham-Medium.woff2") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --nexstone-orange: #EE7203;
  --nexstone-grey: #F2F2F2;
  --nexstone-black: #000000;
  --nexstone-headerblack: #1c1c1c;
  --nexstone-yellow: #FEF400;
  --nexstone-mediumgrey:  #b3b3b3;
}

body {
  background-color: #ffffff;
  box-sizing: border-box;
  font-family: "Gotham-Regular", sans-serif;
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
}

/* Header */

.header {
  background-color: #1c1c1c;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.legal-terms .header {
  padding: 50px 0;
}

.header-background {
  background-image: url('/img/Nexstone_web3.jpg');
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: cover;
}

.header .header-content {
  max-width: 800px;
  margin: 100px auto;
  background-color: rgba(28, 28, 28, 0.85);
  padding: 30px 45px;
  border-radius: 30px;
}

.legal-terms .header {
  min-height: auto;
}

.container{
  max-width: 1200px;
  margin: 0 auto;
  padding:0 15px;
}

.logo {
  width: 80%;
  min-width: 300px;
  height: auto;
  margin: 0 auto;
}

.header h1 {
  font-size: 24px;
  text-transform: uppercase;
  font-weight: 500;
}

.header p {
  font-size: clamp(18px, 1.25vw, 21px);
  font-family: "Gotham-Light", sans-serif;
}

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

  .header h1 {
    font-size: 20px;
  }
}

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

  .header h1 {
    font-size: 20px;
  }

  .header p {
    font-size: 90%;
  }
}

/* Map */

.map-container {
  width: 100%;
  background-color: white;
  color: black;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 0% 0% 0%;
}

.map-container h2 {
  margin-top: 100px;
  font-size: 44px;
  font-family: "Gotham-Medium", sans-serif;
}

.map-layout {
  display: flex;
  max-width: 1200px;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 50px;
  margin-bottom: 0px;
  height: 100%;
}

.map-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 20%;
  height: 100%;
  gap: 20px;
}

@media (max-width: 768px) {
  .zone.active {
    border: 2px solid black;
  }
}

.zone {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 35px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  text-align: center;
  height: 30%;
  transition: filter 0.3s ease-in-out;
}

.zone:hover {
  filter: drop-shadow(0 0 0.75rem rgba(203, 202, 202, 0.512));
}

.zone .title {
  font-size: 21px;
  margin-bottom: 20px;
  font-family: "Gotham-Bold", sans-serif;
}

.zone p {
  margin: 0;
  font-family: "Gotham-Light", sans-serif;
}

.zone button {
  margin-top: 15px;
  padding: 10px;
  font-weight: bold;
  font-size: 14px;
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  height: 40px;
  width: 120px;
  font-family: "Gotham-Light", sans-serif;
  transition: scale 0.2s ease-in-out;
}

.zone button:hover {
  scale: 1.05;
}

.map-center {
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: center;
  aspect-ratio:600/710;
}

.map-center svg{
  width:100%;
  height:100%;
}

.france-map {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

@media screen and (max-width: 768px) {
  .map-container h2 {
    margin-top: 100px;
    font-size: 28px;
    font-family: "Gotham-Medium", sans-serif;
  }

  .map-layout {
    flex-direction: column;
    padding: 15px;
  }

  .map-column {
    width:100%;
  }

  .map-center {
    width: 80%;
  }

  .france-map {
    max-width: 100%;
    height: auto;
  }
}

g .territoire-sud-est:hover {
  /* fill: rgb(167, 102, 22); */
  fill: #000000;
}

g .territoire-grand-ouest:hover {
  /* fill: #294363; */
  fill: #000000;
}
g .territoire-nord-est:hover {
  /* fill: rgb(38, 102, 20); */
  fill: #000000;
}
g .territoire-nord-ouest:hover {
  /* fill: #9e001d; */
  fill: #000000;
}
/* MAP MOBILE */
@media screen and (max-width: 480px) {
  .map-layout {
    flex-direction: column;
    padding: 0;
  }

  .map-center {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
  }

  .map-column {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    width: 80%;
    height: 10%;
    margin-bottom: 10px;
  }

  .zone {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background-color: transparent;
    border: 1px solid rgb(223, 215, 215);
    width: 100%;
    height: auto;
    transition: none;
  }

  .zone:hover {
    filter: none;
  }

  .zone:active {
    transform: scale(0.95);
    opacity: 0.8;
  }

  .zone .title {
    display: inline;
    font-size: 60%;
    color: inherit;
    font-weight: bold;
    margin-bottom: 0px;
  }

  .zone p,
  .zone button {
    display: none;
  }

  .map-center {
    order: 2;
    width: 90%;
    margin-top: 10px;
  }

  #dynamic-content {
    margin-top: 10px;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #ffffff;
    font-size: 0.8rem;
    font-family: "Gotham-Light", sans-serif;
    height: 90px;
  }
}
/* END MAP MOBILE */

.banner-container {
  position: relative;
  width: 100%;
  height: 1000px;
  background-image: url("/img/Nexstone_web2.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Effet parallax */
  overflow: hidden;
}

.banner-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 768px) {
  .banner-container {
    height: 500px;
    background-attachment: scroll; 
  }
}

@media screen and (max-width: 480px) {
  .banner-container {
    height: 300px;
  }
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  height: 1000px;
}

.video-wrapper {
  position: relative;
  padding-top: 56.25%;
  height: 0;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media screen and (max-width: 768px) {
  .video-container {
    height: auto;
  }
}

@media screen and (max-width: 480px) {
  .video-container {
    height: auto;
  }
}

@media screen and (max-width: 768px) {
  .video-container {
    height: auto;
  }
}

@media screen and (max-width: 480px) {
  .video-container {
    height: auto;
  }
}

.indicators-container {
  width: 100%;
  background-color: white;
  color: black;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Gotham-Medium", sans-serif;
}

.indicators-title-container {
  display: flex;
  justify-content: flex-start;
  padding-top: 3.4rem;
  padding-bottom: 2rem;
}

.indicators-title {
  font-size: 44px;
  font-weight: bold;
}

.indicators-details-container {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin-top: 15px;
  padding-bottom: 3.4rem;
  @media(min-width:800px){
    grid-template-columns: repeat(2, 1fr);
  }
  @media(min-width:1200px){
    grid-template-columns: repeat(4, 1fr);
  }
}

.indicator {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.indicator h3 {
  margin-top: 15px;
  font-weight: 600;
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 0rem;
  color: #000000;
}

.indicator p, .indicator a {
  margin-top: 5px;
  height: 50px;
  font-weight: 600;
  font-size: 1rem;
}

.link-valormat svg {
  margin-bottom: -1px;
}

/** ==== Legal pages ==== **/

/* Legales pages -- Layout */

.legal-terms .main {
  padding-bottom: 1.5rem;
  @media(min-width:768px){
    padding-bottom: 3.4rem;
  }
}

.legal-terms .legal-container {
  width: 100%;
  background-color: white;
  color: black;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Gotham-Medium", sans-serif;
}

.legal-terms .sub-title-container {
  padding-top: 0.5rem;
  margin-bottom: 20px;
}

.legal-terms .title-container {
  padding-top: 3.4rem;
  padding-bottom: 2rem;
}

/* Legal pages -- typography */

.legal-terms p {
  font-family: "Gotham-Light", sans-serif;
  font-weight: 500;
}

.legal-terms .sub-title-container h2 {
  font-size: 24px;
  font-family: "Gotham-Medium", sans-serif;
}

.legal-terms h3 {
  font-size: 21px;
  font-family: "Gotham-Medium", sans-serif;
}

.legal-terms .title-xl {
  font-size: 46px;
  font-weight: 500;
}

.legal-terms .title-lg {
  font-family: "Gotham-Light", sans-serif;
  font-size: 28px;
  font-weight: bold;
}

.legal-terms .title-md {
  font-family: "Gotham-Light", sans-serif;
}

.legal-terms .title-container--center {
  justify-content: center;
}

/* Legal page -- lists */

ul.remove-list-bullets {
  padding-left: 0;
}

ul.remove-list-bullets li {
  font-family: "Gotham-Light", sans-serif;
  font-weight: 400;
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

ul.custom-list {
  padding-left: 0;
}

ul.custom-list li {
  font-family: "Gotham-Light", sans-serif;
  font-weight: 500;
  position: relative;
  padding-left: 24px;
  list-style: none;
  line-height: 1.5;
}

ul.custom-list li::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  margin-top: 7px;
  background-color: var(--nexstone-orange);
  /*background-color: #ee7203;*/
}

/* Legal page --links */

.nexstone-link {
  position: relative;
  text-decoration: none;
}

.nexstone-link--simple {
  color: var(--nexstone-orange);
  font-weight: 500;
}

.nexstone-link--dark {
  color: var(--nexstone-black);
  font-weight: 500;
}

.nexstone-link--dark:hover {
  color: var(--nexstone-orange)
}

.nexstone-link--simple:hover {
  color: var(--nexstone-mediumgrey);
}

.nexstone-link--anim {
  color: var(--nexstone-orange);
}

.nexstone-link--anim::after {
  content: "";
  position: absolute;
  width: 0;
  bottom: -3px;
  left: 0;
  height: 1px;
  background-color: var(--nexstone-orange);
  transition: width 0.2s ease-in-out;
}
.nexstone-link--anim:hover::after {
  width: 100%;
}


@media screen and (max-width: 768px) {
  .indicators-container {
    height: auto;
    padding: 2rem 0;
  }

  .indicators-title-container {
    width: 90%;
    padding-top: 3rem;
    padding-bottom: 3rem;
    justify-content: center;
  }

  .indicators-title {
    font-size: 32px;
    text-align: center;
  }

  .indicators-details-container {
    flex-direction: column;
    width: 90%;
    gap: 1.5rem;
  }

  .indicator h3 {
    font-size: 1.5rem;
  }

  .indicator p, .indicator a {
    font-size: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .indicators-container {
    padding: 1rem 0;
  }

  .indicators-title-container {
    width: 100%;
    padding-top: 2rem;
    padding-bottom: 2rem;
    justify-content: center;
  }

  .indicators-title {
    font-size: 28px;
    text-align: center;
  }

  .indicators-details-container {
    grid-template-columns: repeat(1, 1fr);
    width: 100%;
    gap: 1rem;
  }

  .indicator {
    width: 100%;
  }

  .indicator h3 {
    font-size: 40px;
    color: #000000;
  }

  .indicator p, .indicator a {
    font-size: 0.875rem;
    white-space: nowrap;
  }
}

.footer-container {
 padding:30px 0;
  background-color: #f2f2f2;
  color: black;
}



.footer-title {
  font-size: 1.875rem;
  text-align: left;
  font-weight: bolder;
  margin: 0%;
  padding-top: 0.7%;
  font-family: "Gotham-Regular", sans-serif;
}

.footer-infos-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  margin-top: 20px;
  flex-wrap: nowrap;
}

.footer-infos-container img{
  width:200px;
  height:auto;
}

.footer-infos {
  width: 50%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: nowrap;
  font-family: "Gotham-Light", sans-serif;
}

.footer-infos-paragraph-container {
  font-size: small;
  text-align: left;
  /* padding: 0% 5%; */
}

.footer-infos-paragraph {
  margin-bottom: 10px;
  font-weight: bold;
  font-family: "Gotham-Medium", sans-serif;
}
.footer-infos-paragraph-container a {
  text-decoration: none;
  color:black;
  font-size: small;
  display: inline-block;
  transition: color 0.3s ease-in-out;
}
.footer-infos-paragraph-container a:hover{
 color: #b3b3b3
}
.footer-separator {
  margin-top: 1.5rem;
  /* margin-bottom: 1.5rem; */
  border-color: #b3b3b3;
  border-width: 2px;
  border: solid 1px #d1d5db;
}

.footer-legals {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgb(72, 70, 70);
  font-family: "Gotham-Light", sans-serif;
}

.footer-legals a {
  text-decoration: none;
  color: #505053;
  font-size: small;
  display: inline-block;
}

@media screen and (max-width: 992px) {
  .header .header-content {
    max-width: 500px;
  }
}

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

  .footer {
    width: 100%;
    padding: 0 0px;
  }
  .footer-infos-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: center;
  }

  .footer-infos {
    width: 100%;
    margin-bottom: 20px;
    justify-content: center;
    text-align: center;
    display:flex;
    flex-direction: column;
  }
    .footer-legals {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 1.75rem;
    color: rgb(72, 70, 70);
    font-family: "Gotham-Light", sans-serif;
  }
  .footer-legals a {
    text-decoration: none;
    color: #505053;
    font-size: 0.75rem;
    display: inline-block;
  }
  .footer-legals p {
    margin-top: 0;
  }
}

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

  .header .header-content {
    margin: 60px auto;
  }

  .footer {
    width: 100%;
    padding: 0 0px;
  }

  .footer-infos-paragraph-container {
    text-align: left;
    padding: 0px 10px;
  }

  .footer-infos {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    text-align: start;
  }

  .logo {
    width: 100%;
    min-width: auto;
  }
}

