:root {
  --primaryColor: #e50914; /* Rouge principal */
  --secondaryColor: #ffc107; /* Jaune vif */
  --lightColor: #ffffff;
  --padding: 8%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: "Josefin Sans", sans-serif;
  font-size: 17px;
}

.acceuil {
  width: 100%;
  height: 95vh;
  background-color: var(--bgcolor-1);
  display: flex;
  flex-direction: column;
  margin-bottom: 25px;
}

nav {
  padding-top: 2.8rem;
  padding-left: var(--padding);
  padding-right: var(--padding);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul li {
  list-style-type: none;
  display: inline-block;
  margin: 0.8rem 1.5rem;
}

nav ul li a {
  color: #000;
  text-decoration: none;
  transition: 0.4s;
}

nav ul li a:hover {
  color: var(--primaryColor);
}

nav img {
  width: 40px;
  height: 40px; /* force une hauteur égale */
  border-radius: 50%; /* rend l’image parfaitement ronde */
  object-fit: cover; /* recadre l’image si elle n’est pas carrée */
  margin-right: 5px; /* petit espace avec le texte */
  vertical-align: middle;
  position: relative;
  top: -3px;
}

.btn {
  color: var(--lightColor);
  background-color: var(--primaryColor);
  text-decoration: none;
  font-weight: bold;
  padding: 0.81rem 1.87rem;
  border-radius: 30px;
  border: 3px solid transparent;
  transition: 0.4s;
}

.btn:hover {
  background-color: #000;
  border: 3px solid var(--primaryColor);
}

.content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8%;
}

.text h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 43px;
  font-style: italic;
  margin-bottom: 80px;
  margin-top: -50px;
}

.rejoignez {
  background-color: #f8f8f6; /* fond blanc pour contraster */
  padding-bottom: 60px; /* ajoute de l’espace en bas */
}

.rejoignez h2 {
  padding: 30px; /* espace en haut et en bas */
  text-align: center; /* centre le texte */
  font-size: 60px; /* texte grand */
  font-weight: 700; /* texte épais */
  font-family: "Poppins", sans-serif;
  font-style: italic;
}

span {
  color: var(--primaryColor);
}

.card-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0px;
}

.card {
  width: 325px;
  background-color: #f0f0f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  margin: 20px;
  height: 320px;
}

.card img {
  width: 100%;
  height: 60%;
}

.card-content h3 {
  font-size: 28px;
  margin-bottom: 8px;
}

.btn-card {
  display: inline-block;
  background-color: var(--primaryColor);
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 25px;
  margin-top: 15px;
  transition: transform 0.3s, background-color 0.3s;
}

/* petit effet au survol */
.btn-card:hover {
  background-color: #b20710;
  transform: scale(1.05); /* grossit un peu */
}

.card-content {
  text-align: center;
}

.description {
  font-size: 17px;
}

.image img {
  width: 300px; /* taille fixe */
  height: 550px;
  margin-top: 30px;
  margin-right: 90px;
}

.commandez h2 {
  padding: 30px; /* espace en haut et en bas */
  text-align: center; /* centre le texte */
  font-size: 60px; /* texte grand */
  font-weight: 700; /* texte épais */
  font-family: "Poppins", sans-serif;
  font-style: italic;
}

.store-buttons {
  display: flex;
  flex-direction: column; /* met Google Play en haut et App Store en dessous */
  margin-top: 100px; /* espace entre le titre et les boutons */
  margin-bottom: 80px; /* espace en bas de la section */
  gap: 20px; /* espace entre Google Play et App Store */
  padding-left: 300px; /* espace à droite des boutons */
}

.store-buttons img {
  height: 60px; /* même hauteur pour les deux badges */
  width: auto; /* largeur automatique pour ne pas déformer */
  object-fit: contain; /* garde les proportions */
}

.description-commendez {
  text-align: left; /* centre la phrase */
  font-size: 38px; /* taille moyenne */
  margin-top: 50px; /* espace au-dessus */
  color: #333;
  padding-left: 150px;
}

.contactez {
  background-color: #f8f8f6; /* fond blanc pour contraster */
  padding-bottom: 50px; /* ajoute de l’espace en bas */
}

.contactez h2 {
  padding: 30px; /* espace en haut et en bas */
  text-align: center; /* centre le texte */
  font-size: 60px; /* texte grand */
  font-weight: 700; /* texte épais */
  font-family: "Poppins", sans-serif;
  font-style: italic;
}

.forum-contact {
  display: flex;
  flex-direction: column;
  margin-top: 30px; /* espace au-dessus du formulaire */
  align-items: center; /* centre les inputs horizontalement */
  gap: 15px; /* espace entre chaque input */
}

.forum-contact input {
  width: 600px;
  padding: 12px; /* espace interne pour agrandir un peu */
  border: 1px solid #ccc; /* petite bordure grise */
  border-radius: 8px; /* coins arrondis */
  font-size: 16px;
}

.forum-contact textarea {
  width: 600px;

  height: 160px; /* même taille que tu voulais */
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  resize: none; /* optionnel : empêche de redimensionner */
}

.footer {
  background-color: #111; /* fond noir */
  color: #fff;
  padding: 40px 100px;
  text-align: left;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer h3,
.footer h4 {
  color: var(--primaryColor);
  margin-bottom: 15px;
}

.footer p,
.footer a {
  color: #ddd;
  font-size: 14px;
  text-decoration: none;
}

.footer a:hover {
  color: var(--primaryColor);
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer-socials img {
  width: 25px;
  margin-right: 10px;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: #aaa;
  border-top: 1px solid #333;
  padding-top: 15px;
}

.btn-soumettre {
  color: var(--lightColor);
  background-color: var(--primaryColor);
  text-decoration: none;
  font-weight: bold;
  padding: 0.81rem 1.87rem;
  border-radius: 30px;
  border: 3px solid transparent;
  transition: 0.4s;
  margin-right: 465px;
}

.btn-soumettre:hover {
  background-color: #000;
  border: 3px solid var(--primaryColor);
}

/* --- Footer logo + titre (image à gauche, titre + phrase à droite) --- */
.footer-about {
  /* garde le même comportement de la grille footer-container */
  display: flex;
  align-items: flex-start;
}

.logo-title {
  display: flex;
  align-items: center; /* aligne le haut du titre avec le haut du logo */
  gap: 20px; /* espace entre logo et bloc texte */
}

/* Logo — petite taille, fixe */
.footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0; /* n'autorise pas le logo à rétrécir */
  display: block;
  margin: 0; /* pas de marge autour pour éviter que la phrase descende sous l'image */
  top: px;
  margin-top: -60px;
}

/* Colonne qui contient le titre + la phrase (la phrase reste sous le titre seulement) */
.footer-about .title-desc {
  display: flex;
  flex-direction: column;
}

/* Titre */
.footer-about .title-desc h3 {
  margin: 0;
  color: var(--primaryColor);
  font-size: 18px;
  line-height: 1;
}

/* Phrase : bien sous le titre uniquement */
.footer-about .title-desc .footer-tagline {
  margin: 6px 0 0 0;
  color: #ddd;
  font-size: 14px;
  max-width: 320px; /* limite la largeur pour qu'elle reste lisible */
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 12px; /* espace entre les cercles */
}

.social-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  background-color: #fff;
  border-radius: 50%;
  overflow: hidden; /* sécurité si l’image dépasse */
}

.social-icons a img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block; /* supprime les espaces inline */
  margin: 0; /* pas de marge fantôme */
  padding: 0; /* pas de padding */
}
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px) scale(1.03); /* monte un peu et grossit légèrement */
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2); /* ombre plus prononcée */
}
/* === RESPONSIVE POUR TÉLÉPHONE (moins de 768px) === */
@media screen and (max-width: 768px) {
  /* --- En-tête / navigation --- */
  nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    position: relative;
  }

  nav h2 {
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  nav ul {
    display: none; /* caché par défaut sur téléphone */
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  nav ul.show {
    display: flex; /* affiché quand on clique sur le bouton menu */
  }

  nav ul li {
    margin: 10px 0;
  }

  /* --- Bouton menu (burger) --- */
  #menu-toggle {
    display: block;
    background-color: var(--primaryColor);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
  }

  /* --- Section accueil --- */
  .acceuil {
    height: auto;
    flex-direction: column;
    text-align: center;
    padding: 2rem 1rem;
  }

  .content {
    flex-direction: column;
    text-align: center;
    padding: 0;
  }

  .text h1 {
    font-size: 26px;
    margin: 20px 0;
  }

  .btn {
    padding: 10px 20px;
    font-size: 16px;
  }

  .image img {
    display: none; /* ⚠️ l'image du mockup est cachée sur téléphone */
  }

  /* --- Section Rejoignez --- */
  .rejoignez h2 {
    font-size: 35px;
  }

  .card-container {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
    height: auto;
  }

  /* --- Section Commandez --- */
  .commandez h2 {
    font-size: 35px;
  }

  .description-commendez {
    font-size: 22px;
    padding-left: 0;
    text-align: center;
  }

  .store-buttons {
    padding-left: 0;
    align-items: center;
    margin-top: 30px;
  }

  /* --- Section Contact --- */
  .contactez h2 {
    font-size: 35px;
  }

  .forum-contact input,
  .forum-contact textarea {
    width: 90%;
  }

  .btn-soumettre {
    margin: 0;
  }

  /* --- Footer --- */
  .footer {
    padding: 30px;
    text-align: center;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-about {
    justify-content: center;
  }

  .logo-title {
    flex-direction: column;
  }

  .footer-logo {
    margin-top: 0;
  }

  .footer h3,
  .footer h4 {
    font-size: 18px;
  }

  .footer p,
  .footer a {
    font-size: 13px;
  }
  nav li:first-child {
    margin-right: auto;
  }
  .sidebar {
    position: fixed;
    top: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: #fff;
    box-shadow: -10px 0 10px 0.1 rgba(red, green, blue, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }
}
/* --- Style du menu latéral --- */
.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 250px;
  background-color: #fff;
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 60px;
  z-index: 1000;
}

.sidebar li {
  width: 100%;
  padding: 15px 20px;
}

.sidebar a {
  width: 100%;
  text-decoration: none;
  color: #000;
  font-weight: 600;
}

/* Icône menu — cachée sur PC */
.menu-icon {
  width: 35px;
  height: 35px;
  cursor: pointer;
  display: none; /* cachée par défaut */
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 250px;
  background-color: #fff;
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 60px;
  z-index: 1000;
  text-align: left;
}

.sidebar li {
  padding: 15px 20px;
}

.sidebar a {
  color: #000;
  text-decoration: none;
  font-weight: 600;
}

/* --- Mode mobile --- */
@media screen and (max-width: 768px) {
  .main-menu {
    display: none; /* cache le menu normal */
  }

  .menu-icon {
    display: block; /* affiche le bouton menu */
    position: absolute;
    right: 20px; /* place l'icône à droite */
    top: 25px; /* ajuste verticalement */
  }

  nav {
    position: relative;
  }
}
