/*------------------------
 * ------- PAGE À PROPOS -------
 *-------------------------*/
body#cms.cms-id-4 {
    --cex-about-accent: #0091c8;
    --cex-about-ink: #1a2330;
    --cex-about-muted: #5c6775;
    --cex-about-surface: #f3f7fa;
    --cex-about-line: rgba(26, 35, 48, 0.1);
}

body#cms.cms-id-4 #wrapper {
    background: #fff;
}

body#cms.cms-id-4 #content-wrapper {
    padding-top: 0;
}

body#cms.cms-id-4 #main > .page-header {
    display: none;
}

@keyframes cex-about-rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cex-about-fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Hero — plan visuel edge-to-edge (sort du container) */
.about-hero {
    position: relative;
    overflow: hidden;
    min-height: clamp(280px, 42vw, 460px);
    width: 100vw;
    max-width: 100vw;
    margin: 0 0 2.5rem;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    display: flex;
    align-items: flex-end;
    color: #fff;
}

.about-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.about-hero__veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(26, 35, 48, 0.25) 0%, rgba(26, 35, 48, 0.78) 100%),
        linear-gradient(90deg, rgba(26, 35, 48, 0.45) 0%, rgba(26, 35, 48, 0.1) 55%, transparent 75%);
    pointer-events: none;
}

.about-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    display: block;
    animation: cex-about-fade 1s ease-out both;
}

.about-hero__inner {
    position: relative;
    z-index: 2;
    width: min(1400px, calc(100% - 2rem));
    padding: 2.5rem 0 2.25rem;
    margin: 0 auto;
    animation: cex-about-rise 0.75s ease-out 0.12s both;
}

.about-hero__eyebrow {
    display: inline-block;
    margin: 0 0 0.65rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b8e6f7;
}

.about-hero__title {
    margin: 0 0 0.75rem;
    font-size: clamp(2.2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
}

.about-hero__gloss {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.72);
}

.about-hero__lead {
    margin: 0;
    max-width: 36rem;
    font-size: 1.1rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
}

/* Story bands */
.about-story {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 0 3rem;
}

.about-kicker {
    display: inline-block;
    margin: 0 0 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cex-about-accent, #0091c8);
}

.about-title {
    margin: 0 0 1rem;
    font-size: clamp(1.45rem, 2.5vw, 1.85rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--cex-about-ink, #1a2330);
}

.about-text {
    margin: 0 0 0.9rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--cex-about-muted, #5c6775);
}

.about-text:last-child {
    margin-bottom: 0;
}

.about-text--emphasis {
    color: var(--cex-about-ink, #1a2330);
    font-weight: 500;
}

.about-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    margin: 0 0 3.25rem;
    animation: cex-about-rise 0.7s ease-out both;
}

.about-band--reverse .about-band__copy {
    order: 2;
}

.about-band--reverse .about-band__media {
    order: 1;
}

.about-band--service {
    grid-template-columns: 1fr;
    padding: 2rem 1.75rem;
    background: var(--cex-about-surface, #f3f7fa);
    border-radius: 20px;
    animation-delay: 0.06s;
}

.about-band__copy--full {
    max-width: none;
    width: 100%;
}

.about-band__columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2.5rem;
}

.about-band__columns .about-text {
    margin-bottom: 0;
}

/* Expédition + suivi — double panneau pleine largeur */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin: 0 0 3.25rem;
    animation: cex-about-rise 0.7s ease-out 0.1s both;
}

.about-split__panel {
    padding: 1.75rem 1.5rem;
    background: #fff;
    border: 1px solid var(--cex-about-line, rgba(26, 35, 48, 0.1));
    border-radius: 18px;
}

.about-split__panel--alt {
    background: var(--cex-about-surface, #f3f7fa);
    border-color: transparent;
}

.about-band__media {
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    background: var(--cex-about-surface, #f3f7fa);
}

.about-band__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.about-band:hover .about-band__media img {
    transform: scale(1.03);
}

/* Differentiators — interaction-free layout, light dividers (pas de “cards” lourdes) */
.about-diff {
    margin: 0 0 3rem;
    padding-top: 0.5rem;
    animation: cex-about-rise 0.7s ease-out 0.12s both;
}

.about-diff__header {
    margin-bottom: 1.75rem;
    max-width: 40rem;
}

.about-diff__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 3rem;
    border-top: 1px solid var(--cex-about-line, rgba(26, 35, 48, 0.1));
    padding-top: 1.75rem;
}

.about-diff__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    margin-bottom: 0.75rem;
    color: var(--cex-about-accent, #0091c8);
    font-size: 1.15rem;
}

.about-diff__title {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--cex-about-ink, #1a2330);
}

.about-diff__text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.55;
    color: var(--cex-about-muted, #5c6775);
}

/* CTA */
.about-cta {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background:
        linear-gradient(135deg, rgba(0, 145, 200, 0.08) 0%, rgba(243, 247, 250, 0.95) 45%, #fff 100%);
    border: 1px solid rgba(0, 145, 200, 0.14);
    border-radius: 22px;
    animation: cex-about-rise 0.7s ease-out 0.18s both;
}

.about-cta__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.4rem, 2.5vw, 1.75rem);
    font-weight: 800;
    color: var(--cex-about-ink, #1a2330);
}

.about-cta__text {
    margin: 0 auto 1.5rem;
    max-width: 32rem;
    color: var(--cex-about-muted, #5c6775);
    line-height: 1.55;
}

.about-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.about-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.65rem 1.35rem;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none !important;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.about-cta__btn--primary,
.about-cta__btn--primary:link,
.about-cta__btn--primary:visited,
a.about-cta__btn--primary {
    color: #ffffff !important;
    background: var(--cex-about-accent, #0091c8);
    border: 1px solid var(--cex-about-accent, #0091c8);
}

.about-cta__btn--primary:hover,
.about-cta__btn--primary:focus,
a.about-cta__btn--primary:hover {
    background: #0078a8;
    border-color: #0078a8;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.about-cta__btn--ghost,
.about-cta__btn--ghost:link,
.about-cta__btn--ghost:visited,
a.about-cta__btn--ghost {
    color: var(--cex-about-ink, #1a2330) !important;
    background: #fff;
    border: 1px solid rgba(26, 35, 48, 0.16);
}

.about-cta__btn--ghost:hover,
a.about-cta__btn--ghost:hover {
    border-color: var(--cex-about-accent, #0091c8);
    color: var(--cex-about-accent, #0091c8) !important;
    transform: translateY(-1px);
}

@media (max-width: 991.98px) {
    .about-band {
        grid-template-columns: 1fr;
        gap: 1.35rem;
        margin-bottom: 2.5rem;
    }

    .about-band--reverse .about-band__copy,
    .about-band--reverse .about-band__media {
        order: initial;
    }

    .about-band__columns,
    .about-split,
    .about-diff__grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .about-hero {
        min-height: 300px;
    }

    .about-hero__inner {
        padding: 2rem 1rem 1.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-hero__inner,
    .about-hero__media img,
    .about-band,
    .about-diff,
    .about-cta,
    .about-band__media img {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}
