.hero {
    position: relative;
    max-height: 32rem;
    overflow: hidden;

    img {
        filter: brightness(60%);
        width: 100%;
    }

    h1 {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

.green-container {
  background-color: #fcfffc;
  color: white;
  padding: 3rem 2rem;
  font-family: 'Rethink Sans', sans-serif;
  height: 37rem;
}

.soumission-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.soumission-intro {
  text-align: left;
  margin-bottom: 5rem;
}

.soumission-intro h2 {
  font-family: 'Red Rose', serif;
  font-size: 2.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #F3F3F3;
}

.soumission-intro h2 span {
  display: block;
  color: #D7D7D7;
}

.soumission-intro p {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 1000px;
}

.soumission-infos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6rem;
  text-align: center;
}

.info-box {
  max-width: 220px;
}

.info-box img {
  width: 75px;
  margin-bottom: 1rem;
}

.info-box h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.info-box p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/** carte **/
.carte-section {
  background-color: #f9f9f9;
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
}

.carte-section h2 {
  margin-top: 0rem !important;
  font-family: 'Red Rose';
  font-size: 2.2rem;
  color: white;
  padding: 1rem 2rem;
  margin-bottom: 0;
  background-color:#4A6349;
  text-transform: uppercase;
}

.carte-section iframe {
  margin-top: 0;    
  padding-top: 0;
  display: block;    
}

/** dot scetion **/
.timeline-constellation {
  background-color: #041A28;
  padding: 5rem 2rem;
  text-align: center;
  font-family: 'Rethink Sans', sans-serif;
  color: white;
}

.timeline-constellation h2 {
  font-size: 2.5rem;
  color: #DBB53A;
  font-family: 'Red Rose', serif;
  margin-bottom: 4rem;
}

.timeline-line {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 4rem;
  flex-wrap: wrap;
  position: relative;
  max-width: 1200px;
  margin: auto;
}

.timeline-item {
  flex: 1;
  max-width: 300px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.timeline-item.show {
  opacity: 1;
  transform: translateY(0);
}

.dot {
  width: 60px;
  height: 60px;
  background: #DBB53A;
  border-radius: 50%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #041A28;
  box-shadow: 0 0 10px #dbb53a88;
  margin-bottom: 1rem;
  transition: 0.4s ease;
}

.dot:hover {
  transform: scale(1.1);
}

.timeline-item h3 {
  font-family: 'Red Rose';
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  color: white;
}

.timeline-item p {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Line connector (optional) */
.timeline-line::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 10%;
  right: 10%;
  height: 4px;
  background-color: #DBB53A33;
  z-index: 0;
}

/* Responsive */
@media (max-width: 1200px) {
  .timeline-line {
    flex-direction: column;
    gap: 3rem;
    align-content: center!important;
    .timeline-item {
      width: 30rem!important;
    }
  }

  .timeline-line::before {
    display: none;
  }
}

/** faq and form **/
/* === FORM + FAQ WRAPPER === */
.form-faq-section {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  background-color: #041A28;
  color: white;
  padding: 2rem 3rem;
  justify-content: center;
  font-family: 'Rethink Sans', sans-serif;
  margin-bottom: 0;
}

/* === LEFT COLUMN: FORM === */
.form-container {
  flex: 1 1 500px;
  max-width: 600px;
}

.form-container h2 {
  font-family: 'Red Rose', serif;
  font-size: 2.4rem;
  color: #DBB53A;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.form-container .subtitle {
  color: #ccc;
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* === FORM BOX === */
.form-container form {
  background-color: #041A28;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 550px;
  margin: 0 auto;
}

/* === FORM FIELDS === */
.form-container input,
.form-container textarea {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  font-family: 'Rethink Sans', sans-serif;
  background-color: white;
  margin-bottom: 1rem;
  color: black;
  outline: none;
  transition: box-shadow 0.2s ease;
}

.form-container input:focus,
.form-container textarea:focus {
  box-shadow: 0 0 0 2px #DBB53A80;
}

.form-container textarea {
  resize: vertical;
  min-height: 130px;
}

/* SUBMIT BUTTON */
.form-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
  margin-left: 1.8rem;
}

.form-container button {
  background-color: #DBB53A;
  color: white;
  font-size: 1.1rem;
  padding: 0.8rem 1.2rem;
  border: none;
  font-size: 1.3rem;
  border-radius: 6px;
  text-transform: uppercase;
  font-family: 'Red Rose';
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 45%;
  max-width: 220px;
}

.form-container button:hover {
  background-color: #b9972f;
}

/* === RIGHT COLUMN: FAQ === */
.faq-container {
  flex: 1 1 350px;
  margin-top: 100px;
  max-width: 500px;
  max-height: 550px;
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 2rem;
  color: #041A28;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.faq-container h3 {
  font-family: 'Red Rose', serif;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: left;
  color: #041A28;
}

/* === FAQ ACCORDION === */
.faq details {
  margin-bottom: 1.2rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.6rem;
}

.faq summary {
  cursor: pointer;
  font-weight: bold;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #041A28;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-weight: bold;
  color: #DBB53A;
  font-size: 1.4rem;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.faq[open] summary::after {
  content: "–";
}

.faq p {
  margin: 0.6rem 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #444;
}

/* === MOBILE RESPONSIVE === */
@media (max-width: 768px) {

  html, body {
    overflow-x: hidden;
  }

  * {
    box-sizing: border-box;
  }

  /* ==== GLOBAL SECTION PADDING ==== */
  .form-faq-section {
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    width: 100%;
    margin: 0 auto;
  }

  /* ==== FORM ==== */
  .form-container {
    width: 100%;
    max-width: 500px;
  }

  .form-container h2 {
    font-size: 1.8rem;
    text-align: center;
  }

  .form-container .subtitle {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .form-container form {
    background-color: #041A28;
    padding: 1.5rem 1rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .form-container input,
  .form-container textarea {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    background-color: white;
    color: black;
    outline: none;
  }

  .form-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    margin-left: 0;
    margin-top: 1rem;
  }

  .form-container button {
    width: 90%;
    max-width: 400px;
    text-align: center;
  }

  /* ==== FAQ ==== */
  .faq-container {
    width: 100%;
    max-width: 500px;
    margin-top: 2rem;
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 1.5rem;
    color: #041A28;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  }

  .faq-container h3 {
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 1rem;
  }

  .faq details {
    margin-bottom: 1rem;
    border-bottom: 1px solid #ccc;
    padding-bottom: 0.5rem;
  }

  .faq summary {
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .faq summary::after {
    font-size: 1.2rem;
  }

  .faq p {
    font-size: 0.95rem;
  }

  .form-faq-section + * {
    margin-top: 0;
  }
}

/** images **/
.full-width-image {
  width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.full-width-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  height: 340px;
}

/**MEDIA**/
@media screen and (max-width: 1200px) {

  /* GREEN CONTAINER (SOU MISSION) */
  .green-container {
    height: auto;
    padding: 2rem 1rem;
    text-align: center;
  }

  .soumission-intro {
    margin-bottom: 2rem;
  }

  .soumission-intro h2 {
    font-size: 2rem;
  }

  .soumission-intro p {
    font-size: 1rem;
  }

  .soumission-infos {
    flex-direction: column;
    gap: 2rem;
  }

  .info-box {
    max-width: 100%;
  }

  .info-box img {
    width: 60px;
  }

  /* TIMELINE CONSTELLATION */
  .timeline-constellation {
    padding: 3rem 1rem;
  }

  .timeline-constellation h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .timeline-line {
    flex-direction: column;
    gap: 2rem;
  }

  .timeline-item {
    max-width: 100%;
  }

  .dot {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  /* CARTE SECTION */
  .carte-section h2 {
    font-size: 1.6rem;
    padding: 0.8rem 1rem;
    margin-top: 0rem!important;
  }

  .carte-section iframe {
    width: 100%;
    height: 300px;
  }

  /* FORM & FAQ */

  .form-faq-section{
    gap: 5rem !important;
  }
  .form-container h2 {
    font-size: 1.8rem;
    text-align: center;
  }

  .form-container .subtitle {
    text-align: center;
  }

  .faq-container h3 {
    font-size: 1.6rem;
  }
}