@import url("general.css");
@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&display=swap");

/* ===== Page Mission moderne ===== */


/* Titres */
.content h1{
  text-align: center;
  margin-top: 10px;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 900;
  letter-spacing: 1px;
}

.content h2{
  text-align: center;
  margin: 12px 0 30px;
  font-size: clamp(16px, 2vw, 22px);
  opacity: 0.9;
}

/* ===== Table moderne ===== */
table{
  width: 100%;
  max-width: 900px;
  margin: 0 auto 50px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 16px 45px rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0,0,0,0.08);
}

th, td{
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  border-right: 1px solid rgba(0,0,0,0.06);
  text-align: left;
  font-size: 16px;
}

tr td:last-child,
tr th:last-child{
  border-right: none;
}

tr:last-child td{
  border-bottom: none;
}

th{
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: linear-gradient(135deg, #ff2c9c, #ff7bd5);
}

/* lignes alternées */
tr:nth-child(even) td{
  background: rgba(255, 44, 156, 0.04);
}

.impair td{
  background: rgba(0, 180, 255, 0.06) !important;
  font-weight: 800;
}

/* ===== Sections parallax modernes ===== */
.s1, .s2, .s3, .s4{
  position: relative;
  width: 100%;
  min-height: 70vh;
  margin: 30px auto;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0,0,0,0.18);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* overlay pour rendre le texte lisible */
.s1::before, .s2::before, .s3::before, .s4::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.35),
    rgba(0,0,0,0.10),
    rgba(0,0,0,0.45)
  );
}

/* tes backgrounds */
.s1 { background-image: url("images/china3.jpg"); }
.s2 { background-image: url("images/R.png"); }
.s3 { background-image: url("images/R1.png"); }
.s4 { background-image: url("images/R2.png"); }

/* bloc texte au centre (carte) */
.blocTxt{
  position: relative;
  z-index: 1;
  max-width: 760px;         /* ✅ au lieu de 600% */
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
  padding: 22px 24px;
  border-radius: 18px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(255,255,255,0.65);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.18);
}

/* Texte dans bloc */
.sousTitreTxt{
  font-family: "Dancing Script", cursive;
  font-size: clamp(28px, 4vw, 46px);
  text-align: center;
  color: #ff2c9c;
  margin-bottom: 10px;
}

.txt{
  font-size: 16px;
  line-height: 1.8;
  color: #2b2b2b;
}

/* responsive */
@media (max-width: 768px){
  .s1, .s2, .s3, .s4{
    background-attachment: scroll; /* évite bugs mobiles */
    min-height: 55vh;
  }
  th, td{
    font-size: 14px;
    padding: 12px;
  }
}
