/* --- HOW IT WORKS CONTENT STYLES --- */

.how-it-works-wrapper {
  padding: 80px 0 100px 0;
  background-color: var(--Contexte);
}

.how-layout-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr; /* Structure asymétrique moderne équilibrée */
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

/* Colonne Gauche : Typographie et Textes */
.how-text-column {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.how-text-column .headings-h1 {
  font-family: var(--font-family-poppins);
  font-weight: 700;
  font-size: 56px;
  line-height: 1.15;
  color: var(--Texte);
  text-transform: uppercase;
}

.how-description-box .body-body {
  font-family: var(--font-family-inter);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: var(--Texte);
  text-align: left; /* Aligné à gauche pour une lecture fluide des paragraphes longs */
}

/* Colonne Droite : Conteneur d'image avec les arrondis Figma */
.how-image-column {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-frame {
  width: 100%;
  max-width: 480px;
  border-radius: 50px; /* Reprise de l'arrondi présent dans votre export figma */
  overflow: hidden;
  box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.04);
}

.euno-process-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* --- BOTTOM CTA CARD SECTION --- */

.how-cta-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.how-cta-box {
  width: 100%;
  background-color: var(--accent-light); /* Fond doux neutre de la charte */
  border-radius: 32px;
  padding: 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.how-cta-box .headings-h3 {
  font-family: var(--font-family-poppins);
  font-weight: 700;
  font-size: 28px;
  color: var(--Texte);
}

.how-actions-row {
  width: 100%;
  display: flex;
  justify-content: center;
}

.how-action-btn {
  padding: 16px 40px;
  font-size: 16px;
  border-radius: 15px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  background-color: var(--Primaire);
  color: var(--Accent);
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.how-action-btn:hover {
  background-color: rgba(102, 51, 6, 0.9);
}

.how-action-btn:active {
  transform: scale(0.98);
}

/* --- RESPONSIVE ADAPTATION --- */

@media (max-width: 992px) {
  .how-layout-container {
    grid-template-columns: 1fr; /* Passage sur une seule colonne pour tablettes et mobiles */
    gap: 40px;
    margin-bottom: 60px;
  }

  .how-text-column {
    gap: 24px;
  }

  .how-text-column .headings-h1 {
    font-size: 42px;
  }

  .image-frame {
    max-width: 100%;
    border-radius: 32px;
  }
}

@media (max-width: 576px) {
  .how-it-works-wrapper {
    padding: 40px 0 60px 0;
  }

  .how-text-column .headings-h1 {
    font-size: 32px;
  }

  .how-cta-box {
    padding: 32px 20px;
    border-radius: 24px;
  }

  .how-cta-box .headings-h3 {
    font-size: 22px;
  }

  .how-action-btn {
    width: 100%;
    text-align: center;
    padding: 14px 24px;
  }
}