/* Réinitialisation des styles */

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
  font-size: 16px;
}
#corp-page {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.debut-corp-page {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* Centrage du bouton "Vérifier maintenant" */
.lien-check {
  display: flex;
  justify-content: center; /* Centre horizontalement */
  align-items: center; /* Centre verticalement si besoin */
  margin-top: 1.5rem; /* Espacement au-dessus */
}

.lien-check h2 {
  margin: 0; /* Supprime les marges par défaut du h2 */
}

.lien-check h2 a {
  display: inline-block;
  background-color: #e72582;
  color: #fff;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2rem;
  transition: background-color 0.3s ease;
}

.lien-check h2 a:hover {
  background-color: #c61c6f;
}

/* Sections supplémentaires */
.heading-ul {
  margin-top: 3rem;
}

.heading-ul h2 {
  font-size: 2rem;
  color: #2a3475;
  margin-bottom: 1rem;
  text-align: center;
}

.heading-ul p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  text-align: center;
}

.heading-ul article {
  margin-bottom: 3rem;
  padding: 1.5rem;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  text-align: center; /* Centre tous les éléments à l'intérieur de l'article */
}

.heading-ul article h3 {
  font-size: 1.5rem;
  color: #2a3475;
  margin-bottom: 1rem;
}

.heading-ul article p {
  margin-bottom: 1rem;
}

/* 
.heading-ul h3 {
  font-size: 1.5rem;
  color: #2a3475;
  margin-bottom: 1rem;
} */

.heading-ul article a {
    display: inline-block; /* Permet de centrer le lien comme un bloc */
    color: #e72582;
    text-decoration: none;
    font-weight: bold;
    transition: text-decoration 0.3s ease;
    padding: 0.5rem 1rem; /* Optionnel : ajoute un peu d'espace autour du lien */
}

.heading-ul article a:hover {
  text-decoration: underline;
}

.gallery {
  /* display: grid; */
  /* grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); */
  /* gap: 1rem; */
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.gallery img {
  width: 100px;
  height: auto;
  border-radius: 5px;
  /* object-fit: cover; */
}

/* Formulaire de contact */
.contact {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-top: 3rem;
}

.contact h2 {
  font-size: 2rem;
  color: #2a3475;
  margin-bottom: 1rem;
  text-align: center;
}

.contact p {
  margin-bottom: 1.5rem;
  text-align: center;
}

#contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: #e72582;
  box-shadow: 0 0 5px rgba(231, 37, 130, 0.3);
}

#contact textarea {
  height: 150px;
  resize: vertical;
}

#contact button {
  background-color: #e72582;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

#contact button:hover {
  background-color: #c61c6f;
}

/* Footer */
footer {
  background-color: #2a3475;
  color: #fff;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

.div-top-footer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

#media_image img {
  max-width: 250px;
  height: auto;
}

.top-footer-menu h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #fff;
}

.top-footer-menu-1 {
  list-style: none;
}

.top-footer-menu-1 li {
  margin-bottom: 0.8rem;
}

.top-footer-menu-1 a {
  color: #ddd;
  text-decoration: none;
  font-size: 0.95rem;
}

.top-footer-menu-1 a:hover {
  color: #e72582;
}

.div-middle-footer {
  text-align: center;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  padding: 0 1rem;
}

.div-bottom-footer {
  max-width: 1200px;
  margin: 0 auto;
}

.bottom-footer {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.bottom-footer li a {
  color: #ddd;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.bottom-footer li a:hover {
  color: #e72582;
}

.bottom-footer img {
  width: 20px;
}

/* FAQ */
.faq {
  margin-top: 3rem;
  padding: 2rem;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq h2 {
  font-size: 2rem;
  color: #2a3475;
  margin-bottom: 1rem;
  text-align: center;
}

.faq p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  text-align: center;
}

.faq-item {
  margin-bottom: 1.5rem;
}

.faq-item h3 {
  font-size: 1.4rem;
  color: #2a3475;
  margin-bottom: 0.5rem;
  text-align: center;
}

.faq-item p {
  font-size: 1rem;
  color: #555;
}

/* Avantages */
.advantages {
  margin-top: 3rem;
  padding: 2rem;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.advantages h2 {
  font-size: 2rem;
  color: #2a3475;
  margin-bottom: 1rem;
  text-align: center;
}

.advantages p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  text-align: center;
}

.advantage-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.advantage-item h3 {
  font-size: 1.4rem;
  color: #2a3475;
  margin-bottom: 0.5rem;
}

.advantage-item p {
  font-size: 1rem;
  color: #555;
  text-align: center;
  max-width: 600px;
}

/* Blog */
.blog-post {
  margin-bottom: 3rem;
  padding: 2rem;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.blog-post h2 {
  font-size: 2rem;
  color: #2a3475;
  margin-bottom: 1rem;
}

.blog-post p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1rem;
}

.blog-post h3 {
  font-size: 1.4rem;
  color: #2a3475;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.blog-post a {
  display: inline-block;
  color: #e72582;
  text-decoration: none;
  font-weight: bold;
  margin-top: 1rem;
}

.blog-post a:hover {
  text-decoration: underline;
}

.blog-teaser {
  margin-top: 3rem;
  padding: 2rem;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.blog-teaser h2 {
  font-size: 2rem;
  color: #2a3475;
  margin-bottom: 1rem;
}

.blog-teaser ul {
  list-style: none;
}

.blog-teaser li {
  margin-bottom: 0.5rem;
}

.blog-teaser a {
  color: #e72582;
  text-decoration: none;
  font-weight: bold;
}

.blog-teaser a:hover {
  text-decoration: underline;
}

/* Guide ultime */
.ultimate-guide {
  margin-top: 3rem;
  padding: 2rem;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ultimate-guide h2 {
  font-size: 2rem;
  color: #2a3475;
  margin-bottom: 1rem;
  text-align: center;
}

.ultimate-guide h3 {
  font-size: 1.5rem;
  color: #2a3475;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.ultimate-guide p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1rem;
}

.ultimate-guide ul, .ultimate-guide ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.ultimate-guide li {
  margin-bottom: 0.5rem;
}

.ultimate-guide a {
  color: #e72582;
  text-decoration: none;
  font-weight: bold;
}

.ultimate-guide a:hover {
  text-decoration: underline;
}

.ultimate-guide .btn {
  display: inline-block;
  background-color: #e72582;
  color: #fff;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2rem;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
}

.ultimate-guide .btn:hover {
  background-color: #c61c6f;
}

/* FAQ étendue */
.faq-extended {
  margin-top: 3rem;
  padding: 2rem;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-extended h2 {
  font-size: 2rem;
  color: #2a3475;
  margin-bottom: 1rem;
  text-align: center;
}

.faq-extended p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
  text-align: center;
}

.faq-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  font-size: 1.4rem;
  color: #2a3475;
  margin-bottom: 0.5rem;
}

.faq-item p {
  font-size: 1rem;
  color: #555;
  text-align: left;
}

.faq-item a {
  color: #e72582;
  text-decoration: none;
  font-weight: bold;
}

.faq-item a:hover {
  text-decoration: underline;
}

/* Media Queries pour responsive design */

/* Tablette (max-width: 1024px) */
@media (max-width: 1024px) {

  .form-group {
    grid-template-columns: 1fr;
  }

  .ultimate-guide {
    padding: 1.5rem;
  }

  .ultimate-guide h2 {
    font-size: 1.8rem;
  }

  .ultimate-guide h3 {
    font-size: 1.4rem;
  }

  /* .gallery {
    grid-template-columns: repeat(2, 1fr);
  } */

  .div-top-footer {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Le bouton reste centré grâce à flex */
  .lien-check {
    display: flex;
    justify-content: center;
  }

  .menu{
    display: none;
  }

  .container-1 img{
    display: none;
  }


}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {

  #corp-page {
    padding: 1.5rem;
  }

  .lien-check h2 a {
    font-size: 1.1rem;
    padding: 0.7rem 1.2rem;
  }

  .heading-ul h2 {
    font-size: 1.8rem;
  }

  .heading-ul h3 {
    font-size: 1.4rem;
  }

  .contact {
    padding: 1.5rem;
  }

  .contact h2 {
    font-size: 1.8rem;
  }

  #contact button {
    width: 100%;
  }

  .div-top-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .bottom-footer {
    gap: 1rem;
  }

  /* Le bouton reste centré */
  .lien-check {
    display: flex;
    justify-content: center;
  }

  .menu{
    display: none;
  }

  .faq, .advantages {
    padding: 1.5rem;
  }

  .faq h2, .advantages h2 {
    font-size: 1.8rem;
  }

  .faq-item h3, .advantage-item h3 {
    font-size: 1.2rem;
  }

  .blog-post {
    padding: 1.5rem;
  }

  .blog-post h2 {
    font-size: 1.8rem;
  }

  .blog-post h3 {
    font-size: 1.3rem;
  }

  .faq-extended {
    padding: 1.5rem;
  }

  .faq-extended h2 {
    font-size: 1.8rem;
  }

  .faq-item h3 {
    font-size: 1.3rem;
  }

  .gallery img {
    width: 50px;
  }
}

/* Petit mobile (max-width: 480px) */
@media (max-width: 480px) {

  .debut-corp-page {
    font-size: 1rem;
  }

  .lien-check h2 a {
    font-size: 1rem;
    padding: 0.6rem 1rem;
  }

  .heading-ul h2 {
    font-size: 1.5rem;
  }

  .heading-ul h3 {
    font-size: 1.2rem;
  }

  .contact h2 {
    font-size: 1.5rem;
  }

  .form-control {
    font-size: 0.9rem;
  }

  .div-middle-footer {
    font-size: 0.8rem;
  }

  .bottom-footer li a {
    font-size: 0.85rem;
  }

  /* Le bouton reste centré */
  .lien-check {
    display: flex;
    justify-content: center;
  }

  .menu{
    display: none;
  }

  .container-1 img{
    display: none;
  }

  .faq h2, .advantages h2 {
    font-size: 1.5rem;
  }

  .faq-item h3, .advantage-item h3 {
    font-size: 1.2rem;
  }

  .faq-item p, .advantage-item p {
    font-size: 0.95rem;
  }

  .blog-post h2 {
    font-size: 1.5rem;
  }

  .blog-post h3 {
    font-size: 1.2rem;
  }

  .ultimate-guide h2 {
    font-size: 1.5rem;
  }

  .ultimate-guide h3 {
    font-size: 1.3rem;
  }

  .ultimate-guide p {
    font-size: 0.95rem;
  }

  .ultimate-guide .btn {
    font-size: 1rem;
    padding: 0.6rem 1rem;
  }

  .faq-extended h2 {
    font-size: 1.5rem;
  }

  .faq-item h3 {
    font-size: 1.2rem;
  }

  .faq-item p {
    font-size: 0.95rem;
  }

  .gallery img {
    width: 40px;
  }
}