

.about-profiles {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.about-profile-card {
    overflow: hidden;
    background: rgba(255, 250, 242, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 28px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(8px);
    transition: var(--transition-flows);
}

.about-profile-card:hover {
    transform: translateY(-4px);
}

.about-profile-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.35);
}

.about-profile-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.about-profile-content {
    padding: 20px 16px 22px;
}

.about-profile-content h3 {
    margin: 0 0 8px;
    color: var(--section-light-text);

    line-height: 1.2;
    font-weight: 700;
    font-family: var(--font-heading);
}

.about-profile-content p {
    margin: 0;
    color: var(--section-light-accent);

    line-height: 1.5;
    font-weight: 600;
    font-family: var(--font-body);
}

.about-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 34px;
    min-height: 78vh;
    padding: 90px 20px 70px;
    background: var(--section-light-bg);
    overflow: hidden;
    isolation: isolate;
}

.content-box {
    position: relative;
    z-index: 2;

    width: min(92%, 980px);

    margin: 0 auto;

    padding:
        clamp(2.5rem, 5vw, 4.5rem)
        clamp(1.5rem, 4vw, 4rem);

    background: rgba(255, 250, 242, 0.72);

    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 24px;

    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.content-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.about-brand-logo {
    display: block;
    width: clamp(70px, 8vw, 96px);
    height: auto;
    margin: 0 auto 1.25rem;
    border-radius: 16px;
}

.content-box h2 {
    margin-bottom: 2.5rem;

    text-align: center;

    color: var(--section-light-text);

    line-height: 1;
    font-weight: 800;

    font-family: var(--font-heading);
}

.section-kicker {
    display: block;
    width: fit-content;

    margin: 42px auto 0;

    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;

    color: var(--section-light-hover);

    text-align: center;
}

.content-box p {
    width: min(100%, 760px);

    margin: 0 auto;

    color: var(--section-light-text);

    line-height: 2;

    font-family: var(--font-body);

    text-align: left;

    text-wrap: pretty;
}

.services-marquee {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 8px 0;
    overflow: hidden;
}

.services-marquee::before,
.services-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 90px;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.services-marquee::before {
    left: 0;
    background: linear-gradient(
        90deg,
        var(--section-light-bg) 0%,
        rgba(246, 241, 232, 0) 100%
    );
}

.services-marquee::after {
    right: 0;
    background: linear-gradient(
        270deg,
        var(--section-light-bg) 0%,
        rgba(246, 241, 232, 0) 100%
    );
}

.services-track {
    display: flex;
    align-items: center;
    gap: 18px;
    width: max-content;
    will-change: transform;
}

.service-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    min-height: 54px;
    padding: 14px 24px;
    background: rgba(255, 250, 242, 0.9);
    color: var(--section-light-accent);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    box-shadow: var(--shadow-soft);

    font-weight: 600;
    white-space: nowrap;
    backdrop-filter: blur(6px);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease;
}

.service-item:hover {
    transform: translateY(-2px);
    background: var(--section-light-hover);
    color: var(--white);
    box-shadow: var(--shadow-hover);
}

.service-item::before {
    content: "";
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.95;
}

.paw-trail {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.paw {
    position: absolute;
    width: 38px;
    height: 38px;
    opacity: 0.08;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><g fill='%23c8794a'><ellipse cx='32' cy='42' rx='12' ry='10'/><circle cx='18' cy='23' r='6'/><circle cx='29' cy='16' r='6'/><circle cx='40' cy='16' r='6'/><circle cx='51' cy='23' r='6'/></g></svg>");
    animation: pawFloat 7s ease-in-out infinite;
    will-change: transform, opacity;
}

.paw-1 { left: 5%; top: 10%; animation-delay: 0s; animation-duration: 6.5s; }
.paw-2 { left: 9%; top: 28%; animation-delay: 1s; animation-duration: 7.8s; }
.paw-3 { left: 6%; top: 52%; animation-delay: 2s; animation-duration: 6.9s; }
.paw-4 { left: 10%; top: 74%; animation-delay: 3s; animation-duration: 8.2s; }

.paw-5 { right: 5%; top: 14%; animation-delay: 0.5s; animation-duration: 7.2s; }
.paw-6 { right: 9%; top: 38%; animation-delay: 1.5s; animation-duration: 6.7s; }
.paw-7 { right: 6%; top: 60%; animation-delay: 2.5s; animation-duration: 7.6s; }
.paw-8 { right: 10%; top: 82%; animation-delay: 3.5s; animation-duration: 8s; }

@keyframes pawFloat {
    0% {
        opacity: 0.04;
        transform: translateY(0) scale(0.94) rotate(-8deg);
    }
    25% {
        opacity: 0.08;
        transform: translateY(-3px) scale(0.98) rotate(-3deg);
    }
    50% {
        opacity: 0.12;
        transform: translateY(-6px) scale(1.02) rotate(3deg);
    }
    75% {
        opacity: 0.08;
        transform: translateY(-3px) scale(0.98) rotate(5deg);
    }
    100% {
        opacity: 0.04;
        transform: translateY(0) scale(0.94) rotate(-8deg);
    }
}

.duo-story {
    position: relative;
    height: 280svh;
    background: var(--section-dark-bg);
}

.duo-story > * {
    opacity: 1;
    transform: none;
}

.duo-story-sticky {
    position: sticky;
    top: 0;
    min-height: 620px;
    height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background: var(--section-dark-bg);
}

.duo-story-gallery,
.duo-story-shade,
.duo-story-image {
    position: absolute;
    inset: 0;
}

.duo-story-gallery { overflow: hidden; }

.duo-story-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.025);
    transition: opacity .7s ease, transform 1.2s ease;
}

.duo-story-image.is-active {
    opacity: 1;
    transform: scale(1);
}

.duo-story-image--rennes { object-position: center; background: #263126; }
.duo-story-image--portrait-left { object-position: center; background: #4b493e; }
.duo-story-image--landscape { object-position: 52% center; }
.duo-story-image--portrait-right {
    object-position: 62% center;
    background: #40382f;
    transform: scale(1.04) translate(-3%, 5%);
}

.duo-story-image--portrait-right.is-active {
    transform: scale(1.04) translate(-3%, 5%);
}
.duo-story-image--square { object-position: center; background: #334739; }

@media (min-width: 701px) {
    .duo-story-image--portrait-left,
    .duo-story-image--portrait-right,
    .duo-story-image--square {
        object-fit: contain;
        object-position: center;
    }
}

.duo-story-shade {
    z-index: 1;
    background: linear-gradient(270deg, rgba(15, 27, 21, .94) 0%, rgba(15, 27, 21, .7) 44%, rgba(15, 27, 21, .14) 78%);
}

.duo-story-copy {
    position: relative;
    z-index: 2;
    width: min(520px, calc(100% - 48px));
    margin-right: max(24px, calc((100vw - 1180px) / 2));
    margin-left: auto;
    display: grid;
    gap: 24px;
}

.duo-story-copy h2 {
    margin: 0 0 10px;
    color: var(--white);
    font-size: clamp(3rem, 6vw, 5.8rem);
    line-height: .95;
}

.duo-story-copy h2::after { display: none; }

.duo-story-copy p {
    max-width: 42ch;
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(1.05rem, 1.4vw, 1.22rem);
    line-height: 1.65;
}

.duo-story-step {
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px);
    transition: opacity .55s ease, transform .55s ease, visibility 0s linear .55s;
}

.duo-story-step.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
}

@media (max-width: 700px) {
    .services-track { gap: 12px; }

    .service-item {
        min-height: 44px;
        gap: 9px;
        padding: 10px 16px;
        font-size: .86rem;
    }

    .service-item::before {
        width: 15px;
        height: 15px;
        flex-basis: 15px;
    }

    .duo-story { height: 250svh; }

    .duo-story-sticky {
        min-height: 560px;
        align-items: end;
        padding-bottom: 68px;
    }

    .duo-story-shade {
        background: linear-gradient(0deg, rgba(15, 27, 21, .97) 0%, rgba(15, 27, 21, .58) 46%, rgba(15, 27, 21, .1) 82%);
    }

    .duo-story-image--rennes {
        object-fit: contain;
        object-position: center;
        background: #0f1b15;
        transform: scale(.92);
    }

    .duo-story-image--rennes.is-active {
        transform: scale(.92);
    }

    .duo-story-image--portrait-left {
        object-fit: contain;
        object-position: 62% center;
    }

    .duo-story-image--landscape { object-position: 42% center; }

    .duo-story-image--portrait-right {
        object-fit: contain;
        object-position: center;
        background: #0f1b15;
        transform: scale(.92);
    }

    .duo-story-image--portrait-right.is-active {
        transform: scale(.92);
    }
    .duo-story-image--square { object-position: 43% center; }

    .duo-story-copy {
        width: min(520px, calc(100% - 38px));
        margin-inline: auto;
    }

    .duo-story-copy h2 { font-size: clamp(2.8rem, 14vw, 4.4rem); }
}

@media (max-width: 420px) {
    .services-track { gap: 9px; }

    .service-item {
        min-height: 40px;
        gap: 7px;
        padding: 8px 12px;
        font-size: .78rem;
    }

    .service-item::before {
        width: 13px;
        height: 13px;
        flex-basis: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .duo-story-image { transition: none; }
    .duo-story-step {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }
}

/* Copyright RZU Informatique */
