/* =========================================================
   Page Devenir Revendeur — Devenir Revendeur
   Hero sombre, cards, listes, témoignage, étapes numérotées
========================================================= */

/* ----- Icônes SVG (charte ligne, currentColor) ----- */
.tm-icon {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

.tm-icon-inline {
    width: 1.05em;
    height: 1.05em;
    margin-right: 6px;
    margin-top: -2px;
}

/* ----- Hero ----- */
.tm-join-hero {
    position: relative;
    padding: 120px 0 100px;
    color: #fff;
    background-size: cover;
    background-position: center;
    text-align: center;
    margin-bottom: 40px;
}

.tm-join-hero__eyebrow {
    font-family: var(--af-ff-gotham-extra-bold);
    color: #c4826c;
    letter-spacing: 3px;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.tm-join-hero__title {
    font-family: var(--af-ff-gotham-extra-bold);
    color: #fff;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.18;
    margin: 0 auto 20px;
    max-width: 900px;
    letter-spacing: 0.5px;
}

.tm-join-hero__lead {
    font-size: 16.5px;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    max-width: 660px;
    margin: 0 auto 24px;
}

.tm-join-hero__meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 22px;
    color: rgba(255,255,255,0.82);
    font-size: 13px;
    letter-spacing: 0.4px;
    margin-bottom: 32px;
}

.tm-join-hero__meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 30px;
    background: rgba(255,255,255,0.04);
}

.tm-join-hero__meta .tm-icon {
    width: 14px;
    height: 14px;
    stroke-width: 2;
}

.tm-join-hero__ctas {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

/* ----- Eyebrow sections ----- */
.tm-join__eyebrow {
    font-family: var(--af-ff-gotham-extra-bold);
    color: #c4826c;
    letter-spacing: 2.5px;
    font-size: 11.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

/* ----- Image latérale ----- */
.tm-join__img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 8px;
    aspect-ratio: 4 / 3;
    box-shadow: 0 16px 38px rgba(96,45,3,0.13);
}

/* ----- Cards (Pourquoi / Accompagnement) ----- */
.tm-join-card {
    background: #fff;
    border: 1px solid #efeae3;
    border-radius: 10px;
    padding: 32px 26px;
    text-align: center;
    height: 100%;
    transition: transform 250ms ease, box-shadow 250ms ease;
    box-shadow: 0 6px 18px rgba(96,45,3,0.05);
}

.tm-join-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(96,45,3,0.10);
}

.tm-join-card__icon {
    font-size: 42px;
    margin-bottom: 16px;
    line-height: 1;
    color: #c4826c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tm-join-card__icon .tm-icon {
    stroke-width: 1.6;
}

.tm-join-card__title {
    font-family: var(--af-ff-gotham-extra-bold);
    color: var(--af-theme-primary);
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 12px;
}

.tm-join-card__text {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(0,0,0,0.7);
    margin: 0;
}

.tm-join-card--accent {
    background: #fbf8f4;
    border-color: #efe6d9;
}

/* ----- Liste icônes (In & Out / Équipement) ----- */
.tm-join-list {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
}

.tm-join-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid #e3dbc9;
}

.tm-join-list li:last-child {
    border-bottom: none;
}

.tm-join-list__icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e3dbc9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #c4826c;
}

.tm-join-list__icon .tm-icon {
    stroke-width: 1.8;
}

.tm-join-list__title {
    font-family: var(--af-ff-gotham-extra-bold);
    color: var(--af-theme-primary);
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 4px;
}

.tm-join-list__text {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(0,0,0,0.7);
    margin: 0;
}

/* ----- Accompagnement ----- */
.tm-join-support {
    background: #faf6f1;
}

.tm-join-support__motto {
    font-family: var(--af-ff-gotham-extra-bold);
    font-style: italic;
    color: #c4826c;
    font-size: 17px;
    margin: 12px auto 0;
    max-width: 560px;
}

/* ----- Mission / piliers ----- */
.tm-join-mission {
    background: linear-gradient(180deg, #fbf8f4 0%, #fff 100%);
}

.tm-join-pillar {
    background: #fff;
    border: 1px solid #efeae3;
    border-radius: 10px;
    padding: 24px 14px;
    text-align: center;
    height: 100%;
    transition: transform 250ms ease;
}

.tm-join-pillar:hover {
    transform: translateY(-3px);
}

.tm-join-pillar__icon {
    font-size: 34px;
    margin-bottom: 10px;
    color: #c4826c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.tm-join-pillar__icon .tm-icon {
    stroke-width: 1.6;
}

.tm-join-pillar__title {
    font-family: var(--af-ff-gotham-extra-bold);
    color: var(--af-theme-primary);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1.35;
}

/* ----- Témoignage Revendeur ----- */
.tm-join-testimonial {
    padding: 80px 0;
    background: #fbf8f4;
    border-top: 1px solid #efeae3;
    border-bottom: 1px solid #efeae3;
}

.tm-join-testimonial__figure {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    padding: 0 16px;
}

.tm-join-testimonial__avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 22px;
    display: block;
    border: 4px solid #fff;
    box-shadow: 0 10px 26px rgba(96,45,3,0.14);
}

.tm-join-testimonial__text {
    font-family: var(--af-ff-gotham-extra-bold);
    color: var(--af-theme-primary);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.5;
    font-style: italic;
    margin: 0 0 22px;
}

.tm-join-testimonial__author {
    font-size: 13px;
    color: rgba(0,0,0,0.7);
    line-height: 1.55;
}

.tm-join-testimonial__author strong {
    display: block;
    font-family: var(--af-ff-gotham-extra-bold);
    color: var(--af-theme-primary);
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.tm-join-testimonial__author span {
    color: #c4826c;
    font-size: 12.5px;
    letter-spacing: 0.4px;
}

/* ----- 3 étapes ----- */
.tm-join-steps {
    background: #fff;
}

.tm-join-step {
    background: #fbf8f4;
    border: 1px solid #efeae3;
    border-radius: 10px;
    padding: 36px 28px 30px;
    text-align: center;
    height: 100%;
    position: relative;
    transition: transform 250ms ease, box-shadow 250ms ease;
}

.tm-join-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(96,45,3,0.10);
}

.tm-join-step__num {
    font-family: var(--af-ff-gotham-extra-bold);
    color: #c4826c;
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -0.5px;
    line-height: 1;
    margin-bottom: 12px;
    opacity: 0.92;
}

.tm-join-step__title {
    font-family: var(--af-ff-gotham-extra-bold);
    color: var(--af-theme-primary);
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 12px;
}

.tm-join-step__text {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(0,0,0,0.7);
    margin: 0;
}

.tm-join-ctas {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 50px;
}

/* ----- Boutons : variante claire pour fond sombre (hero) ----- */
.tm-btn--light {
    color: #fff !important;
    border-color: rgba(255,255,255,0.5) !important;
    background: transparent;
}

.tm-btn--light:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff !important;
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
    .tm-join-hero {
        padding: 80px 0 70px;
    }
    .tm-join-hero__title {
        font-size: 30px;
    }
    .tm-join-hero__lead {
        font-size: 15px;
    }
    .tm-join-hero__meta {
        font-size: 12px;
        gap: 8px 12px;
    }
    .tm-join__img {
        aspect-ratio: 16 / 10;
        max-height: 320px;
    }
    .tm-join-testimonial {
        padding: 56px 0;
    }
    .tm-join-testimonial__text {
        font-size: 17px;
    }
    .tm-join-step {
        padding: 28px 20px 24px;
    }
    .tm-join-step__num {
        font-size: 32px;
    }
}
