/* Importation des polices */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&family=Montserrat:wght@600&display=swap');

/* Base reset & typography */
* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #f0f0f0, #dcdcdc); /* Dégradé du gris très clair au gris clair */
    
}

/* Header */
header {
  background-image: url('arriereplans.jpg');
  background-size: cover;
  background-position: center;
  min-height: 350px;

  align-items: center;
 
  text-align: center;
  position: relative;
}

.header-content {
  background-color: transparent; /* Fond sombre transparent pour la lisibilité */
  padding: 30px 50px;
  color: #fff;
  width: 100%;            /* Prend toute la largeur */
  border-radius: 0;       /* Supprime les coins arrondis */
}


.logo {
  width: 200px;
  height: auto;
  margin: 0 auto 20px;
  display: block;
  border-radius: 15px;

}

h2 {
  color: #c93737;
  font-family: 'Montserrat', sans-serif;
}
h3 {
  color: #c93737;
  font-family: 'Montserrat', sans-serif;
}


header h1 {
    font-family: 'Montserrat', sans-serif; /* Changer la police pour Montserrat pour les titres */
    font-size: 2.4em;
    font-weight: 600;
    margin: 10px 0;
    color: #c93737; /* Orange clair pour les titres */
}

header p {
    font-size: 1.1em;
    font-style: italic;
    color: #f0f0f0;
}

/******************************/

.interpretations {
  padding: 2em;
  background-color:linear-gradient(to right, #f3eded, #dcdcdc);
  border-radius: 1em;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.interpretations h2 {
  color: #c93737;
  font-size: 1.8em;
  margin-bottom: 0.5em;
}

.interpretations .intro {
  font-size: 1.1em;
  color: #333;
  margin-bottom: 2em;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5em;
}

.card {
  background: #cecbcb;
  padding: 1.5em;
  border-radius: 1em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-align: center;
}

.card i {
  font-size: 2em;
  color:  #c93737;
  margin-bottom: 0.5em;
}

.card h3 {
  font-size: 1.1em;
  margin-bottom: 0.3em;
}

.card p {
  font-size: 0.95em;
  color: #555;
}

.interpretations {
  margin-bottom: 40px; /* espace entre les sections */
}


/************************************/
/* Navigation Bar */
.navbar {
    background: linear-gradient(to right, #b8b8b8, #6c6c6c); /* Dégradé de gris */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .menu {
    display: flex;
    justify-content: center;
    gap: 40px;
    list-style: none;
    padding: 15px 20px;
    margin: 0;
    flex-wrap: wrap;
}

.navbar .menu li a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 1.05em;
    transition: color 0.3s ease;
}

.navbar .menu li a:hover {
    color: #c93737;/* Orange clair pour les liens au survol */
}

.menu-icon {
    display: none;
    font-size: 1.8em;
    color: white;
    padding: 15px 20px;
    cursor: pointer;
}

#menu-toggle {
    display: none;
}
@media (max-width: 768px) {
    .navbar .menu li {
      padding: 10px 0;
    }
  
    .hero-box {
      padding: 40px 20px;
    }
  
    header h1 {
      font-size: 1.8em;
    }
  
    .cta-button {
      width: 100%;
      text-align: center;
    }
  }
  

@media (max-width: 768px) {
    .navbar .menu {
        flex-direction: column;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    #menu-toggle:checked + .menu-icon + .menu {
        max-height: 300px;
    }

    .menu-icon {
        display: block;
        text-align: right;
        background: linear-gradient(to right, #b8b8b8, #6c6c6c);
    }
}

/* Hero Box */
.hero-box {
    background: linear-gradient(to right, #f0f0f0, #dcdcdc); /* Dégradé doux de gris clair */
    padding: 60px 30px;
    margin: 40px auto;
    max-width: 900px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.hero-box h2 {
    font-family: 'Montserrat', sans-serif; /* Police Montserrat pour les titres */
    font-size: 2.8em;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #c93737; /* Titre en orange clair */
}

.hero-box p {
    font-size: 1.25em;
    color: #444;
    margin-bottom: 30px;
    line-height: 1.6em;
}

.cta-button {
    display: inline-block;
    padding: 14px 30px;
    background-color: #c93737; /* Bouton en orange clair */
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: #c93737; /* Un orange un peu plus foncé au survol */
    transform: translateY(-3px);
}

/* Forms */
form {
    background: #cecbcb;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

form input,
form textarea,
form select,
form button {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
    padding: 0.75rem;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid #ccc;
}

form button {
    background: #c93737; /* Bouton en orange clair */
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    font-weight: bold;
}

form button:hover {
    background: #c93737;
    transform: scale(1.02);
}

.confirmation-message {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
    border-radius: 8px;
    text-align: center;
    font-size: 1.05em;
}

/* Misc */
section {
    padding: 2rem 1rem;
    max-width: 900px;
    margin: auto;
}

.card {
    background: #d6d3d3;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 2rem;
    margin-bottom: 2rem;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  

.qr {
    text-align: center;
    margin-top: 2rem;
}

footer {
    background: linear-gradient(to right, #b8b8b8, #6c6c6c); /* Dégradé de gris */
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    font-size: 1em;
    font-weight: 500;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
    border-top: 4px solid #888888;
    margin-top: 3rem;
    border-radius: 10px 10px 0 0;
}

/* Animations */


/* --- Apparition en fondu --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
  }
  
  /* --- Slide In (scroll) --- */
  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* --- Hover des cartes --- */
  .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  /* --- Animation boutons --- */
  .cta-button,
  button {
    transition: transform 0.3s ease, background-color 0.3s ease;
  }
  
  .cta-button:hover,
  button:hover {
    transform: scale(1.05);
    background-color: #c93737;
  }
  
  /* --- Animation QR code --- */
  .qr img {
    transition: transform 0.3s ease;
  }
  .qr img:hover {
    transform: scale(1.08);
  }
  

  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
  


