html, body {
  height: 100%;
  font-family: "Segoe UI", sans-serif;
  margin: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  display: flex;
  flex-direction: column;
}


/* HEADER - DESKTOP */
header {
  height: 75px;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  background-color: #282961;
  color: #fff;
}

.logo {
  height: 35px;
  width: auto;
}

header h1 {
  font-size: 1.75rem; /* Titre plus grand pour desktop */
  font-weight: 500;
  margin: 0;
  margin-left: 20px;
  line-height: 1.25;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
}

/* MAIN avec iframe */
main {
  position: relative;
  flex-grow: 1;
  overflow: hidden;
}

#iframe-content {
  width: 100%;
  height: 100%;
  border: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

/* CTA CENTRÉ en bas de l'iframe */
.cta-container {
  position: absolute;
  top: 2.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.cta-button {
  background-color: #282961;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.25rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background-color 0.25s;
  font-weight: 450; /* pour un style clair et moderne */
}

.cta-button:hover {
  background-color: #4446a6; /* un peu plus sombre pour le hover */
}

/* FOOTER avec stats */
footer.stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  background-color: #282961;
  padding: 0.5rem;
  position: relative;
  z-index: 1;
  max-width: 100%;
}

.stat {
  text-align: center;
  margin: 0.25rem;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: regular;
  color: #fff;
}

.stat-label {
  font-size: 0.85rem;
  color: #8082e8;
}

/* Responsive / Mobile*/
@media (max-width: 600px) {
  header {
    flex-direction: row;
    align-items: flex-start;
    padding-top: 0.35rem;
	padding-left: 0.35rem;
    padding-bottom: 0.25rem;
    height: auto; /* Le header s’adapte en hauteur */
  }

header h1 {
  font-size: 1rem; /* Titre réduit sur mobile */
  font-weight: 500;
  margin: 0;
  margin-left: 5px;
  line-height: 1.25;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
}

  .logo {
    height: 35px;
  }
  
  .stat {
    width: 100%;
    margin: 0.1rem;
  }
  
  .stat-number {
  font-size: 1.25rem;
  }

 .cta-container {
  top: 1.75rem;
  }

  .cta-button {
    font-size: 0.8rem;
    padding: 0.65rem 1rem;
  }



}
