

* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', 'sans-serif';
    
}

.header {
    min-height: 100vh;
    width: 100%;
    background-image: url(https://www.mghandibasket.fr/wp-content/uploads/2025/10/ELO_1674-scaled.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}
nav {
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

nav img {
    width: 150px;
}
.nav-links {
    flex: 1;
    text-align: right;
}
.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a {
    color: #fff;
    text-decoration: none;
    
}
.nav-links ul li::after {
    content: '';
    width: 100%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after { 
    width: 100%;
}
.nav-links ul .dropdown {
  display: none;
  position: absolute;
  background-color: #333;
  padding: 0;
  min-width: 160px;
  z-index: 1000;
}

.nav-links ul .dropdown li {
  display: block;
}

.nav-links ul .dropdown li a {
  padding: 10px;
  color: white;
}

.nav-links ul li:hover > .dropdown {
  display: block;
}

.nav-links ul .dropdown li a:hover {
  background-color: #555;
}
.text {
    width: 90%;
    color:#c90c0c;
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.text h1 {
    font-size: 62px;
}

.title {
  color: #f44336;
}
.content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  padding: 40px 20px;
  background-color: #f5f5f5; 

}
.titre-sensi {
  display: flex;
  flex-direction: column;
}

.titre-sensi h1 {
  color:#c90c0c;
  text-decoration: underline;
}
.titre-sensi h2 {
  margin-top: 100px;
}
.text-sensi {
   display: flex;              
  align-items: center;     
  gap: 20px;                  
  margin: 20px 0;
}
.text-sensi img {
   max-width: 500px;
   max-height: 500px;        
  border-radius: 8px;
}
.text-sensi p {
  background-color: #f5f5f5;  
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
  max-width: 400px;
}

.text-sensi-centre {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
}
.text-sensi-centre p {
  background-color: #f5f5f5;  
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
  max-width: 1024px;
}

.objectif {
  text-align: center;
  padding: 60px 20px;
  background: #f9f9f9;
}

.objectif h2 {
  color: #c90c0c;
  font-size: 28px;
  margin-bottom: 40px;
  position: relative;
}

.objectif-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.objectif {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.objectif:hover {
  transform: translateY(-5px);
}

.objectif h3 {
  color: #c90c0c;
  font-size: 20px;
  margin-bottom: 10px;
}

.objectif p {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
}

.post {
  
  border-radius: 12px;
  overflow: hidden;
  padding: 15px;
  width: 100%;
  max-width: 550px;
}
.post iframe {
  border: none;
  width: 100%;
  transition: transform 0.3s ease;
}

.post iframe:hover {
  transform: scale(1.01);
}

.post img {
  border:none;
  width: 100%;
  transition: transform 0.3s ease;
}
.post img:hover {
  transform: scale(1.01);
}
button {
  display: inline-block;
  background-color: #c90c0c;
  color: white;
  font-size: 20px;
  font-weight: 600;
  padding: 15px 40px;
  border: none;
  border-radius: 8px; 
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

button a {
  text-decoration: none;
  color:white;
}

 button:hover {
  background-color: #a30a0a; 
  transform: translateY(-2px);
}

button:active {
  background-color: #800808; 
  transform: translateY(0);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 30px;
  align-items: center;
  justify-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.grid img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.partners-footer {
  text-align: center;
  padding: 40px 20px;
  background-color: white;
}

.partners-footer h2 {
  font-size: 20px;
  font-weight: 600;
  color: #c90c0c;
  position: relative;
  display: inline-block;
  margin-bottom: 40px;
  margin:0;
}

.partners-footer h2 + p {
  margin-top: 10px;
}

.partners-footer h2::before,
.partners-footer h2::after {
  content: "";
  display: inline-block;
  width: 100px;
  height: 1px;
  background-color: #c90c0c;
  vertical-align: middle;
  margin: 0px;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 30px;
  align-items: center;
  justify-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.logo-grid img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.infos {
  font-weight: bold;
  justify-content: center;
  display: flex;
  color:black;
}

.bureau {
  display: flex;
  flex-wrap: wrap;       
  justify-content: center;
  gap: 20px;
}

.bureau img {
  margin-top: 50px;
    width: 200px;
  height: 400px;
  object-fit: cover; 
    
}

.palmares {
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  margin-left: 50px;
  
}

.palmares-text h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 600;
  color: #c90c0c;
  margin-bottom: 40px;
}

.palmares-text p {
  transition: transform 0.3s ease;

}

.palmares-droite {
  margin-right: 200px;      
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 15px;
}
.palmares-droite ul  {
  list-style-type: none;
  margin:0;
  padding-left: 20px;
}
.palmares-droite li {
  margin-bottom: 5px;
}

.palmares-droite h2 {
  margin: 0 0 10px 0;
  font-size: 1.5em;
  color: black;
}

.grid-loisir {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  align-items: center;
  justify-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.grid-loisir img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.contact-form {
  max-width: 500px;
  margin: 40px auto;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  font-family: "Poppins", sans-serif;
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #444;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  transition: border 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #c90c0c; 
  outline: none;
}

.contact-form button {
  width: 100%;
  padding: 12px;
  background: #c90c0c;
  border: none;
  border-radius: 6px;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;

}

.contact-form button:hover {
  background: #a10a0a;
}


.sociaux {
  display: flex;
  justify-content: center;
}

.sociaux a i {
  font-size: 32px;
  margin: 0 12px;
  color: #c90c0c;
  transition: transform 0.2s ease;
}

.sociaux a i:hover {
  transform: scale(1.2);
  color: #900;
}




.page-layout {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 colonnes (gauche et droite) */
  grid-gap: 20px;
  padding: 20px;
}


.zone {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  margin:0px;
}

.zone-droite p {
  line-height: 2;
}

.zone-gauche p {
  line-height: 2;
}

.zone-pleine p {
  line-height: 2;
}


.zone h2 {
  margin-bottom: 10px;
  font-size: 1.6em;
  color: #c00000; 
  border-bottom: 2px solid #ddd;
  padding-bottom: 5px;
}


.zone p {
  font-size: 1em;
  line-height: 1.5;
}


.zone-gauche {
  grid-column: 1;
}


.zone-droite {
  grid-column: 2;
}


.zone-pleine {
  grid-column: 1 / span 2; 
}

nav .fa-solid {
  display: none;
}

.confidentialite {
  max-width: 900px;
  margin: 60px auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #222;
  line-height: 1.8;
}

.confidentialite h2 {
  color: #d32f2f; 
  font-size: 1.8rem;
  margin-top: 30px;
  margin-bottom: 10px;
  border-left: 4px solid #d32f2f;
  padding-left: 10px;
}

.confidentialite p {
  font-size: 1rem;
  margin-bottom: 15px;
  text-align: justify;
}


@media(max-width:700px) {
  .text h1 {
    font-size: 20px;
  }
  .nav-links ul li {
    display: block;
  }
  .nav-links {
    position: absolute;
    background: #f44336;
    height: 100vh;
    width: 200px;
    top: 0;
    right: -200px;
    text-align: left;
    z-index: 2;
    transition: 1s;
  }

  nav .fa-solid {
  display: block;
  color: #fff;
  margin:10px;
  font-size: 22px;
  cursor:pointer;
}

.nav-links ul {
  padding:30px;
}

}

/* Tablet (768px and below) */
@media(max-width: 768px) {
  nav img {
    width: 100px;
  }
  .text {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    padding: 50px 10px;
  }

  .text h1 {
    font-size: 28px;
      line-height: 1.2;
  }

  .titre-sensi h1 {
    font-size: 28px;
  }

  .titre-sensi h2 {
    margin-top: 50px;
    font-size: 22px;
  }

  .text-sensi {
    flex-direction: column;
    text-align: center;
  }

  .text-sensi img {
    max-width: 100%;
    height: auto;
  }

  .text-sensi p {
    max-width: 100%;
  }

  .text-sensi-centre p {
    max-width: 100%;
  }

  .objectif h2 {
    font-size: 24px;
  }

  .objectif-grid {
    grid-template-columns: 1fr;
  }

  .post {
    max-width: 100%;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .logo-grid {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 20px;
  }

  .bureau img {
    width: 150px;
    height: 300px;
  }

  .palmares {
    flex-direction: column;
    align-items: center;
    margin-left: 20px;
  }

  .palmares-text h2 {
    font-size: 28px;
  }

  .palmares-droite {
    margin-right: 0;
    margin-bottom: 20px;
    width: 90%;
  }

  .grid-loisir {
    grid-template-columns: 1fr;
  }

  .page-layout {
    grid-template-columns: 1fr;
  }

  .zone-gauche {
    grid-column: 1;
  }

  .zone-droite {
    grid-column: 1;
  }

  .zone-pleine {
    grid-column: 1;
  }

  .contact-form {
    max-width: 90%;
  }
    .infos {
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }

  .partners-footer {
    padding: 30px 15px;
  }
    .sociaux {
    flex-wrap: wrap;
  }
}

/* Mobile (700px and below) - extends existing mobile styles */
@media(max-width: 700px) {
  nav {
    padding: 2% 4%;
  }

  .text h1 {
    font-size: 32px;
  }

  .titre-sensi h1 {
    font-size: 24px;
  }

  .titre-sensi h2 {
    margin-top: 30px;
    font-size: 18px;
  }

  .content {
    padding: 20px 10px;
    gap: 20px;
  }

  .text-sensi {
    gap: 10px;
  }

  .text-sensi img {
    max-width: 100%;
  }

  .objectif {
    padding: 30px 15px;
  }

  .objectif h2 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .objectif h3 {
    font-size: 18px;
  }

  button {
    font-size: 16px;
    padding: 12px 30px;
  }

  .bureau img {
    width: 120px;
    height: 240px;
  }

  .palmares-text h2 {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .palmares-droite {
    width: 95%;
    padding: 10px;
  }

  .palmares-droite h2 {
    font-size: 1.2em;
  }

  .partners-footer h2::before,
  .partners-footer h2::after {
    width: 50px;
  }

  .zone h2 {
    font-size: 1.3em;
  }

  .zone {
    padding: 15px;
  }

  .page-layout {
    grid-gap: 15px;
    padding: 15px;
  }
    .infos {
    font-size: 14px;
  }

  .partners-footer {
    padding: 25px 10px;
  }

}

/* Small mobile (480px and below) */
@media(max-width: 480px) {
  .header {
    min-height: 60vh;
  }

  nav img {
    width: 80px;
  }

  .text h1 {
    font-size: 22px;
  }

  .titre-sensi h1 {
    font-size: 20px;
  }

  .objectif h2 {
    font-size: 18px;
  }

  .palmares-text h2 {
    font-size: 18px;
  }

  .bureau img {
    width: 100px;
    height: 200px;
  }

  button {
    font-size: 14px;
    padding: 10px 20px;
  }

  .partners-footer h2::before,
  .partners-footer h2::after {
    width: 30px;
  }

  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .sociaux a i {
    font-size: 24px;
    margin: 0 8px;
  }

  .contact-form {
    padding: 15px;
  }

  .zone h2 {
    font-size: 1.1em;
  }

  .zone p {
    font-size: 0.9em;
  }
    .infos {
    font-size: 12px;
    padding: 5px;
  }
  .confidentialite {
    padding: 10px;
  }

  .confidentialite h2 {
    font-size: 1.3rem;
  }

  .confidentialite p {
    font-size: 0.9rem;
  }
}

/* Additional utility for images */
@media(max-width: 768px) {
  img {
    max-width: 100%;
    height: auto;
  }
     .confidentialite {
    padding: 15px;
    margin: 30px 10px;
  }

  .confidentialite h2 {
    font-size: 1.5rem;
  }

  .confidentialite p {
    font-size: 0.95rem;
  }
  }




.poppins-thin {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.poppins-extralight {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.poppins-light {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.poppins-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.poppins-medium {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.poppins-semibold {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.poppins-bold {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.poppins-extrabold {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.poppins-black {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.poppins-thin-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.poppins-extralight-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: italic;
}

.poppins-light-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.poppins-regular-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.poppins-medium-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.poppins-semibold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: italic;
}

.poppins-bold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.poppins-extrabold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: italic;
}

.poppins-black-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: italic;
}

/* === Style Formulaire contact === */

.wpcf7 {
  max-width: 500px;
  margin: 40px auto;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  font-family: "Poppins", sans-serif;
}

.wpcf7 form {
  display: flex;
  flex-direction: column;
}

.wpcf7 label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #444;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  transition: border 0.3s;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 textarea:focus {
  border-color: #c90c0c;
  outline: none;
}

.wpcf7-submit {
  width: 100%;
  padding: 12px;
  background: #c90c0c;
  border: none;
  border-radius: 6px;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.wpcf7-submit:hover {
  background: #a10a0a;
}

.wpcf7-acceptance {
  font-size: 13px;
  color: #333;
  margin-bottom: 10px;
}

.wpcf7 a {
  color: #c90c0c;
  text-decoration: underline;
}

.wpcf7-response-output {
  margin-top: 10px;
  padding: 10px;
  border-radius: 6px;
  font-size: 14px;
}

.wpcf7-not-valid-tip {
  color: #c90c0c;
  font-size: 13px;
}

/* ✅ Responsive */
@media(max-width: 768px) {
  .wpcf7 {
    max-width: 90%;
  }
}

@media(max-width: 480px) {
  .wpcf7 {
    padding: 15px;
  }
}