/* Page Programme de fidélité — Essentiana */

.fidelite-page {
    font-family: 'Nunito Sans', sans-serif;
    background: #fff;
    color: #333;
    font-size: 14px;
    line-height: 1.7;
}

.fidelite-page > section,
.fidelite-page > .fidelite-panels {
    margin-top: 40px;
    margin-bottom: 40px;
}

.fidelite-page > .fidelite-header {
    margin-top: 0;
}

.fidelite-header {
    text-align: center;
    padding: 2.5rem 1rem 1.5rem;
}

.fidelite-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 0.75rem;
}

.fidelite-breadcrumbs {
    font-size: 0.9rem;
    color: #666;
}

.fidelite-breadcrumbs a {
    color: #666;
    text-decoration: none;
}

.fidelite-breadcrumbs a:hover {
    color: #F77F77;
}

.fidelite-intro {
    max-width: 900px;
    margin-top: 20px !important;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.25rem;
    text-align: center;
}

.fidelite-intro__lead {
    color: #F77F77;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 1rem;
    line-height: 1.4;
}

.fidelite-intro__lead strong {
    font-weight: 700;
}

.fidelite-intro__text {
    color: #4a4a4a;
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
}

.fidelite-intro__text strong {
    font-weight: 700;
}

/* Hero + cartes */
.fidelite-hero {
    position: relative;
    background-size: cover;
    background-position: center top;
    padding: 4rem 1.25rem 5rem;
}

.fidelite-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.55);
}

.fidelite-hero__cards {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.fidelite-hero-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 2rem 1.5rem 1.75rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.fidelite-hero-card__icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F77F77;
    font-size: 1.75rem;
}

.fidelite-hero-card__icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.fidelite-hero-card__icon img.fidelite-hero-card__icon-stars {
    width: 70px;
    max-width: 70px;
    height: 50px;
    object-fit: contain;
}

.fidelite-hero-card__icon--stars {
    width: 70px;
    min-width: 70px;
}

.fidelite-hero-card__title {
    font-size: 24px;
    font-weight: 700;
    color: #F77F77;
    margin: 0 0 0.75rem;
}

.fidelite-hero-card__text {
    color: #555;
    margin: 0 0 1.25rem;
    min-height: 4.5rem;
    font-size: 14px;
    line-height: 1.7;
}

.fidelite-hero-card__badge {
    display: inline-block;
    background: #F77F77;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.55rem 1.25rem;
    border-radius: 999px;
}

/* Étapes */
.fidelite-steps {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.25rem;
    text-align: center;
}

.fidelite-steps__title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 2.5rem;
}

.fidelite-steps__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.fidelite-step {
    text-align: center;
}

.fidelite-step__num {
    width: 42px;
    height: 42px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: #F77F77;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fidelite-step__title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.5rem;
}

.fidelite-step__text {
    color: #555;
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
}

@media (min-width: 993px) {
    .fidelite-step {
        position: relative;
    }

    .fidelite-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 21px;
        left: calc(60% + 20px);
        width: calc(80% + 1.5rem - 42px);
        border-top: 2px dotted #F77F77;
        pointer-events: none;
    }
}

/* Conversion */
.fidelite-convert {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.25rem;
    text-align: center;
}

.fidelite-page > section.fidelite-convert {
    margin-top: 0;
}

.fidelite-convert__title {
    color: #F77F77;
    font-size: 24px;
    font-weight: 700;
    margin: 40px 0 1rem;
}

.fidelite-convert__intro {
    color: #4a4a4a;
    margin: 0 0 1.5rem;
    font-size: 14px;
    line-height: 1.7;
}

.fidelite-convert__list {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
}

.fidelite-convert__list li {
    padding: 0.45rem 0;
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

.fidelite-convert__list li:first-child {
    padding-top: 0;
}

.fidelite-convert__amount {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    vertical-align: middle;
}

.fidelite-convert__legal {
    font-size: 12px;
    color: #888;
    margin: 0;
    line-height: 1.5;
}

.fidelite-convert__legal + .fidelite-convert__legal {
    margin-top: 0.5rem;
}

.fidelite-convert__legal a {
    color: #F77F77;
}

/* Panneaux gris */
.fidelite-panels {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.25rem;
    display: grid;
    gap: 2rem;
}

.fidelite-panel {
    background: #f3f3f3;
    padding: 2.5rem 2rem;
    text-align: center;
}

.fidelite-panel__title {
    color: #F77F77;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 1rem;
}

.fidelite-panel__text {
    color: #4a4a4a;
    max-width: 720px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.7;
}

.fidelite-panel__text strong {
    font-weight: 700;
}

.fidelite-panel__legal {
    font-size: 12px;
    color: #888;
    margin: 1.25rem 0 0;
    line-height: 1.5;
}

.fidelite-panel__legal a {
    color: #F77F77;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* CTA */
.fidelite-cta {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.25rem;
    text-align: center;
}

.fidelite-cta__title {
    color: #F77F77;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 1.25rem;
}

.fidelite-cta__list {
    text-align: left;
    max-width: 560px;
    margin: 0 auto 2rem;
    color: #4a4a4a;
    padding-left: 1.25rem;
    font-size: 14px;
    line-height: 1.7;
}

.fidelite-cta__list li {
    margin-bottom: 0.5rem;
}

.fidelite-cta__btn {
    display: inline-block;
    background: #F77F77;
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border-radius: 4px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.fidelite-cta__btn:hover {
    background: #e56b63;
    transform: translateY(-1px);
}

/* Clôture */
.fidelite-closing {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.25rem;
    text-align: center;
    color: #4a4a4a;
}

.fidelite-closing p {
    margin: 0 0 1rem;
    font-size: 14px;
    line-height: 1.7;
}

.fidelite-closing__signature {
    margin-top: 1.5rem;
}

.fidelite-closing__welcome {
    display: block;
    text-align: center;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.fidelite-closing__signature-img {
    display: block;
    max-width: 220px;
    width: 100%;
    height: auto;
    margin: 0.5rem 0 0 auto;
}

@media (max-width: 992px) {
    .fidelite-hero__cards {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .fidelite-steps__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .fidelite-title {
        font-size: 1.45rem;
    }

    .fidelite-steps__grid {
        grid-template-columns: 1fr;
    }

    .fidelite-hero {
        padding: 2.5rem 1rem 3rem;
    }

    .fidelite-hero-card__text {
        min-height: auto;
    }
}
