/* =========================================================================
   style_financement-participatif-crowdfunding.css
   Styles dédiés à la page financement-participatif-crowdfunding.php
========================================================================= */

/* ----- SECTION 1 : Hero (Crowdfunding) ----- */
.hero-section {
    position: relative;
    background-size: cover;
    background-image: url('https://www.ecomelio.fr/images/batiments_corporates.jpg');
    background-position: center;
    padding: 100px 20px;
    text-align: center;
    color: #ffffff; /* Couleur principale du texte */
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: clamp(0.875rem, 0.38vw + 0.8rem, 1.125rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    font-family: 'Futura PT', system-ui, 'Helvetica Neue', sans-serif;
    line-height: 1.24;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(3.5rem, 2.63vw + 2.99rem, 5.25rem);
    font-weight: 400;
    letter-spacing: 0.01em;
    font-family: 'Tiempos Headline', 'Lucida', Georgia, serif;
    line-height: 1.08;
    margin-bottom: 20px;
}

.hero-description {
    font-size: clamp(1.125rem, 0.56vw + 1.02rem, 1.5rem);
    font-weight: 400;
    letter-spacing: -0.005em;
    font-family: 'Futura PT', system-ui, 'Helvetica Neue', sans-serif;
    line-height: 1.24;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #111111;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.3s, transform 0.3s;
    margin-bottom: 30px;
}

.cta-button:hover {
    background-color: #333;
}

/* ----- SECTION 2 : Hero-Section-2 (Définition Crowdfunding) ----- */
.hero-section-2 {
    padding: 80px 20px;
    position: relative;
    z-index: 8;
}

.hero-section-2 .section-content {
  max-width: 1200px;         /* largeur max du contenu */
  width: 100%;
  margin: 0 auto;            /* centre horizontalement */
  padding-left: clamp(16px, 5vw, 40px);
  padding-right: clamp(16px, 5vw, 40px);
  /* on garde tes règles existantes */
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.hero-section-2 .text-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
    margin-bottom: 20px;
}

.hero-section-2 .title {
    font-family: 'Tiempos Headline', 'Lucida', Georgia, serif;
    margin-bottom: 20px;
    font-size: clamp(2rem, 1.69rem + 2vw, 3rem);
    font-weight: 500;
    line-height: 1.2;
}

.hero-section-2 .subtitle {
    font-size: clamp(1.125rem, 1.02rem + 0.56vw, 1.5rem);
    font-weight: 400;
    letter-spacing: -0.005em;
    font-family: 'Futura PT', system-ui, 'Helvetica Neue', sans-serif;
    line-height: 1.24;
    margin-bottom: 30px;
}

.hero-section-2 .media-content {
    flex: 1;
    max-width: 600px;
    text-align: center;
}

.hero-section-2 .background-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
}

/* ----- SECTION 3 : Hero-Section-3 (Avantages Crowdfunding) ----- */
.hero-section-3 {
    padding: 100px 20px;
}

.hero-section-3 .section-content {
  max-width: 1200px;         /* largeur max du contenu */
  width: 100%;
  margin: 0 auto;            /* centre horizontalement */
  padding-left: clamp(16px, 5vw, 40px);
  padding-right: clamp(16px, 5vw, 40px);
  /* on garde tes règles existantes */
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.hero-section-3 .media-content {
    flex: 1;
    max-width: 600px;
    text-align: center;
}

.hero-section-3 .background-image {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
}

.hero-section-3 .text-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

.hero-section-3 .title {
    font-family: 'Tiempos Headline', 'Lucida', Georgia, serif;
    margin-bottom: 20px;
    font-size: clamp(2rem, 1.69rem + 2vw, 3rem);
    font-weight: 500;
    line-height: 1.2;
}

.hero-section-3 .subtitle {
    font-size: clamp(1.125rem, 1.02rem + 0.56vw, 1.5rem);
    font-weight: 400;
    letter-spacing: -0.005em;
    font-family: 'Futura PT', system-ui, 'Helvetica Neue', sans-serif;
    line-height: 1.24;
    margin-bottom: 30px;
}

/* ----- Key Points (avantages en colonnes) ----- */
.key-points {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 60px;
    padding: 0 20px;
    border-top: 1px solid #e1e1e1;
    border-bottom: 1px solid #e1e1e1;
}

.key-point {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    flex: 1;
    max-width: 300px;
    padding: 20px;
}

.key-point h2 {
    font-size: clamp(1.5rem, 1.39rem + 0.56vw, 1.875rem);
    font-weight: 500;
    letter-spacing: -0.0075em;
    font-family: 'Futura PT', system-ui, 'Helvetica Neue', sans-serif;
    line-height: 1.24;
    margin-bottom: 10px;
}

.key-point p {
    font-size: clamp(1.125rem, 1.02rem + 0.56vw, 1.5rem);
    font-weight: 400;
    letter-spacing: -0.005em;
    font-family: 'Futura PT', system-ui, 'Helvetica Neue', sans-serif;
    line-height: 1.5;
}

/* ----- SECTION Étapes EcoMelio ----- */
.steps-section {
    background-color: #f8f8f8;
    padding: 100px 20px;
}

.container-steps {
    max-width: 1200px;
    margin: 0 auto;
}

.steps-title {
    font-family: 'Tiempos Headline', 'Lucida', Georgia, serif;
    font-size: clamp(2.25rem, 1.5rem + 2.5vw, 3.25rem);
    font-weight: 500;
    text-align: center;
    margin-bottom: 80px;
}

.steps-wrapper {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.step-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.step-item:nth-child(even) {
    flex-direction: row-reverse;
}

.step-media {
    flex: 1 1 400px;
    max-width: 500px;
    text-align: center;
}

.step-media img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.step-content {
    flex: 1 1 400px;
    max-width: 600px;
}

.step-number {
    font-family: 'Futura PT', system-ui, 'Helvetica Neue', sans-serif; /* même police que « Réglementation et Transparence » */
    font-size: clamp(0.875rem, 0.38vw + 0.8rem, 1.125rem);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #BAA883; 
}

.step-heading {
    font-family:'Futura PT',system-ui,'Helvetica Neue',sans-serif;
    font-size: clamp(1.75rem, 1.31rem + 1.75vw, 2.5rem);
    font-weight: 500;
    letter-spacing: -0.0075em;
    margin-bottom: 15px;
}

.step-text {
    font-family: 'Futura PT', system-ui, 'Helvetica Neue', sans-serif;
    font-size: clamp(1.125rem, 1.02rem + 0.56vw, 1.5rem);
    line-height: 1.5;
    font-weight: 400;
}

/* ----- SECTION 3 : section-securite (Réglementation) ----- */
.section-securite {
    position: relative;
    padding: 100px 20px;
}

.section-securite .section-content {
  max-width: 1200px;         /* largeur max du contenu */
  width: 100%;
  margin: 0 auto;            /* centre horizontalement */
  padding-left: clamp(16px, 5vw, 40px);
  padding-right: clamp(16px, 5vw, 40px);
  /* on garde tes règles existantes */
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.section-securite .media-content {
    flex: 1;
    max-width: 600px;
    text-align: center;
}

.section-securite .background-image {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    object-fit: cover;
}

.section-securite .text-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

.section-securite .hero-subtitle {
    font-size: clamp(0.875rem, 0.38vw + 0.8rem, 1.125rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    font-family: 'Futura PT', system-ui, 'Helvetica Neue', sans-serif;
    line-height: 1.24;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-securite .title {
    font-family: 'Tiempos Headline', 'Lucida', Georgia, serif;
    margin-bottom: 20px;
    font-size: clamp(2.5rem, 1.69rem + 4.14vw, 3.5rem);
    font-weight: 500;
    letter-spacing: -0.0075em;
    line-height: 1.16;
}

.section-securite .subtitle {
    font-size: clamp(1.125rem, 1.02rem + 0.56vw, 1.5rem);
    font-weight: 400;
    letter-spacing: -0.005em;
    font-family: 'Futura PT', system-ui, 'Helvetica Neue', sans-serif;
    line-height: 1.24;
    margin-bottom: 30px;
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
    .hero-section-2 .section-content,
    .hero-section-3 .section-content,
    .section-securite .section-content {
        flex-direction: column;
        padding: 20px;
    }

    .hero-section-2 .text-content,
    .hero-section-3 .text-content,
    .section-securite .text-content {
        text-align: center;
    }

    .hero-section-2 .media-content,
    .hero-section-3 .media-content,
    .section-securite .media-content {
        order: 2;
        margin-top: 20px;
    }

    .key-points {
        flex-direction: column;
        border-top: none;
        border-bottom: none;
        align-items: center;
    }
    .key-point {
        border-bottom: 1px solid #e1e1e1;
    }
    .key-point:last-child {
        border-bottom: none;
    }

    /* Étapes EcoMelio mobile */
    .step-item {
        flex-direction: column;
        text-align: center;
    }
    .step-item:nth-child(even) {
        flex-direction: column;
    }
    .step-media,
    .step-content {
        max-width: 100%;
    }
    .steps-wrapper {
        gap: 60px ;
    }

    .step-media, .step-content, .step-item{ 
        margin-bottom: 0px;
        padding-bottom: 0px;
        flex: 1 1;
    }

    .steps-wrapper .step-item { 
        margin-bottom: 0px;
        padding-bottom: 0px;
    }
}
