/* Police globale */
html,
body {
  font-family: "Roboto", sans-serif;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  text-align: center;
}

.page-header {
  text-align: center;
}

.logo-small {
  max-width: 150px; /* Taille réduite par rapport à l'accueil */
  height: auto;
  opacity: 0;
  transform: scale(0.9);
  animation: fadeInZoom 1s ease forwards;
}

.btn-primary {
  display: block;
  background: #000;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  padding: 14px 28px;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  width: max-content;
  margin: 20px auto;
}

.btn-primary:hover {
  background: #333;
  transform: scale(1.05);
}

/* Index */
.subscribe-container {
  margin-top: 20px;
  text-align: center;
}

/* Animation bouton */
.fade-in-btn {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.3s; /* Légère attente pour effet élégant */
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation logo */
.fade-in-logo {
  opacity: 0;
  transform: scale(0.9);
  animation: fadeInZoom 1s ease forwards;
}

@keyframes fadeInZoom {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Logo */
.logo {
  max-width: 90%;
  height: auto;
}

/* Conteneur principal */
.container {
  flex: 1; /* prend tout l'espace disponible avant le footer */
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  line-height: 1.6;
  font-size: 16px;
}

/* Titres */
.container h1 {
  font-size: 28px;
  margin-bottom: 20px;
}
.container h2 {
  font-size: 20px;
  margin-top: 25px;
  margin-bottom: 10px;
}

/* Animation */
.fade-in {
  opacity: 0;
  transform: translateY(15px);
  animation: fadeIn 1s ease forwards;
}
@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* NewsLetter */
.newsletter-form {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin-top: 20px;
}
.newsletter-form label {
  margin-bottom: 5px;
  font-weight: 500;
}
.newsletter-form input {
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.newsletter-form button {
  background-color: #000;
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.newsletter-form button:hover {
  background-color: #333;
}

/* Footer */
footer {
  background-color: #000000;
  color: #ffffff;
  text-align: center;
  padding: 15px 0;
  font-size: 14px;
}

footer p {
  margin: 0;
  margin-bottom: 8px;
}

footer nav {
  display: flex;
  justify-content: center;
  gap: 20px;
}

footer nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

footer nav a:hover {
  color: #cccccc;
}

/* CAPTCHA */
.g-recaptcha {
  margin-bottom: 15px;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: #fff;
  padding: 30px 40px;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  animation: fadeInScale 0.5s ease;
}

.modal-content h2 {
  margin-bottom: 10px;
  font-size: 24px;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
