/* ----------------------------------------------*\
|              GENERAL                            |
\*---------------------------------------------- */

html, body {
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #FFFEF9;
}

h1, h2 {
  margin: 20px;
  font-family: "Roboto Condensed", sans-serif;
}

.introPresentation {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.logoMistral {
  width: 45%;
  height: auto;
}

.TextPage1 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin: 10px;
}

.TextPage1 img {
  float: left;
  margin: 10px;
}

.row {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.image-col,
.text-col {
  flex: 1 1 500px;
}

.image-col img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}
.image-col img:hover{
  transform: scale(1.02);
}

h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #000;
}

p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

.text2 {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem 1.5rem;
  text-align: center;
  font-family: 'Arial', sans-serif;
  color: #4a2c00; 
  border-radius: 12px;
}

.text {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem 1.5rem;
  text-align: center;
  font-family: 'Arial', sans-serif;
  color: #4a2c00; 
  border-radius: 12px;
}

.text p:first-of-type {
  font-size: 1rem;
  font-weight: bold;
  color: #F45D05; 
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.text h2 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.text p:last-of-type {
  font-size: 1rem;
  line-height: 1.6;
  color: #a35c1a; 
}

/* ----------------------------------------------*\
|              Zone fondateurs                    |
\*---------------------------------------------- */

.imgFondateur {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 20px;
}

.fondateur {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 300px;
  text-align: center;
  transition: transform 0.3s ease;
}

.image-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.hiddenLink {
  width: 100px;
  position: absolute;
  top: 10px;
  right: -100%;
  display: flex;
  flex-direction: row;
  gap: 10px;
  opacity: 0;
  transition: all 0.5s ease;
}

.hiddenLink img {
  height: 30px;
  width: auto;
  transition: transform 0.3s ease;
}

.hiddenLink img:hover {
  height: 40px;
  width: auto;
}

.image-container:hover img {
  transform: scale(1.05);
  filter: brightness(0.85);
}

.image-container:hover .hiddenLink {
  right: 10px;
  opacity: 1;
}

.fondateur:hover .textFondateur {
  transform: translateY(-10px);
}

.textFondateur {
  margin-top: 15px;
  padding: 10px;

 
  background-color: #ffffff;
  color:#4a2c00;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.4;

  transition: transform 0.3s ease;
}

/* --------------------------------------------- *\
|              Zone avec MAP                      |
\*-----------------------------------------------*/

.mapMonde {
  text-align: center;
  margin: 40px auto;
  position: relative;
}

.map-container {
  position: relative;
  display: inline-block;
  max-width: 75%;
}

.world-map {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.pin {
  position: absolute;
  cursor: pointer;
  transform: translate(-50%, -100%);
  transition: transform 0.3s ease;
}

.pin .material-symbols-outlined {
  font-size: 32px;
  color: #F45D05;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, color 0.3s ease;
}

.pin:hover .material-symbols-outlined {
  transform: scale(1.2);
  color: #ff924a;
}

.tooltip {
  position: absolute;
  top: -10px;
  left: 35px;
  background-color: rgba(255, 255, 255, 0.95);
  color: #333;
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  width: 160px;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: all 0.3s ease;
  z-index: 10;
}

.tooltip h4 {
  margin: 0;
  font-size: 1rem;
  color: #F45D05;
}

.tooltip p {
  margin: 5px 0 0;
  font-size: 0.85rem;
  line-height: 1.2;
}

.pin:hover .tooltip {
  opacity: 1;
  transform: translateX(0);
}


/* --------------------------------------------- *\
|           carte de présentation                 |
\*-----------------------------------------------*/

.indexShowcase {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  margin: 60px auto;
  position: relative;
}

.indexMenu {
  position: sticky;
  top: 100px;
  align-self: flex-start;
}

.indexMenu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.indexMenu li {
  margin: 12px 0;
}

.indexMenu a {
  text-decoration: none;
  color: #4a2c00;
  font-weight: bold;
  transition: color 0.3s;
}

.indexMenu a.active {
  color: #F45D05;
  border-left: 4px solid #F45D05;
  padding-left: 6px;
}

.indexFrame {
  width: 900px;
  height: 520px;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  background: #fff;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.indexFrame::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.cards-container {
  display: flex;
  flex-direction: column;
}

.cardItem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  scroll-snap-align: start;
  min-height: 520px;
  transition: transform 0.5s ease;
  border-bottom: 1px solid #eee;
  padding: 40px 50px;
}

.cardItem:nth-child(even) {
  flex-direction: row-reverse;
  background: #fff7f0;
}

.card-text {
  flex: 1;
  padding: 20px;
}

.card-text h3 {
  color: #F45D05;
  font-size: 1.8em;
  margin-bottom: 15px;
}

.card-text p {
  color: #4a2c00;
  line-height: 1.6;
  font-size: 1.1em;
}

.card-img {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-img img {
  width: 90%;
  max-width: 350px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease;
}

.card-img img:hover {
  transform: scale(1.05);
}