/* =========================================================
   VARIABLES
========================================================= */
:root {
  --color-text: #1a1b20;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-green: #02d794;
  --color-green-light: #6ee7b7;
  --color-bg-light: #f3f3f3;
  --color-dark-purple: #160042;
  --color-bg-footer: #e6e6e6;

  --font-base: Arial, Helvetica, sans-serif;

  --container-width: 1200px;
  --transition: 0.3s ease;
}

/* =========================================================
   RESET
========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================
   BUTTONS
========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 12px;
  height: 44px;
  padding: 0 30px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: transform var(--transition), opacity var(--transition);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.btn--dark {
  background-color: var(--color-black);
  color: var(--color-white);
}

.btn--contact {
  background-color: var(--color-black);
  color: var(--color-white);
  height: 42px;
  padding: 0 25px;
  font-size: 12px;
  font-weight: 400;
  border-radius: 20px;
}

.btn--green {
  background-color: var(--color-green);
  color: var(--color-white);
}

.btn--circle {
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 90px;
  background-color: var(--color-black);
}

.btn--circle img {
  width: 20px;
  height: 20px;
}

.btn--purple {
  background-color: var(--color-dark-purple);
  color: var(--color-white);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-text);
  border: 1px solid #d8d8dc;
}

.btn--full {
  width: 100%;
  height: 52px;
  border-radius: 30px;
}

/* =========================================================
   HEADER
========================================================= */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background-color: transparent;
  padding: 16px 0;
  z-index: 1000;
}

.header--transparent {
  position: absolute;
  background-color: transparent;
  box-shadow: none;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header__logo img {
  height: 64px;
  width: auto;
}

/* Nav */
.nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  color: var(--color-text);
  transition: color var(--transition);
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-green);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 100%;
  height: 4px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

.nav__toggle span:nth-child(2) {
  width: 70%;
}

.nav__toggle span:nth-child(3) {
  width: 45%;
}

.nav__toggle.is-active span:nth-child(1) {
  width: 100%;
  transform: translateY(9px) rotate(45deg);
}

.nav__toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.is-active span:nth-child(3) {
  width: 100%;
  transform: translateY(-9px) rotate(-45deg);
}

/* =========================================================
   FOOTER
========================================================= */
.footer {
  background-color: var(--color-bg-footer);
  padding: 60px 0 24px;
}

.footer__container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 24px;
}

.lesliens {
  display: flex;
  justify-content: space-between;
  gap: 80px;
}

.footer__logo {
  height: 65px;
}

.footer__heading {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer__col ul li {
  margin-bottom: 10px;
  font-size: 14px;
  color: #4a4b52;
}

.footer__col ul li a:hover {
  color: var(--color-green);
}

.footer__socials {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer__socials img {
  width: 20px;
  height: 20px;
}

.footer__bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
  font-size: 14px;
  color: #8a8b92;
}

.footer__bottom p {
  margin-bottom: 4px;
}

/* =========================================================
   FAQ (composant partagé)
========================================================= */
.faq {
  padding: 0 0 80px;
}

.faq__wrapper {
  border: 1px solid #ececef;
  border-radius: 12px;
  padding: 10px 24px;
}

.faq__item {
  border-bottom: 1px solid #ececef;
}

.faq__item:last-child {
  border-bottom: none;
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 0;
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-green);
  text-align: left;
}

.faq__icon {
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq__item.is-open .faq__icon {
  transform: rotate(180deg);
}

.faq__answer {
  overflow: hidden;
  height: 0;
}

.faq__answer p {
  font-size: 14px;
  color: #2f2f30;
  line-height: 1.7;
  padding-bottom: 20px;
}

/* =========================================================
   CONTACT (composant partagé)
========================================================= */
.contact {
  padding: 0 0 100px;
  text-align: center;
}

.contact__container {
  max-width: 700px;
}

.contact__eyebrow {
  color: var(--color-green);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.contact__title {
  font-size: 40px;
  font-weight: 100;
  color: var(--color-dark-purple);
  margin-bottom: 16px;
}

.contact__subtitle {
  font-size: 16px;
  color: #2f2f30;
  margin-bottom: 40px;
  line-height: 1.7;
}

.contact__form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__group label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-text);
}

.form__group input,
.form__group textarea {
  font-family: var(--font-base);
  font-size: 14px;
  padding: 14px 16px;
  border: 1px solid #ececef;
  border-radius: 8px;
  outline: none;
  transition: border-color var(--transition);
  resize: vertical;
}

.form__group input:focus,
.form__group textarea:focus {
  border-color: var(--color-green);
}

.nav__item--contact {
  display: none;
}

/* =========================================================
   RESPONSIVE (header / footer)
========================================================= */

@media (max-width: 992px) {
  .header__cta {
    display: none;
  }

  .nav__item--contact {
    display: block;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--color-white);
    padding: 24px;
    gap: 20px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav__list::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("../assets/images/bg_img.png");
    background-repeat: repeat-y;
    background-size: 100% 50%;
    opacity: 0.9;
    z-index: 0;
  }

  .nav__list .nav__link {
    color: var(--color-text) !important;
  }

  .nav__list li {
    position: relative;
    z-index: 1;
  }

  .nav__list.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
}

@media (min-width: 769px) and (max-width: 992px) {
  .nav__list {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 20px 24px;
    border-radius: 0;
    box-shadow: none;
  }

  .nav__list::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .contact__title {
    font-size: 32px;
  }

  .lesliens {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .footer__col ul li {
    text-align: center;
  }

  .footer__socials {
    justify-content: center;
  }

  .footer__container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
  }

  .lesliens {
    gap: 40px;
  }

  .footer__bottom {
    padding-left: 24px;
    padding-right: 24px;
  }
}