/* ===== RESET ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background: linear-gradient(to bottom, #fff1f5, #fce4ec);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== TOPBAR ===== */
.topbar {
  width: 100%;
  padding: 18px 40px;
  background: linear-gradient(to bottom, #c2185b, #f8bbd0);
  color: white;

  display: flex;
  align-items: center;
  justify-content: space-between;

  position: relative; /* <-- IMPORTANT */
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: bold;
  font-size: 22px;
}

.logo img {
  height: 50px;
}

/* TITRE CENTRÉ */
.title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 22px;
  font-weight: bold;
  color: white;
}

/* MENU DROIT */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0px;
}

.nav-right a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 5px 10px;
  transition: color 0.3s;
}

.nav-right a:hover {
  color: #c2185b;
}

/* ===== MAIN ===== */
.container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
}

.card {
  width: 90%;
  max-width: 700px;
  background: white;
  border-radius: 22px;
  padding: 40px;
  box-shadow: 0 18px 40px rgba(194, 24, 91, 0.25);
  text-align: center;
  position: relative;
}

.badge {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, #c2185b, #f8bbd0);
  color: white;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 26px;
  box-shadow: 0 8px 20px rgba(194, 24, 91, 0.25);
}

h1 {
  margin-top: 30px;
  margin-bottom: 20px;
  color: #c2185b;
}

.intro {
  font-size: 18px;
  margin-bottom: 18px;
  color: #333;
}

.text {
  font-size: 16px;
  color: #555;
  margin-bottom: 15px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(to right, #c2185b, #f8bbd0);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  margin-top: 20px;
  transition: transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(to bottom, #c2185b, #f8bbd0);
  color: white;
  padding: 15px 30px;
  font-weight: bold;
  margin-top: auto;
  display: flex; /* active Flexbox */
  justify-content: space-between; /* espace entre les éléments */
  align-items: center; /* aligne verticalement */
}

.footer p {
  margin: 0;
  text-align: center;
  flex-grow: 1; /* prend l’espace central */
}

.footer .lien-icone img {
  height: 50px; /* ajuste la taille des logos */
  width: auto;
}