/* Reset & Fondamentaux */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  html {
    font-size: 62.5%; /* 1rem = 10px */
  }
  body {
    font-family: 'Quicksand', sans-serif;
    line-height: 1.6;
    font-size: 1.6rem;
    color: #333;
  }
  
  /* Nav fixe et centrée */
  .nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 65px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent); /* augmenté de 0.4 → 0.6 */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 3rem;
    transition: background 0.4s;
    z-index: 1000;
}

.nav.scrolled {
  background-color: rgba(0, 0, 0, 0.8) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}


  .affix .nav {
    background: #111;
  }
  .logo {
    position: absolute;
    left: 3rem;
  }
  .logo img {
    height: 50px;
  }
  .navlinks {
    list-style: none;
    display: flex;
    gap: 3rem;
    margin: 0;
  }
  .navlinks a {
    text-decoration: none;
    color: #fff;
    font-size: 2.4rem;
    transition: color .3s;
  }
  .navlinks a:hover {
    color: #c49a77;
  }
  .navTrigger {
    display: none;
    position: absolute;
    right: 3rem;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    background: none;
    border: none;
    cursor: pointer;
  }
  .navTrigger span {
    display: block;
    height: 4px;
    border-radius: 2px;
    background: #fff;
    transition: transform .4s, opacity .4s;
  }
  .navTrigger.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }
  .navTrigger.active span:nth-child(2) {
    opacity: 0;
  }
  .navTrigger.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }
  
  /* Mobile menu */
  @media (max-width: 768px) {
    .navTrigger {
      display: flex;
    }
    .navlinks {
      position: fixed;
      top: 65px; left: 0; right: 0; bottom: 0;
      flex-direction: column;
      background: #111;
      transform: translateY(-100%);
      transition: transform .4s;
      gap: 2rem;
      padding-top: 2rem;
    }
    .navlinks.show_list {
      transform: translateY(0);
    }
    .navlinks li {
      text-align: center;
    }
    .navlinks a {
      font-size: 3rem;
    }
  }
  
  /* Section Home */
  .home {
    background: url('apropos.jpg') center/cover no-repeat;
    width: 100%;
    height: 100vh;
  }
  
  /* Sections générales */
  section {
    padding: 100px 2rem;
    min-height: 100vh;
  }
  section::before {
    content: "";
    display: block;
    height: 60px;
    margin-top: -60px;
  }
  .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: auto;
  }
  section .image img {
    max-width: 500px;
    border-radius: 1rem;
  }
  section .texte {
    flex: 1;
    text-align: right;
  }
  
  /* Fonds alternés */
  #notre-histoire { background: #f2f2f2; }
  #propos         { background: #e0e0e0; }
  #services       { background: #f2f2f2; }
  #telecharger    { background: #e0e0e0; }
  #contact        { background: #f2f2f2; }
  
  /* Section Téléchargement : images à gauche, texte à droite */
  #telecharger {
    padding: 100px 2rem;
  }
  #telecharger .container {
    display: flex;
    flex-direction: row;
    align-items: center;        /* texte centré verticalement */
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: auto;
    text-align: left;
  }
  
  #telecharger .image {
    flex: 1;
    display: flex;
    gap: 2rem;
    /* pousse les images en bas à gauche du bloc .image */
    align-items: flex-end;
    justify-content: flex-start;
  }
  
  #telecharger {
    padding: 100px 2rem;
  }
  
  #telecharger .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start; /* Changez de flex-start */
    gap: 2rem;
    max-width: 1200px;
    margin: auto;
    text-align: left;
  }
  
  #telecharger .image {
    flex: 1;
    display: flex;
    gap: 2rem;
    align-items: flex-start; /* Changez de flex-end */
    justify-content: flex-start;
  }#telecharger {
    padding: 100px 2rem;
  }
  
  #telecharger .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start; /* Changez de flex-start */
    gap: 2rem;
    max-width: 1200px;
    margin: auto;
    text-align: left;
  }
  
  #telecharger .image {
    flex: 1;
    display: flex;
    gap: 2rem;
    align-items: flex-start; /* Changez de flex-end */
    justify-content: flex-start;
  }#telecharger {
    padding: 100px 2rem;
  }
  
  #telecharger .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start; /* Changez de flex-start */
    gap: 2rem;
    max-width: 1200px;
    margin: auto;
    text-align: left;
  }
  
  #telecharger .image {
    flex: 1;
    display: flex;
    gap: 2rem;
    align-items: flex-start; /* Changez de flex-end */
    justify-content: flex-start;
  }#telecharger {
    padding: 100px 2rem;
  }
  
  #telecharger .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start; /* Changez de flex-start */
    gap: 2rem;
    max-width: 1200px;
    margin: auto;
    text-align: left;
  }
  
  #telecharger .image {
    flex: 1;
    display: flex;
    gap: 2rem;
    align-items: flex-start; /* Changez de flex-end */
    justify-content: flex-start;
  }#telecharger {
    padding: 100px 2rem;
  }
  
  #telecharger .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start; /* Changez de flex-start */
    gap: 2rem;
    max-width: 1200px;
    margin: auto;
    text-align: left;
  }
  
  #telecharger .image {
    flex: 1;
    display: flex;
    gap: 2rem;
    align-items: flex-start; /* Changez de flex-end */
    justify-content: flex-start;
  }
  #telecharger .texte {
    flex: 1;
  }
  
  /* Badges de téléchargement */
  .download-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
  }
  .download-buttons img {
    height: 5rem;
    transition: transform .3s;
  }
  .download-buttons a:hover img {
    transform: scale(1.05);
  }
  
  /* Responsive Téléchargement (<600px) */
  @media (max-width: 600px) {
    #telecharger .container {
      flex-direction: column;
      text-align: center;
    }
    #telecharger .image {
      justify-content: center;
      flex-direction: column;
      gap: 1rem;
    }
    .download-buttons {
      justify-content: center;
    }
  }
  
  /* Cartes de services */
  .cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

.card {
  flex: 1;
  max-width: 300px;
  background-color: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

  .price {
    font-size: 3.2rem;
    font-weight: bold;
    margin: 1rem 0;
  }
  .features {
    list-style: none;
    margin: 1rem 0;
    text-align: left;
  }
  .features li {
    position: relative;
    padding-left: 2rem;
    margin: .8rem 0;
  }
  .features li::before {
    content: '✔';
    position: absolute;
    left: 0; top: 0;
  }
  .trial {
    font-weight: bold;
    margin: 1rem 0;
  }
  .button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #a67c52;
    border-radius: 2.5rem;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    transition: background .3s;
  }
  .button:hover {
    background: #c49a77;
  }
  
  /* Formulaire d’inscription */
  .signup-container {
    background: #f8f8f8;
    padding: 2rem;
    border-radius: .8rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 40rem;
  }
  .signup-form {
    display: flex;
    flex-direction: column;
  }
  .signup-form label {
    margin-bottom: .5rem;
    font-size: 1.4rem;
    color: #555;
  }
  .signup-form input {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid #ccc;
    border-radius: .4rem;
    font-size: 1.6rem;
  }
  .signup-form button {
    padding: 1rem;
    font-size: 1.6rem;
    background: #c49a77;
    color: #fff;
    border: none;
    border-radius: .4rem;
    cursor: pointer;
    transition: background .3s;
  }
  .signup-form button:hover {
    background: #e59e48;
  }

  /* Footer */
  footer {
    background: #c49a77;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
    font-size: 1.4rem;
  }

  .fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

  