/* =========================================================
   Eleyca — Landing produit (accueil)
   Alternance de thèmes : bleu/noir/blanc ↔ rouge/noir/blanc
   ========================================================= */
.epl {
    --epl-blue: #005b9d;
    --epl-blue-deep: #003d6b;
    --epl-blue-soft: #e8f2fa;
    --epl-red: #f74f56;
    --epl-red-deep: #d9363d;
    --epl-red-soft: #fff1f2;
    --epl-ink: #0c1222;
    --epl-muted: #5b6578;
    --epl-line: #dce3ee;
    --epl-white: #ffffff;
    --epl-font: "Manrope", system-ui, sans-serif;
    --epl-display: "Outfit", system-ui, sans-serif;
    /* accent courant (overridé par thème) */
    --epl-accent: var(--epl-blue);
    --epl-accent-deep: var(--epl-blue-deep);
    --epl-accent-soft: var(--epl-blue-soft);
    color: var(--epl-ink);
    font-family: var(--epl-font);
    font-size: 16px;
    line-height: 1.55;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.epl-theme--blue {
    --epl-accent: var(--epl-blue);
    --epl-accent-deep: var(--epl-blue-deep);
    --epl-accent-soft: var(--epl-blue-soft);
}

.epl-theme--red {
    --epl-accent: var(--epl-red);
    --epl-accent-deep: var(--epl-red-deep);
    --epl-accent-soft: var(--epl-red-soft);
}

.epl h1,
.epl h2,
.epl h3 {
    font-family: var(--epl-display);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.epl-section h2,
.epl-section h3,
.epl-finale h2 {
    color: var(--epl-ink);
}

.epl-accent {
    color: var(--epl-accent);
}

.epl-accent--on-dark {
    color: #fff;
    border-bottom: 2px solid rgba(255, 255, 255, 0.55);
}

.epl-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.55rem;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--epl-accent);
}

.epl-kicker::before {
    content: "";
    width: 1.1rem;
    height: 3px;
    border-radius: 999px;
    background: var(--epl-accent);
}

/* —— Hero (thème bleu) —— */
.epl-hero {
    position: relative;
    padding: 2.75rem 0 2.5rem;
    color: #fff;
    isolation: isolate;
}

.epl-hero__media {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(115deg, rgba(0, 36, 64, 0.92) 0%, rgba(0, 91, 157, 0.8) 55%, rgba(12, 18, 34, 0.75) 100%),
        url("../images/slide1.jpg") center / cover no-repeat;
}

.epl-hero__grid {
    display: grid;
    gap: 1.75rem;
    align-items: start;
    animation: epl-rise 0.7s ease-out both;
}

.epl-hero__copy {
    max-width: 40rem;
}

@keyframes epl-rise {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.epl-hero__brand {
    margin: 0 0 0.55rem;
    font-family: var(--epl-display);
    font-size: clamp(2.45rem, 5.5vw, 3.35rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #ffffff !important;
}

.epl-hero__title {
    margin: 0 0 0.7rem;
    font-size: clamp(1.4rem, 2.8vw, 1.85rem);
    font-weight: 600;
    line-height: 1.35;
    max-width: 30ch;
    color: #ffffff !important;
}

.epl-hero__title-main,
.epl-hero__word-white {
    color: #ffffff !important;
}

.epl-hero__word-blue {
    color: #8fd0ff !important;
}

.epl-hero__word-red {
    color: #ff8a8f !important;
}

.epl-hero__lead {
    margin: 0 0 1.3rem;
    font-size: 1.15rem;
    line-height: 1.55;
    color: rgba(143, 208, 255, 0.95);
    max-width: 36rem;
    font-weight: 500;
}

.epl-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.epl-hero__offers {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.epl-hero-offer {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.75rem 0.85rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
}

.epl-hero-offer__role {
    margin: 0 0 0.15rem;
    font-family: var(--epl-display);
    font-weight: 700;
    font-size: 1.12rem;
    letter-spacing: -0.02em;
    color: #8fd0ff;
}

.epl-hero-offer:nth-child(2) .epl-hero-offer__role {
    color: #ff8a8f;
}

.epl-hero-offer:nth-child(3) .epl-hero-offer__role {
    color: #8fd0ff;
}

.epl-hero-offer__text {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
}

.epl-hero-offer__icon {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--epl-blue);
    flex-shrink: 0;
    font-size: 0.9rem;
}

.epl-hero-offer:nth-child(2) .epl-hero-offer__icon {
    color: var(--epl-red);
}


/* —— Intent cards (hero) —— */
.epl-intents {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 899px) {
    .epl-intents {
        grid-template-columns: 1fr;
    }
}

.epl-intent {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    text-decoration: none !important;
    color: #fff !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.epl-intent:hover,
.epl-intent:focus-visible {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.24);
    color: #fff !important;
    outline: none;
}

.epl-intent__media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

.epl-intent__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.epl-intent:hover .epl-intent__media img {
    transform: scale(1.04);
}

.epl-intent__body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.95rem 1rem 0.35rem;
    flex: 1;
}

.epl-intent__label {
    font-family: var(--epl-display);
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.epl-intent__hint {
    font-size: 0.88rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 500;
}

.epl-intent__go {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0.55rem 1rem 0.95rem;
    font-size: 0.9rem;
    opacity: 0.85;
}

.epl-intent--buy .epl-intent__label { color: #8fd0ff; }
.epl-intent--sell .epl-intent__label { color: #ffb4b7; }
.epl-intent--deliver .epl-intent__label { color: #b7e0ff; }

/* —— Buttons —— */
.epl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 46px;
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    font-family: var(--epl-font);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    text-decoration: none !important;
    border: 1.5px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.epl-btn:hover {
    transform: translateY(-1px);
}

.epl-btn--primary {
    background: #fff;
    color: var(--epl-blue) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.epl-btn--primary:hover {
    background: #fff5f5;
    color: var(--epl-red) !important;
}

.epl-btn--light {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff !important;
    backdrop-filter: blur(6px);
}

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

.epl-btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff !important;
}

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

.epl-btn--soft {
    background: var(--epl-accent) !important;
    border-color: var(--epl-accent) !important;
    color: #fff !important;
    box-shadow: 0 8px 20px color-mix(in srgb, var(--epl-accent) 28%, transparent);
}

.epl-btn--soft:hover {
    background: var(--epl-accent-deep) !important;
    border-color: var(--epl-accent-deep) !important;
    color: #fff !important;
}

.epl-btn--outline {
    background: #fff !important;
    border-color: var(--epl-accent) !important;
    color: var(--epl-accent-deep) !important;
}

.epl-btn--outline:hover {
    background: var(--epl-accent-soft) !important;
    color: var(--epl-accent-deep) !important;
}

/* —— Sections —— */
.epl-section {
    padding: 4rem 0;
    background: #fff;
}

.epl-section--tint {
    background: var(--epl-accent-soft);
}

.epl-section--band {
    background: linear-gradient(120deg, #003d6b 0%, #005b9d 55%, #1a7ab8 100%);
    color: #fff;
    padding: 3.5rem 0;
}

.epl-section__head {
    max-width: 40rem;
    margin-bottom: 2rem;
}

.epl-section__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.65rem, 2.5vw, 2.1rem);
    font-weight: 700;
    color: var(--epl-ink);
}

.epl-section__title--light {
    color: #fff !important;
}

.epl-section__lead {
    margin: 0;
    color: var(--epl-muted);
    font-size: 1.12rem;
    line-height: 1.55;
}

/* —— Actors —— */
.epl-actors {
    display: grid;
    gap: 1.15rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 899px) {
    .epl-actors {
        grid-template-columns: 1fr;
    }
}

.epl-actor {
    padding: 0 0 1.35rem;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--epl-line);
    box-shadow: 0 10px 28px rgba(12, 18, 34, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.epl-actor__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--epl-accent-soft);
}

.epl-actor__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.epl-actor:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(12, 18, 34, 0.09);
    border-color: color-mix(in srgb, var(--epl-accent) 35%, var(--epl-line));
}

.epl-actor__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--epl-accent-soft);
    color: var(--epl-accent-deep);
    font-size: 1.1rem;
    margin: 1rem 1.25rem 0.75rem;
}

.epl-actor__title {
    margin: 0 1.25rem 0.3rem;
    font-size: 1.35rem;
    color: var(--epl-ink);
}

.epl-actor__hook {
    margin: 0 1.25rem 0.55rem;
    font-weight: 700;
    color: var(--epl-accent);
    font-size: 1.02rem;
}

.epl-actor__text {
    margin: 0 1.25rem;
    color: var(--epl-muted);
    font-size: 1rem;
    line-height: 1.5;
}

.epl-note {
    margin: 1.5rem 0 0;
    padding: 0.95rem 1.15rem;
    border-radius: 14px;
    background: var(--epl-accent-soft);
    border-left: 3px solid var(--epl-accent);
    color: var(--epl-ink);
    font-size: 0.98rem;
    font-weight: 600;
}

.epl-note i {
    margin-right: 0.35rem;
    color: var(--epl-accent);
}

/* —— Doors —— */
.epl-doors {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 991px) {
    .epl-doors {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .epl-doors {
        grid-template-columns: 1fr;
    }
}

.epl-door {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--epl-line);
    text-decoration: none !important;
    color: inherit;
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.epl-door:hover {
    border-color: color-mix(in srgb, var(--epl-accent) 45%, var(--epl-line));
    transform: translateY(-2px);
    box-shadow: 0 12px 28px color-mix(in srgb, var(--epl-accent) 14%, transparent);
    color: inherit;
}

.epl-door__media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--epl-accent-soft);
}

.epl-door__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.epl-door:hover .epl-door__media img {
    transform: scale(1.04);
}

.epl-door__body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.95rem 1.05rem 1.1rem;
}

.epl-door__icon {
    width: 2.25rem;
    height: 2.25rem;
    margin-bottom: 0.4rem;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--epl-accent);
    color: #fff;
    font-size: 0.9rem;
}

.epl-door__label {
    font-weight: 800;
    font-size: 1.08rem;
    color: var(--epl-ink);
}

.epl-door__hint {
    color: var(--epl-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.epl-doors__extra {
    margin: 1.1rem 0 0;
    font-size: 0.98rem;
}

.epl-doors__extra a {
    color: var(--epl-accent-deep);
    font-weight: 700;
}

/* —— Merchant paths —— */
.epl-paths {
    display: grid;
    gap: 1.15rem;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 767px) {
    .epl-paths {
        grid-template-columns: 1fr;
    }
}

.epl-path {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    border-radius: 20px;
    border: 1px solid var(--epl-line);
    background: #fff;
    box-shadow: 0 10px 28px rgba(12, 18, 34, 0.05);
}

.epl-path__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--epl-accent-soft);
}

.epl-path__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.epl-path__body {
    padding: 1.2rem 1.25rem 1.35rem;
}

.epl-path__title {
    margin: 0 0 0.75rem;
    font-size: 1.35rem;
    color: var(--epl-ink);
}

.epl-path__title i {
    color: var(--epl-accent);
    margin-right: 0.35rem;
}

.epl-path__list {
    margin: 0 0 1.15rem;
    padding: 0;
    list-style: none;
}

.epl-path__list li {
    position: relative;
    padding: 0.35rem 0 0.35rem 1.25rem;
    color: var(--epl-muted);
    font-weight: 600;
    font-size: 1rem;
}

.epl-path__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--epl-accent);
}

/* —— Delivery —— */
.epl-delivery {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.6fr);
    align-items: center;
}

@media (max-width: 767px) {
    .epl-delivery {
        grid-template-columns: 1fr;
    }
}

.epl-delivery__title-blue {
    color: #8fd0ff !important;
}

.epl-delivery__title-red {
    color: #ff8a8f !important;
}

.epl-delivery__lead {
    margin: 0 0 1.25rem;
    color: rgba(143, 208, 255, 0.95);
    font-size: 1.15rem;
    line-height: 1.55;
    max-width: 36rem;
}

.epl-delivery__lead strong {
    color: #ff8a8f;
}

.epl-kicker--on-dark {
    color: #8fd0ff;
}

.epl-kicker--on-dark::before {
    background: #ff8a8f;
}

.epl-delivery__media {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    background: rgba(0, 0, 0, 0.2);
    aspect-ratio: 4 / 3;
}

.epl-delivery__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.epl-delivery__badge {
    position: absolute;
    left: 0.9rem;
    bottom: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(12, 18, 34, 0.72);
    backdrop-filter: blur(8px);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: #8fd0ff;
}

.epl-delivery__badge i {
    font-size: 1rem;
    color: #ffffff !important;
}

/* —— Surfaces —— */
.epl-surfaces {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 767px) {
    .epl-surfaces {
        grid-template-columns: 1fr;
    }
}

.epl-surface {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    background: #fff;
    border: 1px solid var(--epl-line);
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(12, 18, 34, 0.05);
}

.epl-surface__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--epl-accent-soft);
}

.epl-surface__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.epl-surface__body {
    padding: 1rem 1.1rem 1.15rem;
    border-top: 3px solid var(--epl-accent);
}

.epl-surface h3 {
    margin: 0 0 0.35rem;
    font-size: 1.12rem;
    color: var(--epl-accent-deep);
}

.epl-surface p {
    margin: 0;
    color: var(--epl-muted);
    font-size: 0.98rem;
    line-height: 1.5;
}

/* —— Finale —— */
.epl-finale {
    padding: 4rem 0 4.5rem;
    background: var(--epl-accent-soft);
    text-align: center;
}

.epl-finale__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 36rem;
    margin: 0 auto;
}

.epl-finale__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.7rem, 2.6vw, 2.2rem);
    color: var(--epl-blue);
}

.epl-finale__brand-blue {
    color: var(--epl-blue);
}

.epl-finale__brand-red {
    color: var(--epl-red);
}

.epl-finale__lead {
    margin: 0 0 1.35rem;
    color: var(--epl-blue-deep);
    opacity: 0.78;
    font-size: 1.08rem;
}

.epl-finale__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    margin-bottom: 1.35rem;
}

.epl-finale__cta-main {
    min-width: 220px;
    justify-content: center;
}

.epl-finale .epl-btn--soft {
    background: var(--epl-blue) !important;
    border-color: var(--epl-blue) !important;
}

.epl-finale .epl-btn--soft:hover {
    background: var(--epl-blue-deep) !important;
    border-color: var(--epl-blue-deep) !important;
}

.epl-finale .epl-btn--outline {
    border-color: var(--epl-red) !important;
    color: var(--epl-red) !important;
}

.epl-finale .epl-btn--outline:hover {
    background: var(--epl-red-soft) !important;
    color: var(--epl-red-deep) !important;
}

.epl-finale__apps {
    display: flex;
    justify-content: center;
    width: 100%;
}

.epl-finale__title::after {
    content: "";
    display: block;
    width: 3rem;
    height: 3px;
    margin: 0.75rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--epl-blue), var(--epl-red));
}

@media (prefers-reduced-motion: reduce) {
    .epl-hero__grid,
    .epl-actor,
    .epl-door,
    .epl-btn {
        animation: none !important;
        transition: none !important;
    }
}
