body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    text-align: center;
    position: relative;
    min-height: 100vh;
    padding-bottom: 50px;
}
/* Reset des styles par défaut */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Bandeau en haut */
/* Header global */
.header {
  background: linear-gradient(135deg, #0066cc, #00ccff);
  padding: 20px 40px;
  text-align: center;
  position: relative;
}

/* Ligne du haut : logo + numéro */
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

/* Logo à gauche */
.logo-container {
  flex-shrink: 0;
}
.logo {
  height: 100px; /* tu peux ajuster : 60px, 80px... */
  width: auto;  /* conserve les proportions */
}

/* Numéro à droite */
.phone-header {
  color: white;
  text-decoration: none;
  display: block;
  line-height: 1.4;
}
}
.phone-header i {
  margin-right: 8px;
  color: #007bff;
}
.phone-header a {
  text-decoration: none;
  color: white;
  font-weight: bold;
}
.phone-numbers {
  display: flex;
  flex-direction: column;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 15px;
}

.phone-label {
  font-weight: bold;
  color: #ffd700;
  margin-bottom: 4px;
}
.phone-numbers a {
  transition: color 0.3s ease, transform 0.3s ease;
}

.phone-numbers a:hover {
  color: #ffd700;
  transform: scale(1.05);
}


/* Partie centrée : titre, texte et bouton */
.header-content h1 {
  margin: 0;
  font-size: 2em;
  color: white;
}
.header-content p {
  margin-top: 10px;
  font-size: 1.1em;
  color: white;
}
.btn-devis {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s;
}
.btn-devis:hover {
  background-color: #0056b3;
}


/* Responsive : sur petits écrans, on centre le bouton en dessous du logo */
@media screen and (max-width: 600px) {
  header {
      height: auto;
      padding: 20px 10px;
  }
  .logo-container {
      position: static;
      margin-bottom: 15px;
      text-align: left;
  }
  .btn-devis {
      position: static;
      display: block;
      width: 100%;
      max-width: 300px;
      margin: 0 auto;
      white-space: normal;
      text-align: center;
  }
}
nav ul {
    list-style: none;
    padding: 0;
    background: #FFD700;
    margin: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
}
nav ul li {
    padding: 15px;
}
nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}




/* Section Hero */
.hero-section {
    background-image: url('images/Hero1.jpg');
    background-size: cover;
    background-position: top center;
    height: 500px;
    position: relative;
    color: white;
  }

.hero-content {
    background-color: rgba(0, 0, 0, 0.4); /* pour contraste */
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-button {
    background-color: #ffcc00;
    color: #333;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.hero-button:hover {
    background-color: #e6b800;
}

  
.home {
    padding: 40px 20px;
    background: linear-gradient(to bottom, #f8f9fa, #e0f7fa); /* léger dégradé pour plus de vie */
    text-align: center;
}
.devis-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center; 
    justify-content: center;
    padding: 40px;
    /* background: linear-gradient(to right, #007bff, #00c6ff); /* même fond que le formulaire */
    border-radius: 15px;
  }
  
  .presentation-box {
    flex: 1;
    padding: 30px;
    background-color: #f9f9f9;
    border-left: 5px solid #0077b6;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    animation: fadeIn 1s ease-in-out;
  }
  
  .presentation-box h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #0077b6;
  }
  
  .presentation-box h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #023e8a;
  }
  
  .presentation-box p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.6;
  }
  
  .presentation-box .avantages {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
  }
  
  .presentation-box .avantages li {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #444;
  }
  
  .presentation-box .emoji {
    margin-right: 6px;
    font-size: 1.2rem;
  }
  
  .btn-en-savoir-plus {
    background-color: #0077b6;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
  }
  
  .btn-en-savoir-plus:hover {
    background-color: #023e8a;
    transform: scale(1.05);
  }
  
  @media screen and (max-width: 900px) {
    .devis-wrapper {
      flex-direction: column;
    }
  }
  
/* Section Devis */
.form-modern {
    background: linear-gradient(135deg, #0066cc, #00ccff);
    color: white;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    padding: 30px;
    display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}


.form-modern h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.devis-services img {
    width: 450px;
    height: auto;
    border-radius: 10px;
}

.form-flex {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.form-modern .form-group {
    display: flex;
    flex-direction: column;
}

.form-modern label {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-modern input,
.form-modern select {
    padding: 12px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    color: #333;
    background-color: #f0f8ff;
    transition: transform 0.2s ease, box-shadow 0.3s;
}

.form-modern input:focus,
.form-modern select:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    transform: scale(1.02);
}

.form-modern button {
    margin-top: 30px;
    width: 100%;
    padding: 15px;
    background-color: #ffcc00;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #002855;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-modern button:hover {
    background-color: #e6b800;
    transform: scale(1.05);
}

/* Animation douce à l’entrée */

@keyframes pulse {
    0% {
      transform: scale(1);
      box-shadow: 0 0 0 rgba(0, 119, 182, 0.7);
    }
    50% {
      transform: scale(1.05);
      box-shadow: 0 0 10px rgba(0, 119, 182, 0.5);
    }
    100% {
      transform: scale(1);
      box-shadow: 0 0 0 rgba(0, 119, 182, 0.7);
    }
  }
  
  .btn-en-savoir-plus {
    animation: pulse 2.5s infinite;
  }
  



/* Section Services */
.services-section {
    background: linear-gradient(135deg, #f0f8ff, #e9ecef);
    padding: 80px 20px;
    text-align: center;
  }
  
  .services-section h2 {
    font-size: 2.5rem;
    color: #003366;
    margin-bottom: 20px;
    animation: fadeUp 0.8s ease-in-out;
  }
  
  /* Intro */
  .services-intro {
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.2rem;
    color: #444;
    animation: fadeUp 1s ease-in-out;
  }
  
  /* Grille des cartes */
  .services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
  }
  
  /* Cartes services */
  .service-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 25px;
    width: 270px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(20px);
    transform-origin: center;
  }
  
  /* Animation cascade */
  .service-card:nth-child(1) { animation-delay: 0.1s; }
  .service-card:nth-child(2) { animation-delay: 0.2s; }
  .service-card:nth-child(3) { animation-delay: 0.3s; }
  .service-card:nth-child(4) { animation-delay: 0.4s; }
  
  /* Animation d'apparition */
  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Effet au survol */
  .service-card:hover {
    transform: scale(1.08) translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 123, 255, 0.3);
    background: #f0f8ff;
    z-index: 2;
  }
  

  
  /* Icônes */
  .service-card i {
    font-size: 48px;
    color: #007bff;
    margin-bottom: 20px;
    transition: color 0.3s ease;
  }
  
  .service-card:hover i {
    transform: scale(1.2) rotate(6deg);
  }
  
  /* Titres */
  .service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #002855;
    transition: color 0.3s ease;
  }
  
  .service-card:hover h3 {
    color: #007bff;
  }
  
  /* Textes */
  .service-card p {
    font-size: 1rem;
    color: #555;
  }
  
  /* Apparition animée */
  @keyframes fadeUp {
    0% {
      opacity: 0;
      transform: translateY(40px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Animation en cascade */
  .service-card:nth-child(1) { animation-delay: 0.1s; }
  .service-card:nth-child(2) { animation-delay: 0.2s; }
  .service-card:nth-child(3) { animation-delay: 0.3s; }
  .service-card:nth-child(4) { animation-delay: 0.4s; }
  .service-card:nth-child(1) i {
    color: #007bff; /* Bleu */
  }
  .service-card:nth-child(2) i {
    color: #28a745; /* Vert */
  }
  .service-card:nth-child(3) i {
    color: #ffc107; /* Jaune/orangé */
  }
  .service-card:nth-child(4) i {
    color: #dc3545; /* Rouge */
  }
  
  
  /* Section Contact */
.contact-section {
    background: linear-gradient(to right, #f1f3f5, #ffffff);
    padding: 80px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  .contact-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    animation: fadeIn 1s ease-in-out forwards;
  }
  
  .contact-container h2 {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 10px;
  }
  
  .contact-container p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 40px;
  }
  
  .contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
    animation: fadeUp 1s ease forwards;
  }
  
  .contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    color: #333;
  }
  
  .contact-item i {
    font-size: 24px;
    color: #007bff;
  }
  
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: fadeUp 1s ease 0.3s forwards;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 15px;
    border: 1px solid #ced4da;
    border-radius: 10px;
    font-size: 16px;
    width: 100%;
    transition: all 0.3s ease;
  }
  
  .contact-form input:focus,
  .contact-form textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
  }
  
  .contact-form textarea {
    resize: vertical;
    min-height: 120px;
  }
  
  .contact-form button {
    padding: 15px;
    background-color: #007bff;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }
  
  .contact-form button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
  }
  
  /* Animation */
  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  .map-container {
    margin-top: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .contact-item a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .contact-item a:hover {
    color: #0056b3;
    text-decoration: underline;
  }
  
  .form-success-message {
    font-weight: bold;
  }
  

/* pour SEO */

.seo-bloc {
  background-color: #f8f9fa;
  padding: 40px 20px;
  margin-top: 60px;
  border-top: 1px solid #ddd;
  font-size: 0.95rem;
  color: #333;
}

.seo-content {
  max-width: 1000px;
  margin: 0 auto;
  line-height: 1.6;
}

.seo-content h2 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #1a1a1a;
}


/* Pied de page */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

footer a {
    color: #ffcc00;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


