/* ============================================================
   SECTIONS — Layout plein écran
   ============================================================ */

section {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease, visibility 0.45s ease;
    z-index: 1;
}

section.visible {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

/* Container centré de chaque section */
.section-inner {
    width: 88%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding-top: 100px; /* compense la nav */
    gap: 0;
}

/* ══ LOGO — côté gauche ══ */
.service-logo-wrap {
    flex: 0 0 46%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-right: 30px;
}

.service-logo-wrap a {
    display: inline-block;
    opacity: 0;
}

/* Animation déclenchée quand la section devient visible */
section.visible .service-logo-wrap a {
    animation: slide-in-left 0.65s 0.08s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.service-logo-wrap img {
    max-width: 100%;
    width: auto;
    max-height: 220px;
    object-fit: contain;
    filter: drop-shadow(0 6px 28px rgba(0, 0, 0, 0.5));
    transform: scale(1);
    transition: transform 300ms ease, filter 300ms ease;
}

.service-logo-wrap a:hover img {
    transform: scale(1.08);
    filter: drop-shadow(0 10px 40px rgba(255, 255, 255, 0.12));
}

/* ══ BARRE SÉPARATRICE ══ */
.service-divider {
    flex: 0 0 2px;
    width: 2px;
    height: 260px;
    align-self: center;
    opacity: 0;
    transform-origin: center top;
    transform: scaleY(0);
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.45) 20%,
        rgba(255, 255, 255, 0.45) 80%,
        transparent 100%
    );
    border-radius: 2px;
}

section.visible .service-divider {
    animation: grow-bar 0.45s 0.3s ease-out forwards;
}

/* ══ TEXTE — côté droit ══ */
.service-content {
    flex: 1;
    padding-left: 52px;
    opacity: 0;
    transform: translateX(16px);
}

section.visible .service-content {
    animation: fade-in-up 0.65s 0.18s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.service-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
    margin-bottom: 18px;
}

.service-content p {
    font-size: 17px;
    line-height: 1.80;
    color: rgba(255, 255, 255, 0.80);
    font-weight: 300;
    max-width: 530px;
    margin: 0 0 24px;
}

/* Bouton CTA */
.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.25s ease;
    cursor: pointer;
}

.service-cta:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.45);
    color: white;
    transform: translateY(-2px);
}

.service-cta .arrow {
    transition: transform 0.22s ease;
}

.service-cta:hover .arrow {
    transform: translateX(4px);
}

.copyright {
    display: block;
    margin-top: 30px;
    font-size: 12px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.04em;
}

/* ══ DOTS NAVIGATION latéraux ══ */
.section-dots {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 11px;
    z-index: 50;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.18);
    cursor: pointer;
    transition: all 0.30s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.50);
    transform: scale(1.3);
}

.dot.active {
    background: rgba(255, 255, 255, 0.90);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.45);
    height: 26px;
    border-radius: 4px;
    border-color: transparent;
}

/* ══ RESPONSIVE mobile ══ */
@media (max-width: 860px) {
    .section-dots { display: none; }

    .section-inner {
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        padding-top: 80px;
    }

    .service-logo-wrap {
        flex: none;
        width: 100%;
        padding-right: 0;
        justify-content: center;
    }

    .service-logo-wrap img { max-height: 140px; }

    .service-divider { display: none; }

    .service-content {
        flex: none;
        width: 100%;
        padding-left: 0;
        text-align: center;
    }

    .service-content p {
        font-size: 15px;
        margin: 0 auto 20px;
    }

    .service-cta {
        display: inline-flex;
        margin: 0 auto;
    }
}