 /* ====== Variables ====== */
    :root{
      --bg:#a8afb5;
      --card:#ffffff;
      --accent:#0b2a69;
      --muted:#2d3139;
      --dark:#0b1b2b;
      --radius:14px;
      --shadow: 0 8px 24px rgba(11,27,43,0.08);
      font-family:Georgia, 'Times New Roman', Times, sans-serif;

    }

    *{box-sizing:border-box}
    body{margin:0;background:var(--bg);color:var(--dark);-webkit-font-smoothing:antialiased}

    /* ====== Header / Nav ====== */
    header{background:linear-gradient(90deg, rgba(2, 66, 195, 0.95), rgba(45,135,255,0.9));color:white;padding:18px 20px;position:sticky;top:0;z-index:40}
    .wrap{max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px}
    .brand{display:flex;align-items:center;gap:20px}
    .logo{
      width: 100px;
      height:100px;
      padding:10px;
      display:flex
    }
    .logo img{
      border-radius: 50%;
      width: 100px;
      height:100px;

    }
    nav a{
      color:rgba(255,255,255,0.95);
      text-decoration:none;
      margin-left:18px;font-weight:600
    }
    nav a:hover{
      opacity:0.9;
      background-color: bisque;
    padding:5px;
    color:black;
    font-weight: bold;
    border-radius: 20px;
    }

    /* ====== Sections ====== */
    main{max-width:1200px;margin:0 auto;padding:20px}
    section{margin:20px 0}
    .card{background:var(--card);padding:20px;border-radius:12px;box-shadow:var(--shadow)}

    /* Sujet */
.entete{max-width:1200px;margin:0 auto;padding:20px;
  display:grid;grid-template-columns:600px 580px;gap:20px;
}

.entete img{width:100%;border-radius:10px;object-fit:cover;height: 300px;}
.imag1{
    display: flex;
    justify-content:right;
    width: 500;
    height: 400;
    object-fit: cover;
    border:8px solid #fff ;
    border-radius:20px ;
    cursor:pointer;
}
.imag1:hover{
    transform:scale(1.5)
}
.imag2{
    display: flex;
    justify-content:right;
    width: 300;
    height: 297;
    object-fit: cover;
    cursor:pointer;
}
.imag2:hover{
    transform:scale(1.5)
}

.entete .texte{
   margin-top: 0;
  color: #0a0769;
  font-size:larger;
  font-weight: bolder;
  font-family: Georgia, "Times New Roman", Times, serif, "French Script MT";
}

    footer{padding:28px 20px;text-align:center;color:var(--muted);font-size:0.9rem}

    /* Responsive */
    @media (max-width:1000px){
      .hero{grid-template-columns:1fr}
      .who{grid-template-columns:1fr}
      .contact-grid{grid-template-columns:1fr}
      .gallery{grid-template-columns:repeat(2,1fr)}
    }
    @media (max-width:600px){
      nav a{display:none}
      .logo{width:46px;height:46px}
      .gallery img{height:140px}
    }
        .grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 12px;
      max-width: 1100px;
      margin: 0 auto;
    }
    .thumb {
      cursor: zoom-in;
      overflow: hidden;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }
    .thumb img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .25s ease;
    }
    .thumb:hover img { transform: scale(1.05); }

    /* Lightbox / modal */
    .overlay {
      position: fixed;
      inset: 0;
      display: none;               /* cach� par d�faut */
      align-items: center;
      justify-content: center;
      background: rgba(0,0,0,0.7);
      z-index: 1000;
      padding: 20px;
    }
    .overlay.open { display: flex; }

    .viewer {
      max-width: 95%;
      max-height: 95%;
      position: relative;
      border-radius: 10px;
      box-shadow: 0 10px 40px rgba(0,0,0,0.5);
      background: #111; /* en cas d'image plus petite */
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .viewer img {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
      border-radius: 6px;
      user-select: none;
      -webkit-user-drag: none;
    }

    /* Bouton fermer */
    .close-btn {
      position: absolute;
      top: 10px;
      right: 10px;
      background: rgba(255,255,255,0.9);
      border: none;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      cursor: pointer;
      display: grid;
      place-items: center;
      font-weight: 700;
      box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }
    .close-btn:focus { outline: 2px solid #fff; }

    /* L�gende optionnelle */
    .caption {
      position: absolute;
      left: 10px;
      bottom: 10px;
      color: #fff;
      font-size: 14px;
      text-shadow: 0 2px 6px rgba(0,0,0,0.6);
      background: rgba(0,0,0,0.25);
      padding: 6px 10px;
      border-radius: 6px;
      max-width: 80%;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    /* Petite animation d'apparition */
    .viewer { transform: translateY(8px) scale(.98); transition: transform .18s ease, opacity .18s ease; opacity: 0; }
    .overlay.open .viewer { transform: translateY(0) scale(1); opacity: 1; }
  .thumb1 {      cursor: zoom-in;
      overflow: hidden;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  .texte-galerie{
  grid-column: 1 / -1;   /* prend toute la largeur de la grille */
  background: #f5f5f5;
  padding: 25px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.texte-galerie h2{
  margin-top: 0;
  color: #0a0769;
}
.texte-galerie h3{
  margin-top: 0;
  color: #0a0769;
}
.texte-galerie p{
  max-width: 950px;
  margin: auto;
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1.2;
  color: #0a0769;
}
h1{
  font-family:Verdana, Geneva, Tahoma, sans-serif
  margin-top: 10;
  color: #04022f;
}
  .Style1 {
	color: #000099;
	font-weight: bold;
	font-family: Georgia, "Times New Roman", Times, serif, "French Script MT";
}
footer{
  max-width:1200px;margin:0 auto;padding:20px;
  background-color: #0b2a69;
  color:antiquewhite
}
.contener{
    display: grid;
    grid-template-columns:250px 230px 250px 230px 250px 230px;  /* 6 colonnes */
    gap:5px;
    width: 1200px;
    margin-left: 10px;
    text-align: center;
    text-decoration:none;
}
.contener .cnt1{
    font-size: 20px;
    color: #39339e;
    background-color: beige;
    border-radius: 15px;
    text-decoration: none;
}
.contener .cnt2{
    color:#060343;
    font-size: 20px;
     background-color:beige;
    border-radius: 15px;
    text-decoration: none;
}
.contener .cnt3{
    color:#39339e;
    font-size: 20px;
      background-color: rgb(119, 253, 162);
    border-radius: 15px;
    text-decoration: none;
}
.contener .cnt4{
    color:#060343;
    font-size: 20px;
      background-color: rgb(119, 253, 162);
    border-radius: 15px;
    text-decoration: none;
}
.contener1{
    display: grid;
    grid-template-columns:225px 1000px 75px;  /* 3 colonnes */
    gap:5px;
    width: 1200px;
    margin-left: 10px;
    text-align: center;
    text-decoration:none;
}

.contener1 .cnt2{
    font-size:xx-large;
    color: #39339e;
    font-weight: bold;
    background-color: beige;
    border-radius: 15px;
    text-decoration: none;
  }

.contener2{
    display: grid;
    grid-template-columns:485px 485px 485px;  /* 3 colonnes */
    gap:5px;
    width: 1200px;
    margin-left: 10px;
    text-align: center;
    text-decoration:none;
}
.contener2 .cnt1{
    font-size: large;
    color: #39339e;
    font-weight: bold;
    background-color: beige;
    border-radius: 15px;
    text-decoration: none;
  }
.contener3{
    display: grid;
    grid-template-columns:225px 1000px 75px;  /* 3 colonnes */
    gap:5px;
    width: 1200px;
    margin-left: 10px;
    text-align: center;
    text-decoration:none;
}

.contener3 .cnt2{
    font-size:xx-large;
    color: #39339e;
    font-weight: bold;
    background-color: beige;
    border-radius: 15px;
    text-decoration: none;
  }
.contener4{
    display: grid;
    grid-template-columns:75px 1050px 75px;  /* 3 colonnes */
    gap:5px;
    width: 1200px;
    margin-left: 10px;
    text-align: left;
    text-decoration:none;
    font-size: large;
    color: #0b1b2b;
}