
@import url('https://fonts.googleapis.com/css?family=Raleway:200,300,400,500,600,700,800,900');

html {
background-color: #fafafa;
width: 100%;
height: 100%;
padding: 0;
margin: 0;
}

body {
font-family: 'Raleway' , sans-serif;
background: #fafafa;
width: 100%;
height: 100%;
padding: 0;
margin: 0;
overflow-x: hidden;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}


/* menu ordinateur */

#mainHeader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 80px;
      background-color: #fafafa;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 30px;
      transition: box-shadow 0.5s ease;
      z-index: 999;
    }

    #mainHeader.scrolled {
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    
    }

    .logo img {
    padding-left: 90px;
    padding-top: 5px;
    margin: 0;
    height: 65px;
    display: block;
    }

    nav ul {
    padding-right: 70px;
    list-style: none;
    display: flex;
    gap: 60px;
    }

    nav ul li a { 
    position: relative;
    font-family: 'Raleway';
    font-size: 1.1rem;
    font-weight: 400;
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
    }

    .menu1 {
      margin-right: -40px;
    }

    /* Menu déroulant */

    .menu-deroulant {
  position: relative;
}

.sous-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: -30px;
  background-color: #fafafa;
  padding: 10px 5px 15px 5px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  display: none;
  min-width: 160px;
  z-index: 1000;
}

.menu-deroulant:hover .sous-menu {
  display: block;
}

.sous-menu li {
  padding: 0;
  text-align: left;
  padding: 0 15px;
}

.sous-menu li a {
  display: block;
  padding: 8px 0;
  color: #333;
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
  font-size: 1rem;
}

/* Effet point gris sur les liens du sous-menu */
.sous-menu li a::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #666666;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.sous-menu li a:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(3px);
}


    /* Fin Menu déroulant */


.menu a, .menuouvert {
font-family: 'Raleway';
font-size: 1.1em;
text-decoration: none;
color: #000028;
font-weight: 400;
}

.menuouvert li {

left: 50%;
bottom: -7px;
transform: translateX(-50%);
 width: 6px;
height: 6px;
border-radius: 50%;
background: #666666;
opacity: 1;
}

nav ul li {
  position: relative; /* Permet au ::before de se positionner par rapport au <li> */
}

nav ul li a::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -7px;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #666666;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

nav ul li a:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(3px);
}

#responsive {
  display: none;
}

/* === corps === */

#entet .logo-responsive {
  display: none;
}

#titre h1 {
  display: inline-block;
  font-family: 'Raleway' , 'Open Sans',  arial;
  font-weight: 700;
  margin:  200px 0 0px 140px;
  color:  #000028;
  text-transform: none;
  font-size: 2.25em;
}

#titre h3 {
  display: inline-block;
  font-family: 'Raleway' , 'Open Sans',  arial;
  font-weight: 700;
  margin:  25px 0 35px 140px;
  color:  #000028;
  text-transform: none;
  font-size: 1.875em;
}

#intro1 {
  display:inline-block;
  margin: 0px 150px 50px 140px;
}


#intro1 p {
  font-family: 'Raleway',  arial;
  font-weight: 300;
  font-size: 1rem;
  line-height: 2rem;
  color: #00234b;
}

.tiles-container {
  display: flex;
  flex-wrap: wrap;
  gap: 100px;
  justify-content: center;
  padding: 120px;
  margin-bottom: 50px;
}

.tile {
  display: flex;
  width: 500px;450px;
  height: 150px;
  background: white;
  border-radius: 50px;10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tile1 {
  display: flex;
  width: 520px;500px;450px;
  height: 170px;150px;
  background: #000028;white;
  border-radius: 50px;10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.6);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tile2 {
  display: flex;
  width: 520px;
  height: 170px;
  background: #e64e0e;white;
  border-radius: 50px;10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.6);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tile3 {
  display: flex;
  width: 520px;
  height: 170px;
  background: #8fbc8f;#9cba90;#e64e0e;white;
  border-radius: 50px;10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.6);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tile4 {
  display: flex;
  width: 540px;
  height: 170px;
  background: #e64e0e;#ed7053;#e64e0e;white;
  border-radius: 50px;10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.6);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tile5 {
  display: flex;
  width: 520px;
  height: 170px;
  background: #000028;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.6);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.tile:hover, .tile1:hover, .tile2:hover,  .tile3:hover,  .tile4:hover,  .tile5:hover{
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.tile img, .tile1 img, .tile2 img, .tile3 img,  .tile4 img, .tile5 img {
  width: 170px;
  height: 170px;
  object-fit: cover;
  border-right: 0px solid #ddd;
}

.tile-text {
  flex: 1;
  padding: 10px 16px;
}

.date {
  font-size: 1.333rem;
  color: #f1f1f1;#888;
  margin: 10px 0 15px;/* 0 0 5px */
}

.title, .title5 {
  font-size: 1.333rem;
  text-transform: uppercase;
  margin: 0 0 25px;
  color: #f1f1f1;#222;
}

.title2 {
  font-size: 1.333rem;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: #f1f1f1;#222;
}


.subtitle {
  font-size: 1rem;
  color: #f1f1f1;#444;
  margin: 0;
}


.gallery {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  overflow-x: auto;
  margin: 40px;
  margin-bottom: 210px;
}

.card {
  width: 250px;
  text-align: center;
  border-radius: 12px;
  overflow: hidden;
  
  background-color: transparent;
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 35px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  display: block;
}

.caption {
  margin-top: 10px;
  font-size: 0.875rem;
  color: #565656;
}


/*footer*/


    footer {
      font-family: 'Raleway';
      font-size: 1.1rem;
      font-weight: 400;
      background: #f3f3f3;#eaeaea;
      padding: 2rem 1rem;
      text-align: center;
    }

    .footer-columns {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 280px;3rem;
      margin-bottom: 1.5rem;
    }

    .footer-column {
      display: flex;
      flex-direction: column;
      align-items: start;
      min-width: 140px;
      padding-top: 40px;
      padding-bottom: 60px;
    }

    .footer-column a {
      position: relative;
      color: #000028;#333;
      text-decoration: none;
      margin: 0.5rem 0;
      font-size: 1em;
      transition: color 0.3s ease;
    }

    .footer-column a::after {
      content: "";
      position: absolute;
      bottom: -8px;
      left: 50%;
      transform: translateX(-50%);
      width: 7px;
      height: 7px;
      background: #666;
      border-radius: 50%;
      opacity: 0;
      transition: opacity 0.7s ease, transform 0.5s ease;
    }

    .footer-column a:hover::after {
      opacity: 1;
    }

    .footer-colum {
      padding-top: 40px;
    }

    .social-icons {
      display: flex;
      gap: 30px;
      justify-content: center;
      margin-top: 0.5rem;
    }

    .social-icons a img {
      width: 30px;
      height: 30px;
      transition: transform 0.3s ease;
    }

    .social-icons a:hover img {
      transform: scale(1.25);
    }

    .copyright {
      font-size: 0.875rem;
      color: #565656;
    }

    /* ================ Responsive Design ===============*/

    @media (max-width: 980px) {

      /* menu */

      
  #mainHeader {
   display: none;
  }

  #responsive, #entet .logo-responsive {
  display: block;
  }

/* Logo responsive dans #entet */
.logo-responsive {
  position: absolute;
  top: 20px;
  left: 20px;
  height: 60px;
  z-index: 2;
}

.logo-responsive img {
  height: 60px;
}


/* Bouton hamburger */
.menu-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  cursor: pointer;
  font-size: 60px;/*24px*/
}

/* Zone de menu latéral */
.side-menu {
  position: fixed;
  top: 0;
  right: -50%;
  width: 50%;
  max-width: 400px;300px;
  height: 100%;
  background: #f3f3f3;
  box-shadow: -2px 0 10px rgba(0,0,0,0.2);
  transition: right 0.4s ease;
  padding: 60px 20px;
  box-sizing: border-box;
  z-index: 1000;
}

.side-menu {
  width: 100%;
  max-width: 400px;
}


/* Menu ouvert */
.side-menu.open {
  right: 0;
}

/* Liens principaux */
.side-menu ul {
  flex-direction: column;
  margin-top: 70px;
  list-style: none;
  padding: 0;
}

.side-menu ul li {
  margin: 10px 0;
}

.side-menu ul li a {
  text-decoration: none;
  color: #333;
  font-size: 2rem;
  font-weight: 600;
}

/* Sous-menu */
.side-menu .submenu {
  margin-top: 30px;
  
  padding-left: 25px;
}


.side-menu .submenu li {
  margin-bottom: -15px ;
}

.side-menu .submenu li a {
  font-size: 1.75rem;
  font-weight: 500;
}

/* Icône croix */
.menu-toggle.open:before {
  content: '✖';
}

/* Icône hamburger par défaut */
.menu-toggle:before {
  content: '☰';
}

/* ================= corps ================== */

#titre h1 {
  margin:  200px 0 0px 140px;
  font-size: 2.8rem;
}

#titre h3 {
  margin:  25px 30px 35px 140px;
  font-size: 2.25rem;
}

#intro1 p {
  font-size: 1.3rem;
   line-height: 2.8rem;
}

.tile1, .tile2, .tile3, .tile4, .tile5 {
  width: 600px;
  height: 220px;
}

.tile img, .tile1 img, .tile2 img, .tile3 img,  .tile4 img, .tile5 img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-right: 0px solid #ddd;
}

.date {
  font-size: 2rem;
  color: #f1f1f1;#888;
  margin: 10px 0 15px;/* 0 0 5px */
}

.title {
  font-size: 1.8rem;
  text-transform: uppercase;
  margin: 0 0 25px;
  color: #f1f1f1;
}

.title2 {
  font-size: 1.6rem;
  text-transform: uppercase;
  margin: -10px 0 0px;
  color: #f1f1f1;
}

.title5 {
  font-size: 1.8rem;
  text-transform: uppercase;
  margin: -5px 0 5px;
  color: #f1f1f1;
}

.subtitle {
  font-size: 1.5rem;
  color: #f1f1f1;#444;
  margin: 0;
}

.caption {
  margin-top: 10px;
  font-size: 1.4rem;
}

  /* ============= footer responsive ============= */

      .footer-columns {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
      }

      .footer-column {
      padding-top: 20px;
      padding-bottom: 20px;
      align-items: center;
      width: 100%;
      }

      .footer-column a {
      font-size: 1.85rem;
      }

      .social-icons {
      gap: 50px;
     
    }

      .social-icons a img {
      width: 70px;
      height: 70px;
      transition: transform 0.3s ease;
    }

      .copyright {
      font-size: 1.2rem;
      }


    }

