/* =========================================================
   Page L'Entreprise — Tany Mena
   Alternance contenu / image, couleurs brunes, chiffres clés
========================================================= */

/* ----- Hero ----- */
.tm-company-hero {
    position: relative;
    padding: 110px 0 90px;
    color: #e9e6df;
    background-size: cover;
    background-position: center;
    text-align: center;
    margin-bottom: 40px;
}

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

.tm-company-hero__title {
    font-family: var(--af-ff-gotham-extra-bold);
    color: #e9e6df;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 auto 18px;
    max-width: 900px;
    letter-spacing: 0.3px;
}

.tm-company-hero__lead {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255,255,255,0.88);
    max-width: 680px;
    margin: 0 auto;
}

/* ----- Sections alternance ----- */
.tm-company__eyebrow {
    font-family: var(--af-ff-gotham-extra-bold);
    color: #994217;
    letter-spacing: 2.5px;
    font-size: 11px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.tm-company__eyebrow--light {
    color: #e3d6c5;
}

.tm-company__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);
}

/* ----- Chiffres clés ----- */
.tm-company-stats {
    background: #e9e6df;
    padding: 60px 0;
    margin: 40px 0;
    border-top: 1px solid #e3d6c5;
    border-bottom: 1px solid #e3d6c5;
}

.tm-company-stats__title {
    text-align: center;
    font-family: var(--af-ff-gotham-extra-bold);
    color: var(--af-theme-primary);
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 36px;
}

.tm-company-stat {
    text-align: center;
    padding: 14px 8px;
}

.tm-company-stat__value {
    font-family: var(--af-ff-gotham-extra-bold);
    color: var(--af-theme-primary);
    font-size: 54px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -1px;
}

.tm-company-stat__unit {
    font-family: var(--af-ff-gotham-extra-bold);
    color: #994217;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.tm-company-stat__label {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(0,0,0,0.62);
    max-width: 180px;
    margin: 0 auto;
}

/* ----- Timeline histoire ----- */
.tm-timeline__step {
    padding: 40px 0;
    border-bottom: 1px solid #e3d6c5;
}

.tm-timeline__step:last-child {
    border-bottom: none;
}

.tm-timeline__year {
    display: inline-block;
    padding: 6px 16px;
    background: var(--af-theme-primary);
    color: #e9e6df;
    font-family: var(--af-ff-gotham-extra-bold);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 30px;
    margin-bottom: 16px;
}

.tm-timeline__year--today {
    background: #994217;
}

.tm-timeline__title {
    font-family: var(--af-ff-gotham-extra-bold);
    color: var(--af-theme-primary);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
}

.tm-timeline__text {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(0,0,0,0.72);
    margin: 0;
}

.tm-timeline__img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 8px;
    aspect-ratio: 4 / 3;
    box-shadow: 0 14px 32px rgba(96,45,3,0.12);
}

/* ----- Liste "science" ----- */
.tm-company-list {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
}

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

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

.tm-company-list__icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #d9e1d6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--af-theme-primary);
}

.tm-company-list__icon svg {
    width: 20px;
    height: 20px;
}

.tm-company-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-company-list__text {
    font-size: 13.5px;
    line-height: 1.55;
    color: rgba(0,0,0,0.72);
    margin: 0;
}

/* ----- Engagement (bandeau sombre) ----- */
.tm-company-engagement {
    position: relative;
    padding: 90px 0 100px;
    color: #e9e6df;
    background-size: cover;
    background-position: center;
    margin-top: 30px;
}

.tm-company-engagement__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.tm-company-engagement__title {
    font-family: var(--af-ff-gotham-extra-bold);
    color: #e9e6df;
    font-size: 34px;
    font-weight: 800;
    margin: 0 0 14px;
}

.tm-company-engagement__lead {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    margin: 0;
}

.tm-company-engagement__card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 8px;
    padding: 30px 24px;
    text-align: center;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    height: 100%;
    transition: all 250ms ease;
}

.tm-company-engagement__card:hover {
    background: rgba(255,255,255,0.13);
    transform: translateY(-4px);
}

.tm-company-engagement__card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin: 0 auto 14px;
}

.tm-company-engagement__card-icon svg {
    width: 24px;
    height: 24px;
}

.tm-company-engagement__card h3 {
    font-family: var(--af-ff-gotham-extra-bold);
    color: #e9e6df;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0 0 10px;
}

.tm-company-engagement__card p {
    font-size: 13.5px;
    line-height: 1.55;
    color: rgba(255,255,255,0.85);
    margin: 0;
}

/* ----- CTAs finaux ----- */
.tm-company-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
    .tm-company-hero {
        padding: 70px 0 60px;
    }
    .tm-company-hero__title {
        font-size: 26px;
    }
    .tm-company-stat__value {
        font-size: 40px;
    }
    .tm-timeline__title {
        font-size: 22px;
    }
    .tm-company-engagement__title {
        font-size: 26px;
    }
    .tm-company__img,
    .tm-timeline__img {
        aspect-ratio: 16 / 10;
        max-height: 320px;
    }
}
