/* ---------------------------------------------------
   Tany Mena - Homepage sections
   Respecte la charte : #602D03 (primary), #C5A086, #735A57,
   #f6f7f6 (bg vert clair), police Gotham/Montserrat
--------------------------------------------------- */

.tm-section {
    padding: 80px 0;
}

.tm-section--tight {
    padding: 60px 0;
}

.tm-title {
    font-family: var(--af-ff-gotham-extra-bold);
    color: var(--af-theme-primary);
    font-weight: 800;
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 24px;
}

.tm-title--lg {
    font-size: 44px;
}

.tm-subtitle {
    font-family: var(--af-ff-gotham-extra-bold);
    color: var(--af-theme-primary);
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 18px;
}

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

/* ----- HERO ----- */
.tm-hero {
    padding: 100px 0 80px;
    background-color: #fff;
}

.tm-hero__brand {
    font-family: var(--af-ff-gotham-extra-bold);
    letter-spacing: 6px;
    font-size: 13px;
    color: var(--af-theme-primary);
    margin-bottom: 30px;
    text-transform: uppercase;
}

.tm-hero__image {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 14px 40px rgba(96,45,3,0.15);
}

/* ----- Splide Explorez l'Univers ----- */
#tm-explorez-splide {
    padding: 0 60px;
}

#tm-explorez-splide .splide__list {
    align-items: stretch;
}

#tm-explorez-splide .splide__slide {
    height: auto;
    display: flex;
}

#tm-explorez-splide .splide__slide .tm-card {
    width: 100%;
}

#tm-explorez-splide .splide__pagination {
    bottom: -36px;
}

#tm-explorez-splide .splide__pagination__page.is-active {
    background: var(--af-theme-primary);
}

#tm-explorez-splide .splide__arrows {
    position: static;
}

#tm-explorez-splide .splide__arrow {
    background: var(--af-theme-primary);
    opacity: 0.85;
}

#tm-explorez-splide .splide__arrow--prev {
    left: 0;
}

#tm-explorez-splide .splide__arrow--next {
    right: 0;
}

#tm-explorez-splide .splide__arrow svg {
    fill: #fff;
}

#tm-explorez-splide .splide__arrow:hover:not(:disabled) {
    opacity: 1;
}

@media (max-width: 640px) {
    #tm-explorez-splide {
        padding: 0 44px;
    }
}

/* ----- CARD GRID (Explorez l'Univers) ----- */
.tm-card {
    background: #fff;
    border: 1px solid #efeae3;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 250ms ease, box-shadow 250ms ease;
}

.tm-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(96,45,3,0.12);
}

.tm-card__image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #f6f7f6;
}

.tm-card__body {
    padding: 22px 22px 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

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

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

.tm-card__text {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(0,0,0,0.7);
    margin-bottom: 18px;
    flex-grow: 1;
}

.tm-card__cta {
    color: var(--af-theme-primary);
    font-family: var(--af-ff-gotham-extra-bold);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-decoration: none;
    border-bottom: 2px solid var(--af-theme-primary);
    padding-bottom: 4px;
    width: fit-content;
    text-transform: uppercase;
}

.tm-card__cta:hover {
    color: #8b4312;
    border-bottom-color: #8b4312;
}

/* ----- Portrait expert (vertical) ----- */
.tm-expert-portrait {
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tm-expert-portrait__img {
    width: 100%;
    height: auto;
    max-height: 620px;
    object-fit: cover;
    border-radius: 8px;
    aspect-ratio: 3 / 4;
    display: block;
    box-shadow: 0 18px 40px rgba(96,45,3,0.15);
}

.tm-expert-portrait__caption {
    margin-top: 20px;
    padding: 0 4px;
    text-align: center;
}

.tm-expert-portrait__name {
    display: block;
    font-family: var(--af-ff-gotham-extra-bold);
    color: var(--af-theme-primary);
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 6px;
}

.tm-expert-portrait__role {
    display: block;
    font-style: italic;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(0,0,0,0.62);
}

/* ----- Liste à puces Preuve par la science ----- */
.tm-proof-list {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
}

.tm-proof-list__item {
    display: flex;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid #efeae3;
}

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

.tm-proof-list__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    background: #faf6f1;
    border-radius: 50%;
}

.tm-proof-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: 6px;
}

.tm-proof-list__text {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(0,0,0,0.72);
    margin: 0;
}

@media (max-width: 768px) {
    .tm-expert-portrait__img {
        max-height: 480px;
    }
    .tm-proof-list__icon {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }
}

/* ----- Section Preuve par la science (avec expert) ----- */
.tm-expert-card {
    text-align: center;
}

.tm-expert-card__photo {
    width: 280px;
    height: 280px;
    max-width: 100%;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 6px solid var(--af-common-green-light);
}

@media (max-width: 768px) {
    .tm-expert-card__photo {
        width: 200px;
        height: 200px;
    }
}

.tm-expert-card__name {
    font-family: var(--af-ff-gotham-extra-bold);
    color: var(--af-theme-primary);
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 15px;
}

.tm-expert-card__role {
    font-size: 13px;
    color: rgba(0,0,0,0.6);
    line-height: 1.5;
}

.tm-proof-box {
    background: #faf6f1;
    border-left: 4px solid var(--af-theme-primary);
    border-radius: 4px;
    padding: 22px 24px;
    height: 100%;
}

.tm-proof-box__title {
    font-family: var(--af-ff-gotham-extra-bold);
    color: var(--af-theme-primary);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tm-proof-box__text {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(0,0,0,0.72);
    margin: 0;
}

/* ----- Approche IN & OUT ----- */
.tm-badge-pill {
    display: inline-block;
    padding: 6px 16px;
    background: var(--af-theme-primary);
    color: #fff;
    border-radius: 30px;
    font-family: var(--af-ff-gotham-extra-bold);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.tm-info-alert {
    background: #e7f1f9;
    border-radius: 6px;
    padding: 14px 18px;
    font-size: 13px;
    line-height: 1.55;
    color: #295479;
    margin: 18px 0 24px;
    border-left: 4px solid #5f9ed0;
}

.tm-approach-block {
    margin-top: 22px;
}

.tm-approach-block__label {
    font-family: var(--af-ff-gotham-extra-bold);
    color: var(--af-theme-primary);
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.tm-approach-block__text {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(0,0,0,0.72);
    margin: 0;
}

/* ----- Nutrition cellulaire (IN) / bloc vert ----- */
.tm-in-wrapper {
    background: #e8efe4;
    border-radius: 14px;
    padding: 60px 50px;
    position: relative;
}

.tm-in-wrapper .tm-title {
    margin-bottom: 8px;
}

.tm-in-wrapper .tm-in-tagline {
    font-family: var(--af-ff-gotham-extra-bold);
    color: var(--af-theme-primary);
    font-size: 15px;
    letter-spacing: 1px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.tm-stats {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 32px 0 28px;
    flex-wrap: wrap;
}

.tm-stat {
    text-align: center;
    flex: 1;
    min-width: 110px;
}

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

.tm-stat__label {
    font-size: 12px;
    color: rgba(0,0,0,0.65);
    line-height: 1.4;
}

.tm-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tm-feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 14px;
}

.tm-feature-list__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    color: #3e3a34;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tm-feature-list__icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none;
}

.tm-feature-list__content {
    flex-grow: 1;
}

.tm-feature-list__title {
    font-family: var(--af-ff-gotham-extra-bold);
    color: var(--af-theme-primary);
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 4px;
}

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

.tm-in-product-img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 8px;
}

/* ----- OUT cards ----- */
.tm-out-card {
    text-align: center;
}

.tm-out-card__image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
    background: #f6f7f6;
}

.tm-out-card__title {
    font-family: var(--af-ff-gotham-extra-bold);
    color: var(--af-theme-primary);
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 10px;
}

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

/* ----- Flip card (Masterclass) ----- */
.tm-flip-card {
    perspective: 1400px;
    height: 380px;
    outline: none;
}

.tm-flip-card__inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 700ms cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    will-change: transform;
}

.tm-flip-card:hover .tm-flip-card__inner,
.tm-flip-card:focus .tm-flip-card__inner,
.tm-flip-card.is-flipped .tm-flip-card__inner {
    transform: rotateY(180deg);
}

.tm-flip-card__face {
    position: absolute;
    inset: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
    transform: translateZ(0);
    transition: opacity 260ms ease;
}

/* Face avant : image en background, titre seul */
.tm-flip-card__face--front {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 10px 30px rgba(96,45,3,0.12);
    transform: rotateY(0deg);
    opacity: 1;
    pointer-events: auto;
}

.tm-flip-card__face--front::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30,15,5,0.88) 0%, rgba(30,15,5,0.45) 45%, rgba(30,15,5,0) 75%);
    z-index: 1;
}

.tm-flip-card__front-inner {
    position: relative;
    z-index: 2;
    padding: 28px 28px 26px;
    width: 100%;
}

.tm-flip-card__front-title {
    font-family: var(--af-ff-gotham-extra-bold);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

/* Face arrière : texte + liste + meta */
.tm-flip-card__face--back {
    background: linear-gradient(135deg, var(--af-theme-primary) 0%, #4a2302 100%);
    color: #fff;
    padding: 26px 28px 22px;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
}

.tm-flip-card:hover .tm-flip-card__face--front,
.tm-flip-card:focus .tm-flip-card__face--front,
.tm-flip-card.is-flipped .tm-flip-card__face--front {
    opacity: 0;
    pointer-events: none;
}

.tm-flip-card:hover .tm-flip-card__face--back,
.tm-flip-card:focus .tm-flip-card__face--back,
.tm-flip-card.is-flipped .tm-flip-card__face--back {
    opacity: 1;
    pointer-events: auto;
}

.tm-flip-card__text {
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255,255,255,0.88);
    margin: 0 0 16px;
}

.tm-flip-card__subtitle {
    font-family: var(--af-ff-gotham-extra-bold);
    color: #c4826c;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0 0 10px;
}

.tm-flip-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    flex-grow: 1;
}

.tm-flip-card__list li {
    position: relative;
    padding: 6px 0 6px 20px;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255,255,255,0.92);
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.tm-flip-card__list li:last-child {
    border-bottom: none;
}

.tm-flip-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 13px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c4826c;
}

.tm-flip-card__meta {
    font-family: var(--af-ff-gotham-extra-bold);
    font-size: 10.5px;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.15);
    margin-top: auto;
}

@media (max-width: 768px) {
    .tm-flip-card {
        height: 420px;
    }
    .tm-flip-card__front-title {
        font-size: 17px;
    }
}

/* ----- Accompagnement Global (Masterclass) ----- */
.tm-master-card {
    display: flex;
    gap: 18px;
    padding: 22px;
    border: 1px solid #efeae3;
    border-radius: 10px;
    background: #fff;
    height: 100%;
}

.tm-master-card__photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid var(--af-common-green-light);
}

.tm-master-card__title {
    font-family: var(--af-ff-gotham-extra-bold);
    color: var(--af-theme-primary);
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.3;
}

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

.tm-access-banner {
    background: #e8efe4;
    border-radius: 10px;
    padding: 18px 24px;
    margin-top: 28px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(0,0,0,0.75);
    text-align: center;
}

/* ----- Devenez Egerie ----- */
.tm-egerie-equip {
    background: #e8efe4;
    border-radius: 10px;
    padding: 26px;
}

.tm-egerie-equip__title {
    font-family: var(--af-ff-gotham-extra-bold);
    color: var(--af-theme-primary);
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: 0.5px;
}

.tm-egerie-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.tm-egerie-item__check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--af-theme-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    margin-top: 2px;
}

.tm-egerie-item__title {
    font-family: var(--af-ff-gotham-extra-bold);
    color: var(--af-theme-primary);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 3px;
}

.tm-egerie-item__text {
    font-size: 12px;
    line-height: 1.5;
    color: rgba(0,0,0,0.65);
    margin: 0;
}

.tm-egerie-image {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    border-radius: 8px;
}

/* ----- Impact : visuel lémurien + liste ----- */
.tm-impact-visual {
    position: relative;
    margin: 0;
}

.tm-impact-visual__img {
    width: 100%;
    height: auto;
    max-height: 720px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 10px;
    box-shadow: 0 20px 45px rgba(96,45,3,0.18);
}

.tm-impact-visual__caption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 18px 20px;
    background: rgba(30,15,5,0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.5;
}

.tm-impact-visual__badge {
    display: block;
    font-family: var(--af-ff-gotham-extra-bold);
    color: #e8c7ab;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.tm-impact-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}

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

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

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

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

@media (max-width: 768px) {
    .tm-impact-visual__img {
        aspect-ratio: 4 / 3;
        max-height: 420px;
        object-position: center top;
    }
    .tm-impact-list__icon {
        width: 36px;
        height: 36px;
        font-size: 17px;
    }
}

/* ----- Impact section ----- */
.tm-impact-col {
    text-align: left;
}

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

.tm-impact-col__text {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(0,0,0,0.7);
}

.tm-cta-row {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* ----- Buttons (variantes cohérentes avec la charte) ----- */
.tm-btn {
    display: inline-block;
    padding: 14px 28px;
    font-family: var(--af-ff-gotham-extra-bold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    transition: all 250ms ease;
    border: 2px solid var(--af-theme-primary);
    cursor: pointer;
}

.tm-btn--primary {
    background: var(--af-theme-primary);
    color: #fff;
}

.tm-btn--primary:hover {
    background: #4a2302;
    color: #fff;
}

.tm-btn--outline {
    background: transparent;
    color: var(--af-theme-primary);
}

.tm-btn--outline:hover {
    background: var(--af-theme-primary);
    color: #fff;
}

/* =========================================================
   Smooth scroll + reveal animations
========================================================= */
html {
    scroll-behavior: smooth;
}

/* Respect de la préférence "réduction de mouvement" */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .tm-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

.tm-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 700ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 700ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.tm-reveal--left {
    transform: translateX(-32px);
}

.tm-reveal--right {
    transform: translateX(32px);
}

.tm-reveal--scale {
    transform: scale(0.96);
}

.tm-reveal--visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Stagger pour les éléments adjacents */
.tm-reveal:nth-child(1) { transition-delay: 0ms; }
.tm-reveal:nth-child(2) { transition-delay: 80ms; }
.tm-reveal:nth-child(3) { transition-delay: 160ms; }
.tm-reveal:nth-child(4) { transition-delay: 240ms; }
.tm-reveal:nth-child(5) { transition-delay: 320ms; }
.tm-reveal:nth-child(6) { transition-delay: 400ms; }

/* =========================================================
   Cart off-canvas drawer (glisse depuis la droite)
========================================================= */
.tm-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(30, 20, 10, 0.5);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 300ms ease, visibility 0s linear 300ms;
    z-index: 10110;
}

.tm-cart-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 300ms ease, visibility 0s linear 0s;
    z-index: 10110;
}

.tm-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(420px, 92vw);
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    background: #fff;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.18);
    transform: translateX(100%);
    transition: transform 320ms cubic-bezier(0.32, 0.72, 0.25, 1);
    z-index: 10120;
    display: flex;
    flex-direction: column;
}

.tm-cart-drawer.is-open {
    transform: translateX(0);
}

.tm-cart-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: max(22px, calc(16px + env(safe-area-inset-top, 0px))) 24px 22px;
    border-bottom: 1px solid #f0ede5;
    flex-shrink: 0;
}

.tm-cart-drawer__title {
    font-family: var(--af-ff-gotham-extra-bold);
    color: var(--af-theme-primary);
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tm-cart-drawer__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--af-theme-primary);
    color: #fff;
    font-family: var(--af-ff-body);
    font-size: 12px;
    font-weight: 600;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 11px;
}

.tm-cart-drawer__close {
    background: transparent;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--af-theme-primary);
    transition: background 200ms ease;
}

.tm-cart-drawer__close:hover {
    background: #f0ede5;
}

.tm-cart-drawer__close svg {
    width: 20px;
    height: 20px;
}

.tm-cart-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 14px 24px;
}

.tm-cart-drawer__empty {
    text-align: center;
    padding: 60px 20px;
    color: rgba(0,0,0,0.55);
}

.tm-cart-drawer__empty svg {
    width: 64px;
    height: 64px;
    stroke: #c8bfa8;
    margin-bottom: 16px;
}

.tm-cart-drawer__empty p {
    font-size: 15px;
    margin-bottom: 24px;
    color: rgba(0,0,0,0.7);
}

.tm-cart-drawer__shop-btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--af-theme-primary);
    color: #fff;
    font-family: var(--af-ff-gotham-extra-bold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    border-radius: 4px;
    text-decoration: none;
    transition: background 200ms ease;
}

.tm-cart-drawer__shop-btn:hover {
    background: #4a2302;
    color: #fff;
}

.tm-cart-drawer__items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tm-cart-drawer__item {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #f0ede5;
    position: relative;
}

.tm-cart-drawer__item-img {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 6px;
    overflow: hidden;
    background: #faf8f4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tm-cart-drawer__item-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.tm-cart-drawer__item-info {
    flex: 1;
    min-width: 0;
    padding-right: 32px;
}

.tm-cart-drawer__item-name {
    display: block;
    font-family: var(--af-ff-gotham-extra-bold);
    color: var(--af-theme-primary);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    margin-bottom: 4px;
}

.tm-cart-drawer__item-name:hover {
    color: #c4826c;
}

.tm-cart-drawer__item-badge {
    display: inline-block;
    background: #c4826c;
    color: #fff;
    font-family: var(--af-ff-gotham-extra-bold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 3px;
    margin-bottom: 6px;
}

.tm-cart-drawer__item-meta {
    display: flex;
    gap: 6px;
    font-size: 13px;
    color: rgba(0,0,0,0.7);
}

.tm-cart-drawer__item-price {
    color: var(--af-theme-primary);
    font-weight: 600;
}

.tm-cart-drawer__item-remove {
    position: absolute;
    top: 16px;
    right: 0;
    background: transparent;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(0,0,0,0.45);
    transition: all 200ms ease;
}

.tm-cart-drawer__item-remove:hover {
    background: #fceae5;
    color: #b0413e;
}

.tm-cart-drawer__item-remove svg {
    width: 16px;
    height: 16px;
}

.tm-cart-drawer__footer {
    flex-shrink: 0;
    padding: 18px 24px 22px;
    border-top: 1px solid #f0ede5;
    background: #faf8f4;
}

.tm-cart-drawer__totals {
    margin-bottom: 16px;
}

.tm-cart-drawer__total-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: rgba(0,0,0,0.75);
    padding: 5px 0;
}

.tm-cart-drawer__total-row--grand {
    font-family: var(--af-ff-gotham-extra-bold);
    color: var(--af-theme-primary);
    font-size: 17px;
    font-weight: 800;
    padding-top: 10px;
    margin-top: 6px;
    border-top: 1px solid #e3dbc9;
}

.tm-cart-drawer__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tm-cart-drawer__btn {
    display: block;
    padding: 13px 18px;
    text-align: center;
    font-family: var(--af-ff-gotham-extra-bold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    border-radius: 4px;
    text-decoration: none;
    transition: all 200ms ease;
    border: 1.5px solid var(--af-theme-primary);
}

.tm-cart-drawer__btn--outline {
    background: transparent;
    color: var(--af-theme-primary);
}

.tm-cart-drawer__btn--outline:hover {
    background: var(--af-theme-primary);
    color: #fff;
}

.tm-cart-drawer__btn--primary {
    background: var(--af-theme-primary);
    color: #fff;
}

.tm-cart-drawer__btn--primary:hover {
    background: #4a2302;
    color: #fff;
}

body.tm-cart-open {
    overflow: hidden;
}

/* =========================================================
   Dropdown menu desktop (tm-has-dropdown)
========================================================= */
.main_menu nav > ul > li.tm-has-dropdown {
    position: relative;
}


.main_menu nav > ul > li.tm-has-dropdown .tm-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: #fff;
    padding: 10px 0;
    margin: 0;
    list-style: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-radius: 4px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 200ms;
    z-index: 200;
}

.main_menu nav > ul > li.tm-has-dropdown:hover .tm-dropdown,
.main_menu nav > ul > li.tm-has-dropdown:focus-within .tm-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 0s;
}

.main_menu nav > ul > li.tm-has-dropdown .tm-dropdown li {
    display: block;
    padding: 0;
}

.main_menu nav > ul > li.tm-has-dropdown .tm-dropdown li a {
    display: block;
    padding: 10px 22px;
    color: var(--af-theme-primary);
    font-size: 13px;
    font-family: var(--af-ff-body);
    font-weight: 400;
    text-transform: none;
    line-height: 1.4;
    white-space: nowrap;
    transition: background 150ms ease, color 150ms ease;
}

.main_menu nav > ul > li.tm-has-dropdown .tm-dropdown li a:hover {
    background: #faf8f4;
    color: #c4826c;
}

.main_menu nav > ul > li.tm-has-dropdown .tm-dropdown li.tm-has-dropdown--flyout {
    position: relative;
}

.main_menu nav > ul > li.tm-has-dropdown .tm-dropdown li.tm-has-dropdown--flyout > .tm-dropdown--sub {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 2px;
    min-width: 240px;
    visibility: hidden;
    opacity: 0;
    transform: translateX(6px);
    transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 200ms;
}

.main_menu nav > ul > li.tm-has-dropdown .tm-dropdown li.tm-has-dropdown--flyout:hover > .tm-dropdown--sub,
.main_menu nav > ul > li.tm-has-dropdown .tm-dropdown li.tm-has-dropdown--flyout:focus-within > .tm-dropdown--sub {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
    transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 0s;
}

.offcanvas_main_menu .sub-menu .sub-menu {
    padding-left: 16px;
}

/* ----- Products slider (homepage) ----- */
.tm-products {
    background: #faf8f4;
}

.tm-products .section-products-item {
    background: #fff;
    border: 1px solid #efeae3;
    border-radius: 8px;
    overflow: hidden;
    color: inherit;
    min-width: auto;
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 250ms ease, transform 250ms ease;
}

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

.tm-products .section-products-item-img-container,
.tm-products .banner_thumb {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #faf8f4;
    padding: 16px;
    overflow: hidden;
}

.tm-products .section-products-item-img-container a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.tm-products .section-products-item-img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0;
}

.tm-products .splide__slide {
    height: auto;
    display: flex;
}

.tm-products .splide__list {
    align-items: stretch;
}

.tm-products .section-products-item-title {
    font-family: var(--af-ff-gotham-extra-bold);
    color: var(--af-theme-primary) !important;
    font-size: 15px;
    font-weight: 800;
    min-height: 44px;
    line-height: 1.35;
}

.tm-products .section-products-item-price {
    font-family: var(--af-ff-gotham-extra-bold);
    color: #612e03 !important;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 16px;
}

.tm-products #our-oils-splide .splide__arrow {
    background: var(--af-theme-primary);
    opacity: 0.85;
}

.tm-products #our-oils-splide .splide__arrow svg {
    fill: #fff;
}

.tm-products #our-oils-splide .splide__arrow:hover:not(:disabled) {
    opacity: 1;
}

.tm-products #our-oils-splide {
    position: relative;
    padding-bottom: 52px;
    margin-bottom: 8px;
}

.tm-products #our-oils-splide .splide__pagination {
    bottom: -40px;
}

.tm-products #our-oils-splide .splide__pagination__page.is-active {
    background: var(--af-theme-primary);
}

/* ========================================================
   Patterns inspirés de la maquette Aroma Forest
   (strip valeurs, stats vidéo, bandeau recrutement sombre,
    blog teaser, FAQ, newsletter)
======================================================== */

/* ----- Strip valeurs (dark) ----- */
.tm-values {
    background: #3e2a1a;
    color: #fff;
    padding: 32px 0;
}

.tm-value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    padding: 10px 6px;
}

.tm-value__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #b08f6a;
    border-radius: 50%;
    flex-shrink: 0;
    color: #e8d8b8;
}

.tm-value__icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    stroke: currentColor;
}

.tm-value__label {
    font-family: var(--af-ff-gotham-extra-bold);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    color: #f2e3c8;
    letter-spacing: 0.3px;
    text-align: left;
    margin: 0;
    text-transform: uppercase;
}

.tm-values-divider {
    width: 1px;
    background: #5a4028;
    align-self: stretch;
}

/* ----- Selection du mois (split card + image) ----- */
.tm-feature-pick {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.tm-feature-pick__img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 6px;
}

.tm-feature-pick__card {
    background: #fff;
    border-radius: 6px;
    padding: 40px 36px;
    box-shadow: 0 18px 50px rgba(96,45,3,0.10);
    border: 1px solid #f0ede8;
    max-width: 420px;
}

.tm-feature-pick__eyebrow {
    font-family: var(--af-ff-gotham-extra-bold);
    color: var(--af-theme-primary);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.tm-feature-pick__title {
    font-family: var(--af-ff-gotham-extra-bold);
    color: var(--af-theme-primary);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 18px;
}

.tm-feature-pick__text {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(0,0,0,0.72);
    margin-bottom: 24px;
}

/* ----- Stats + video (style "20 ans d'expérience") ----- */
.tm-exp-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin: 28px 0;
}

.tm-exp-stat {
    min-width: 110px;
    padding-right: 22px;
    border-right: 1px solid #e0dcd4;
}

.tm-exp-stat:last-child {
    border-right: none;
}

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

.tm-exp-stat__label {
    font-size: 12px;
    line-height: 1.35;
    color: rgba(0,0,0,0.65);
    max-width: 120px;
}

.tm-video-block {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    min-height: 380px;
}

.tm-video-block__img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
}

.tm-video-block__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 250ms ease;
}

.tm-video-block__play:hover {
    background: #fff;
    transform: translate(-50%, -50%) scale(1.08);
}

.tm-video-block__play::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    margin-left: 5px;
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent var(--af-theme-primary);
}

/* ----- Related articles (page blog détails) ----- */
.tm-related-articles {
    border-top: 1px solid #efeae3;
}

.tm-related-articles__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.tm-related-articles__header .tm-title {
    font-size: 26px;
    margin: 0;
}

.tm-related-articles__all {
    font-family: var(--af-ff-gotham-extra-bold);
    color: var(--af-theme-primary);
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 2px solid var(--af-theme-primary);
    padding-bottom: 3px;
    transition: color 150ms ease, border-color 150ms ease;
}

.tm-related-articles__all:hover {
    color: #c4826c;
    border-bottom-color: #c4826c;
}

/* ----- Blog teaser ----- */
.tm-blog-card {
    background: #fff;
    border: 1px solid #efeae3;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 250ms ease, transform 250ms ease;
}

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

.tm-blog-card__image-wrap {
    position: relative;
    height: 210px;
    overflow: hidden;
}

.tm-blog-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tm-blog-card__tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--af-theme-primary);
    color: #fff;
    font-family: var(--af-ff-gotham-extra-bold);
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 3px;
}

.tm-blog-card__body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

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

.tm-blog-card__excerpt {
    font-size: 13px;
    line-height: 1.55;
    color: rgba(0,0,0,0.7);
    margin-bottom: 18px;
    flex-grow: 1;
}

.tm-blog-card__more {
    color: var(--af-theme-primary);
    font-family: var(--af-ff-gotham-extra-bold);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    margin-bottom: 10px;
    display: inline-block;
}

.tm-blog-card__more:hover {
    color: #8b4312;
}

.tm-blog-card__date {
    font-size: 12px;
    color: rgba(0,0,0,0.5);
    border-top: 1px solid #f0ede8;
    padding-top: 10px;
    margin-top: auto;
}

/* ----- Bandeau recrutement sombre (Programme Revendeur) ----- */
.tm-recruit {
    position: relative;
    min-height: 360px;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
}

.tm-recruit::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(30,15,5,0.75), rgba(30,15,5,0.82));
}

.tm-recruit__inner {
    position: relative;
    z-index: 2;
    max-width: 880px;
    margin: 0 auto;
    padding: 0 20px;
}

.tm-recruit__title {
    font-family: var(--af-ff-gotham-extra-bold);
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 18px;
    line-height: 1.2;
}

.tm-recruit__text {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255,255,255,0.85);
    margin-bottom: 28px;
}

.tm-recruit__btn {
    display: inline-block;
    padding: 14px 38px;
    background: #c4826c;
    color: #fff;
    font-family: var(--af-ff-gotham-extra-bold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 4px;
    text-decoration: none;
    transition: background 250ms ease, transform 250ms ease;
}

.tm-recruit__btn:hover {
    background: #a86950;
    color: #fff;
    transform: translateY(-2px);
}

/* ----- FAQ ----- */
.tm-faq {
    background: #faf8f4;
    padding: 80px 0;
}

.tm-faq__title {
    text-align: center;
    font-family: var(--af-ff-gotham-extra-bold);
    color: var(--af-theme-primary);
    font-size: 38px;
    margin-bottom: 40px;
}

.tm-faq-item {
    background: #f2ede3;
    border-radius: 4px;
    margin-bottom: 10px;
    border: 1px solid #e6ddc8;
}

.tm-faq-item__summary {
    padding: 16px 22px;
    cursor: pointer;
    font-family: var(--af-ff-gotham-extra-bold);
    color: var(--af-theme-primary);
    font-size: 14px;
    font-weight: 700;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
    outline: none;
}

.tm-faq-item__summary::-webkit-details-marker {
    display: none;
}

.tm-faq-item__toggle {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--af-theme-primary);
    font-size: 16px;
    font-weight: 900;
    flex-shrink: 0;
}

.tm-faq-item[open] .tm-faq-item__toggle::before {
    content: "−";
}

.tm-faq-item:not([open]) .tm-faq-item__toggle::before {
    content: "+";
}

.tm-faq-item__body {
    padding: 4px 22px 20px 52px;
    font-size: 13px;
    line-height: 1.65;
    color: rgba(0,0,0,0.72);
}

/* ----- Newsletter bandeau ----- */
.tm-newsletter {
    position: relative;
    padding: 70px 0;
    color: #fff;
    background-color: #2d1f12;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.tm-newsletter::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(30,18,8,0.80);
}

.tm-newsletter__inner {
    position: relative;
    z-index: 2;
}

.tm-newsletter__title {
    font-family: var(--af-ff-gotham-extra-bold);
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 14px;
}

.tm-newsletter__text {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.82);
    margin-bottom: 22px;
}

.tm-newsletter__form {
    display: flex;
    gap: 8px;
    max-width: 480px;
    flex-wrap: wrap;
}

.tm-newsletter__input {
    flex: 1;
    min-width: 220px;
    padding: 13px 18px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 14px;
    outline: none;
}

.tm-newsletter__input::placeholder {
    color: rgba(255,255,255,0.55);
}

.tm-newsletter__input:focus {
    border-color: #c4826c;
    background: rgba(255,255,255,0.12);
}

.tm-newsletter__submit {
    padding: 13px 28px;
    border-radius: 4px;
    background: #c4826c;
    color: #fff;
    border: none;
    font-family: var(--af-ff-gotham-extra-bold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 250ms ease;
}

.tm-newsletter__submit:hover {
    background: #a86950;
}

/* ----- Avis Trustpilot ----- */
.tm-reviews {
    background: #fff;
}

.tm-reviews__header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.tm-reviews__rating {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.tm-reviews__score {
    font-size: 14px;
    color: rgba(0,0,0,0.75);
}

.tm-reviews__score strong {
    color: var(--af-theme-primary);
    font-family: var(--af-ff-gotham-extra-bold);
}

.tm-reviews__brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #00b67a;
    color: #fff;
    border-radius: 4px;
    font-family: var(--af-ff-gotham-extra-bold);
    font-size: 14px;
    letter-spacing: 0.5px;
}

.tm-reviews__brand .tm-star--sm {
    background: #fff;
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/></svg>");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

/* Étoiles vertes type Trustpilot */
.tm-stars {
    display: inline-flex;
    gap: 4px;
}

.tm-star {
    display: inline-block;
    width: 22px;
    height: 22px;
    background: #00b67a;
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/></svg>");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.tm-star--sm {
    width: 16px;
    height: 16px;
}

.tm-stars--lg .tm-star {
    width: 28px;
    height: 28px;
}

.tm-star--empty {
    background: #dcdcdc;
}

.tm-star--half {
    background: linear-gradient(90deg, #00b67a 50%, #dcdcdc 50%);
}

/* Carte d'avis individuelle */
.tm-review {
    background: #fff;
    border: 1px solid #e8e6e1;
    border-radius: 10px;
    padding: 28px 26px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 250ms ease, transform 250ms ease;
}

.tm-review:hover {
    box-shadow: 0 10px 28px rgba(96,45,3,0.10);
    transform: translateY(-3px);
}

.tm-review .tm-stars {
    margin-bottom: 14px;
}

.tm-review__title {
    font-family: var(--af-ff-gotham-extra-bold);
    color: var(--af-theme-primary);
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.tm-review__text {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(0,0,0,0.72);
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.tm-review__footer {
    border-top: 1px solid #f0ede8;
    padding-top: 14px;
}

.tm-review__author {
    font-family: var(--af-ff-gotham-extra-bold);
    color: var(--af-theme-primary);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 3px;
}

.tm-review__date {
    font-size: 12px;
    color: rgba(0,0,0,0.55);
}

/* Splide reviews overrides */
#tm-reviews-splide .splide__list {
    align-items: stretch;
}

#tm-reviews-splide .splide__slide {
    height: auto;
    display: flex;
}

#tm-reviews-splide .splide__pagination {
    bottom: -32px;
}

#tm-reviews-splide .splide__pagination__page.is-active {
    background: var(--af-theme-primary);
}

#tm-reviews-splide .splide__arrow {
    background: var(--af-theme-primary);
    opacity: 0.85;
}

#tm-reviews-splide .splide__arrow svg {
    fill: #fff;
}

#tm-reviews-splide .splide__arrow:hover:not(:disabled) {
    opacity: 1;
}

/* ----- Responsive ----- */
@media (max-width: 991px) {
    .tm-section,
    .tm-values,
    .af-banner-home,
    #banner-splide {
        overflow-x: clip;
        max-width: 100%;
    }

    .tm-reveal--left,
    .tm-reveal--right {
        transform: translateY(28px);
    }

    .tm-section {
        padding: 50px 0;
    }
    .tm-title {
        font-size: 30px;
    }
    .tm-title--lg {
        font-size: 34px;
    }
    .tm-subtitle {
        font-size: 22px;
    }
    .tm-in-wrapper {
        padding: 40px 28px;
    }
    .tm-stat__value {
        font-size: 32px;
    }
    .tm-hero {
        padding: 60px 0 40px;
    }
    .tm-hero__image {
        height: 300px;
        margin-top: 30px;
    }
    .tm-egerie-image {
        min-height: 300px;
        margin-top: 24px;
    }
}

@media (max-width: 576px) {
    .tm-title {
        font-size: 26px;
    }
    .tm-card__image {
        height: 180px;
    }
    .tm-master-card {
        flex-direction: column;
        text-align: center;
    }
    .tm-master-card__photo {
        margin: 0 auto;
    }
}
