/* Reset styles */
html, body, div, h1, h2, h3, p {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #333;
}

/* Général */
.top-line {
  background-color: #ef530c;
  height: 3px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

.container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0;
}

/* Header */
.header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-shadow: 0 -22px 39px 2px gray;
  width: 100%;
  box-sizing: border-box;
}


.header-inner {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}




.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 70px;
}

.catch-phrase {
  font-size: 1.5em;
  text-align: right;
  flex-grow: 1;
}

.service {
  color: #4b4c4c;
  font-weight: 700;
}

.assistance {
  font-size: 22px;
  color: #4f5556;
  font-weight: 600;
}

/* First Content */
.first-content {
  display: flex;
  align-items: center;
  margin-top: -100px;
}

.first-content img {
  max-width: 30%;
  margin-right: 200px;
}

.first-content p {
  font-weight: bold;
  font-size: 35px;
  color: #4f5556;
  padding: 20px;
  flex-grow: 1;
  padding-top: 100px;
}

/* Main Content */
.main-content2 {
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.15);
  padding: 30px 50px;
  text-align: center;
  background: #fff;
  margin-bottom: 100px;
  position: relative;
}

.tiret {
  background: #d3302f;
  margin: 10px auto 30px;
  width: 48%;
  height: 3px;
  border: none;
}

.main-content2 .main-title {
  font-size: 30px;
  margin-bottom: 45px;
  line-height: 1.1em;
  letter-spacing: 0.02em;
  color: #4f5556;
}

.main-content2 .main-description {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4em;
  color: #4f5556;
  margin-bottom: 20px;
}




/* Section du formulaire */
.form-section {
    max-width: 600px; /* Largeur maximale */
    margin: 30px auto; /* Centrage horizontal et espacement vertical */
    text-align: center; /* Centrer le texte du titre */
}

.form-section h3 {
    font-size: 24px; /* Taille plus grande */
    font-weight: bold;
    color: #333; /* Noir doux */
    margin-bottom: 20px; /* Espacement avec le formulaire */
    font-family: 'Montserrat', sans-serif;
}

/* Formulaire */
.form-section form {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Espacement entre les champs */
    align-items: center; /* Centre les champs */
}

.form-section form input,
.form-section form textarea {
    width: 100%; /* Prend toute la largeur */
    max-width: 500px; /* Largeur maximale */
    padding: 12px; /* Espacement intérieur pour plus de confort */
    border: 1px solid #ddd; /* Bordure discrète */
    border-radius: 8px; /* Coins arrondis */
    font-family: 'Montserrat', sans-serif;
    font-size: 16px; /* Texte lisible */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Ombre discrète */
    transition: border 0.3s, box-shadow 0.3s;
}

.form-section form input:focus,
.form-section form textarea:focus {
    border-color: #0077cc; /* Bordure bleue au focus */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Accentuation de l'ombre */
    outline: none;
}

.form-section form textarea {
    height: 140px; /* Hauteur augmentée */
    resize: vertical; /* Redimensionnement vertical uniquement */
    box-sizing: border-box;
}

/* Bouton */
.form-section form button {
    width: 100%; /* Prend toute la largeur */
    max-width: 500px; /* Largeur maximale */
    padding: 12px;
    background-color: #0077cc; /* Couleur bleue */
    color: white; /* Texte blanc */
    border: none;
    cursor: pointer;
    font-size: 18px; /* Taille du texte */
    font-weight: bold;
    border-radius: 8px; /* Coins arrondis */
    transition: background-color 0.3s, transform 0.3s;
}

.form-section form button:hover {
    background-color: #005fa3; /* Couleur légèrement plus foncée */
    transform: scale(1.02); /* Zoom léger au survol */
}





/* H3 Styles */
h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4em;
  color: #4f5556;
  margin-bottom: 20px;
}

/* Client Service Section */
.client-service-section {
  justify-content: center;
  align-items: center;
}

#show-text {
  display: none;
}

.call-button {
  padding: 22px 20px;
  font-size: 35px;
  font-weight: bold;
  color: #fff;
  background-color: #D32F2F;
  border: none;
  border-radius: 15px;
  text-decoration: none;
  text-align: center;
  width: fit-content;
  margin: auto;
  margin-bottom: 20px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.link {
  color: #0077cc;
  text-decoration: none;
}

.mentions {
  display: block !important;
}

/* Features */
.features {
  justify-content: center;
  width: 70%;
  margin: 20px auto 50px;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 1px 5px rgb(0 0 0 / 10%), 0 1px 2px -1px rgb(0 0 0 / 10%);
  text-align: left;
}

.features ul {
  list-style: none;
  padding: 0;
}

.features li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.features li i {
  margin-right: 10px;
}

/* Courses Section */
.courses-section {
  text-align: center;
  padding: 50px 0;
  background: #4f5556;
}

.courses-section h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 50px;
  color: #ffffff;
  box-shadow: inset 0 -10px 0 #ffffff73;
  display: inline;
}

.courses-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 50px;
  gap: 30px;
}

.course-card {
  background-color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  width: 300px;
  padding: 20px;
  text-decoration: none;
  color: #333;
  transition: box-shadow 0.3s;
}

.course-card:hover {
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.course-card p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6em;
  margin-top: 20px;
}

/* Custom Section */
.custom-section {
  max-width: 1200px;
  margin: auto;
  padding: 50px 0;
}

.custom-section > div {
  display: flex;
  align-items: center;
  margin-bottom: 50px;
}

.left-aligned-section,
.right-aligned-section {
  justify-content: flex-start;
}

.left-aligned-section img,
.right-aligned-section img {
  max-width: 50%;
}

.section-text {
  max-width: 50%;
  padding: 50px;
}

.text-left {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6em;
  margin-top: 20px;
  text-align: justify;
}

/* Footer */
footer {
  background-color: #4f5556;
  color: #fff;
  padding: 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6em;
}

.footer-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
}

footer p {
  margin-bottom: 20px;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer ul li {
  display: inline;
  margin-right: 10px;
}

footer a {
  color: #fff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Keyframes */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
}

.fa.fa-volume-control-phone {
  animation: pulse 2.5s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  font-size: 30px;
  margin-right: 10px;
}

/* Mobile Banner */
.mobile-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #D32F2F;
  color: white;
  padding: 20px;
  z-index: 1001;
  text-align: center;
  font-size: 25px;
  border-top: 2px solid #ffffff;
}

.endprice {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  background-color: white;
  padding: 10px 0;
  font-size: 20px;
  z-index: 1000;
}

.mobile-banner-link a:first-child {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.mobile-banner .fa,
.mobile-banner > span > a:not(:first-child) {
  position: relative;
  z-index: 2;
}

.mobile-banner a {
  text-decoration: none;
  color: white;
  font-weight: bold;
}

.mobile-banner p {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  line-height: 1.2em;
}

.mobile-banner .banner-text {
  font-size: 25px;
  font-weight: 700;
  margin: 10px 0;
}

.mobile-banner-link {
  text-decoration: none;
  color: inherit;
}

.ModulOne-servicePhrase {
  display: none;
}

/* Styles pour l'icône du menu burger */
.mobile-menu-icon {
  display: none;
  cursor: pointer;
}

.mobile-menu-icon .bar {
  width: 30px;
  height: 3px;
  background-color: rgba(0, 0, 0, 0.2);
  margin: 4px 0;
}


.container-section {
    width: 90%;
    margin: 0 auto;
    text-align: left;
}

.titre-section {
    font-size: 1.5em; /* Taille réduite */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    color: #333;
}

.titre-element {
    font-size: 1.2em; /* Taille légèrement réduite */
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 5px;
    color: #ba1231;
}

.texte-element {
    font-size: 1em;
    color: #555;
    margin-bottom: 15px;
    text-align: left; /* Texte aligné à gauche */
}

.icon {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #ba1231;
    margin-right: 8px;
    vertical-align: middle;
    border-radius: 50%;
}





/* Media Queries */
@media (min-width: 992px) {
  .first-content p {
    color: transparent;
  }
}

@media (max-width: 768px) {
  /* Footer */
  footer ul li {
    display: block;
    margin-right: 0;
    margin-bottom: 10px;
  }

  /* Header */
  .mobile-menu-icon {
    display: block;
    margin-bottom: 20px;
  }

  .header {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 0;
  }

  .logo {
    margin-bottom: 15px;
  }

  .logo img {
    width: 40px;
  }

  .catch-phrase {
    display: none;
  }

  /* First Content */
  .first-content {
    margin-top: -100px;
  }

  .first-content p {
    font-size: 24px;
    margin-top: 20px;
    text-align: center;
  }

  .first-content img {
    max-width: 50%;
    margin-right: 0;
    margin-bottom: -85px;
  }

  /* Main Content */
  .main-content2 {
    flex-direction: column;
    padding: 20px 0;
  }

  .main-content2 .main-title {
    font-size: 15px;
    width: 95%;
    margin: 0 auto;
    line-height: 1.6em;
  }

  .main-content2 .main-description {
    margin-top: 5px;
    margin-bottom: 0;
    font-size: 22px;
  }

  .main-content2 p {
    font-weight: 500;
    color: #4f5556;
    padding: 10px;
    font-size: 15px;
  }

  /* Custom Section */
  .custom-section > div {
    flex-direction: column;
    text-align: center;
  }

  .left-aligned-section,
  .right-aligned-section {
    justify-content: center;
  }

  .section-text {
    max-width: 100%;
    padding: 10px;
  }

  .left-aligned-section img {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .right-aligned-section img {
    display: none;
  }

  /* Call Button */
  .call-button {
    display: flex;
    font-size: 18px;
    padding: 20px 30px;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
  }

  /* Feature Items */
  .feature-item i {
    font-size: 18px;
    margin-bottom: 0;
    width: 50px;
    height: 50px;
  }

  .feature-item {
    font-size: 15px;
    color: #4f5556;
    font-weight: 100;
  }

  .feature-item p {
    color: #4f5556;
    font-weight: 400;
  }

  /* Form Section */
  .form-section {
    display: block;
    width: 85%;
    margin: 0 auto;
  }

  /* Mobile Banner */
  .mobile-banner,
  .endprice {
    display: none;
  }

  .mobile-banner {
    bottom: 54px;
  }

  .endprice {
    bottom: 0;
  }

  /* Ajout des styles pour contrôler l'affichage sur mobile */
  .text-number {
    display: inline;
  }

  .phone-number {
    display: none;
  }
}

@media (min-width: 768px) {
  /* Main Content */
  .main-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }




  .main-content2 {
    margin-top: -50px;
  }

  /* Mobile Banner */
  .mobile-banner,
  .endprice {
    display: none;
  }

  /* Ajout des styles pour contrôler l'affichage sur desktop */
  .text-number {
    display: none;
  }

  .phone-number {
    display: inline;
  }
  
 .mobile-only {
    display: none;
  }
  
  .first-content{
    margin-top: 0px;
  }
  
    .mentions{
    margin-top: 50px !important;
  }
  .fa.fa-volume-control-phone {
	  animation: none;
    font-size: 50px;
    margin-right: 10px;
    margin: 0 auto;
    vertical-align: middle;
}

}
