@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans&display=swap');

/* RESET GÉNÉRAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fdfbf7;
  color: #3a2f2a;
}


/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #3a2f2a;
  color: white;
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
  font-size: 1.6rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  font-size: 1rem;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger .line {
  width: 25px;
  height: 3px;
  background-color: white;
}





/* Pour que le contenu principal ne soit pas caché sous la navbar */
main {
  padding-top: 80px;
  color: #3a2f2a;
}

/* ===== Bloc Hero ===== */
.academie {
  position: relative;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('https://formaliacademie.fr/images/formaliAcademie.PNG') center/cover no-repeat;
  height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 1.5rem 4rem;
  color: white;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  box-sizing: border-box;
}

.academie h1 {
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 0.5rem;
  line-height: 1.1;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
  padding-top: 150px;
}

.academie p {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin: 0 0 2rem;
  max-width: 520px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.academie .btn {
  font-family: 'Montserrat', sans-serif;
  background-color: #1e90ff;
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 2.25rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(30, 144, 255, 0.4);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
}

.academie .btn:hover,
.academie .btn:focus {
  background-color: #1c86ee;
  box-shadow: 0 6px 16px rgba(28, 134, 238, 0.6);
  outline: none;
  cursor: pointer;
}

@media (max-width: 600px) {
  .academie {
    padding-bottom: 2rem;
  }
  .academie p {
    max-width: 90%;
  }
  .academie .btn {
    padding: 0.65rem 1.8rem;
    font-size: 1rem;
  }
}


/* Grille des modules */


/* ====== Module Grid ====== */
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ====== Card ====== */
.card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* ====== Card Header ====== */
.card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  padding: 1rem;
  margin: 0;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card h3 a {
  text-decoration: none;
  color: inherit;
}

.card h3 .price {
  font-size: 1rem;
  font-weight: bold;
  color: #1e90ff;
}

/* ====== Image ====== */
.card img {
  width: 100%;
  height: auto;
  display: block;
}

/* ====== Description ====== */
.card p {
  padding: 0 1rem 1rem;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

.card p a {
  font-size: 0.9rem;
  color: #1e90ff;
  text-decoration: none;
}

.card p a:hover {
  text-decoration: underline;
}

/* ====== Button ====== */
.pay-button {
  background-color: #ff7f50;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  padding: 0.75rem 1.5rem;
  margin: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.pay-button:hover {
  background-color: #e76b3c;
}

/* ====== Training Info ====== */
.training-info {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 1rem;
  background: #fafafa;
  border-radius: 8px;
  line-height: 1.6;
}

.training-info h3 {
  font-size: 1.5rem;
  color: #1e90ff;
  margin-bottom: 1rem;
}

/* Responsive text alignment */
@media (max-width: 768px) {
  .training-info {
    text-align: center;
  }
}




/* LES INFOS SUPPLEMENTAIRES DES FORMATIONS (INDEX) */


.page-wrapper {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #3a2f2a;
}

.info-section {
  margin-bottom: 3rem;
}

.info-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #1e90ff;
  font-weight: 700;
}

.info-block {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1rem;
}

.info-icon {
  font-size: 1.5rem;
  color: #ff7f50;
  min-width: 30px;
  margin-top: 3px;
}

.info-text {
  flex: 1;
  font-size: 1rem;
  line-height: 1.4;
}

.info-text strong {
  color: #1e90ff;
}




/* FORMULAIRES */
/* ====== FORMULAIRE INSCRIPTION ====== */
