/* Définition des couleurs de base */
:root {
  --primary-color: #1e90ff;
  --secondary-color: #ff6347;
  --background-color: #f4f4f4;
  --text-color: #333;
  --heading-color: #111;
  --link-color: #1e90ff;
}

/* Réinitialisation de quelques styles par défaut */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  padding: 20px;
  font-size: 16px;
}

/* En-têtes principaux */
h1, h2, h3, h4, h5 {
  color: var(--heading-color);
  margin-bottom: 15px;
}

h1 {
  font-size: 2.5rem;
  text-align: center;
  margin-top: 20px;
}

h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

h4 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

h5 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

/* Sections de texte */
p {
  margin-bottom: 20px;
  line-height: 1.8;
  text-align: justify;
}

.service, .partie2 {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 40px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.service {
  margin-top: 20px;
}

/* Liens */
a {
  text-decoration: none;
  color: var(--link-color);
}

a:hover {
  color: var(--secondary-color);
}

/* Box de médias sociaux */
.social-box {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-box a {
  font-size: 1.5rem;
  color: var(--text-color);
  transition: color 0.3s ease;
}

.social-box a:hover {
  color: var(--primary-color);
}

/* Réactions aux différentes tailles d'écran */
@media (max-width: 768px) {
  body {
      padding: 10px;
  }

  h1 {
      font-size: 2rem;
  }

  h2 {
      font-size: 1.5rem;
  }

  h3 {
      font-size: 1.25rem;
  }

  .service, .partie2 {
      padding: 15px;
  }
}

@media (max-width: 480px) {
  .social-box {
      flex-direction: column;
      align-items: center;
  }

  h1 {
      font-size: 1.8rem;
  }

  p {
      font-size: 14px;
  }
}
/* renseignement client  */


/* Réinitialisation de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #f4f7fc;
  color: #333;
  padding: 20px;
}

h1 {
  text-align: center;
  color: #1e90ff;
  margin-bottom: 20px;
}

p {
  text-align: center;
  margin-bottom: 20px;
}

/* Conteneur du formulaire */
.container {
  max-width: 600px;
  margin: 0 auto;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Formulaire */
.contact-form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 15px;
}

label {
  font-size: 1rem;
  margin-bottom: 5px;
  color: #555;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  outline: none;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  border-color: #1e90ff;
}

textarea {
  resize: vertical;
}

button {
  background-color: #1e90ff;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #0056b3;
}

/* Réponse mobile */
@media (max-width: 768px) {
  .container {
      padding: 15px;
  }
  
  button {
      font-size: 1rem;
  }
}
