/* =========================
   FICHIER : style.css
   ========================= */

@font-face {
  font-family: "PetitaLight";
  src: url("fonts/PetitaLight.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PetitaBold";
  src: url("fonts/PetitaBold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "PetitaBold", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: #f7f7f9;
  color: #111;
}

.container {
  display: flex;
  min-height: 100vh;
}

.image-section {
  flex: 1;
  display: flex;
  align-items: center; /* centrage vertical */
  justify-content: center;
  background: #5fa38b; /* bande verte sur toute la hauteur */
  padding: 2rem;
  min-height: 100vh; /* s'étend jusqu'en bas de l'écran */
}

.image-section img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 20px;
  border: 2px solid #ffa336;
}

.content-section {
  flex: 1;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.1;
}

p {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 500px;
  color: #444;
  text-align:justify;
}

.burger {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 30px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1002;
}

.burger span {
  height: 3px;
  background: #111;
  border-radius: 2px;
}

.side-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background: #111;
  color: #fff;
  padding: 4rem 2rem;
  transition: right 0.3s ease;
  z-index: 1001;
}

.side-menu.active {
  right: 0;
}

.side-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.side-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 1.4rem;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}


.footer {
position: absolute;
bottom: 1.5rem;
right: 4rem;
display: flex;
gap: 2rem;
font-size: 0.85rem;
color: #777;
}


.footer a {
color: inherit;
font-size: 1.1rem;
text-decoration: none;
}

.footer a:hover {
text-decoration: underline;
}


@media (max-width: 900px) {
  .container {
    flex-direction: column;
  }

  .image-section {
    height: 40vh;
    padding: 0;
    background: transparent;
  }

  .image-section img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: none;
    object-fit: cover;
  }

  .content-section {
    padding: 2rem;
  }

  h1 {
    font-size: 2.2rem;
  }
}

  .image-section {
    height: 40vh;
  }

  .content-section {
    padding: 2rem;
  }

  h1 {
    font-size: 2.2rem;
  }

  /* =========================
   AJOUTS CSS (style.css)
   ========================= */

.page-header {
  padding: 6rem 2rem 3rem;
  max-width: 900px;
  margin: auto;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.1rem;
  color: #555;
}

.programme {
  max-width: 900px;
  margin: auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.theme-card {
  border-radius: 16px;
  border: 2px solid #ffa336;
  background: #fff;
  overflow: hidden;
}

.theme-header {
  width: 100%;
  padding: 1.2rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  background: #5fa38b;
  color: #fff;
  border: none;
  text-align: left;
  cursor: pointer;
}

.theme-content {
  list-style: none;
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.theme-content li {
  padding: 0.8rem 0;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
}

.theme-card.open .theme-content {
  max-height: 600px;
  padding-bottom: 1rem;
}

@media (max-width: 900px) {
  .page-header h1 {
    font-size: 2.2rem;
  }

  .programme {
    padding: 1.5rem 1rem 4rem;
  }
}
/* =========================
   AJOUTS CSS (style.css)
   ========================= */

.contact-container {
  max-width: 700px;
  margin: auto;
  padding: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  border: 2px solid #ffa336;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  padding: 0.8rem 1rem;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-family: inherit;
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #5fa38b;
}

.btn-primary {
  padding: 1rem;
  background: #5fa38b;
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-primary:hover {
  background: #4a8c76;
}

@media (max-width: 900px) {
  .contact-container {
    padding: 1.5rem 1rem 3rem;
  }
}


/* =========================
   AJOUTS CSS (style.css)
   ========================= */

.text-page {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 6rem 2rem 4rem;
}

.text-container {
  max-width: 900px;
  width: 100%;
}

.text-container h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #5fa38b;
}

.text-container h2 {
  font-size: 1.8rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.text-container p {
  margin-bottom: 1.2rem;
  line-height: 1.6;
  font-size: 1rem;
}

.text-container ul {
  margin: 1rem 0 1.5rem 1.2rem;
}

.text-container li {
  margin-bottom: 0.6rem;
}

@media (max-width: 900px) {
  .text-container h1 {
    font-size: 2.2rem;
  }
}