/* Solutions Stockage page styles */

/* Import base styles and components */
@import "base-zW0DGQa.css";
@import "components/header-FQ0_1JI.css";
@import "components/hero_long-5E7vmgI.css";
@import "components/card_service-JwZyVJz.css";
@import "components/text_content-92yg7qr.css";
@import "components/stat-rEPf0At.css";
@import "components/cta_section-t7KgU1f.css";
@import "components/footer-cxZLcZV.css";

/* ============================================ */
/* NOS SOLUTIONS SECTION - MOBILE */
/* ============================================ */

.stockage-solutions {
    padding: 64px 16px;
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

.solution-block {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
    justify-content: space-between;
}

.solution-block__content {
    display: flex;
    flex-direction: column;
    gap: 0px;
    width: 100%;
}

.solution-block__title {
    font-family: Lora;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 38px;
    color: var(--color-bordeaux);
    margin-bottom: 0;
    padding-bottom: 32px;
}

.solution-block__subtitle {
    font-family: Lora;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    color: var(--color-bordeaux);
    margin-bottom: 0;
    padding-bottom: 12px;
}

.solution-block__subtitle--second {
    opacity: 0.4;
}

.solution-block__description {
    font-family: "Grantha Sangam MN";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    color: var(--color-bordeaux);
    margin-bottom: 0;
    margin-top: 14px;
    padding-bottom: 32px;
}

.solution-block__description--faded {
    opacity: 0.4;
}

.solution-block__images {
    position: relative;
    width: 100%;
    height: clamp(195px, 48.5vw, 333px);
}

.solution-block__image  {
    position: absolute;
    width: clamp(173px, 43.3vw, 297px);
    height: clamp(180px, 45vw, 309px);
    display: block;
    object-fit: cover;
    border-radius: clamp(10px, 2vw, 14px);
    transition: transform 0.4s ease-in-out, z-index 0s 0.2s;
}

/* Animation: slide right - preserve rotation */
.solution-block__image--back.slide-out {
    transform: translate(150%, -50%) rotate(357.087deg) !important;
}

.solution-block__image--front.slide-out {
    transform: translate(150%, -50%) rotate(4.837deg) !important;
}

.solution-block__images{
    width: clamp(173px, 43.3vw, 297px);
    height: clamp(180px, 45vw, 309px);
}

.solution-block__image--back {
    top: 50%;
    left: 50%;
    z-index: 1;
    transform: translate(-50%, -50%) rotate(357.087deg);
}

.solution-block__image--front {
    top: 50%;
    left: 50%;
    z-index: 2;
    transform: translate(-50%, -50%) rotate(4.837deg);
}

.solution-arrows {
    display: flex;
    gap: 24px;
    margin-top: 0;
}

.solution-arrow {
    display: flex;
    width: 55px;
    height: 42px;
    padding: 16px 24px;
    justify-content: center;
    align-items: center;
    border-radius: 32px;
    border: 1px solid var(--color-bordeaux);
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.solution-arrow.solution-arrow--next,
.solution-arrow.solution-arrow--prev {
    width: 68px !important;
    height: 52px !important;
}

.solution-arrow svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.solution-arrow:hover {
    background-color: var(--color-bordeaux);
}

.solution-arrow:hover svg path {
    stroke: var(--color-white);
}

/* ============================================ */
/* SÉCURITÉ & CONTRÔLE SECTION - MOBILE */
/* ============================================ */

.stockage-security {
    display: flex;
    flex-direction: column;
    gap: 54px;
    padding: 64px 16px;
    background-color: var(--color-white);
    align-items: flex-start;
}

.stockage-security__intro {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 34px;
}

.stockage-security__services {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
}

.stockage-security__services .service {
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: flex-start;
    max-width: 100%;
}

.stockage-security__services .service__icon {
    display: flex;
    width: 57px;
    height: 57px;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
}

.stockage-security__services .service__icon img {
    width: 57px;
    height: 57px;
}

.stockage-security__services .service__content {
    flex: 1;
}

.stockage-security__services .service__title {
    font-size: 20px;
    line-height: 24px;
}

/* ============================================ */
/* GALLERY SECTION - MOBILE */
/* ============================================ */

.stockage-gallery {
    position: relative;
    width: 100%;
    padding: 64px 16px;
    background-color: var(--color-white);
    min-height: clamp(400px, 80vw, 600px);
}

.stockage-gallery__container {
    position: relative;
    width: 100%;
    height: clamp(400px, 80vw, 600px);
    margin: 0 auto;
    max-width: 900px;
}

.stockage-gallery__item {
    border-radius: clamp(12px, 2vw, 20px);
    position: absolute;
    overflow: hidden;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.stockage-gallery__item--small {
    width: clamp(200px, 40vw, 320px);
    height: clamp(250px, 50vw, 400px);
    left: 0;
    top: clamp(20px, 4vw, 40px);
}

.stockage-gallery__item--small::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.stockage-gallery__item--top {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(300px, 60vw, 550px);
    height: auto;
}

.stockage-gallery__item--top img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.stockage-gallery__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================ */
/* CTA SECTION */
/* ============================================ */

.final-cta__title {
    color: var(--color-bordeaux, var(--color-bordeaux));
    text-align: center;
    font-family: Lora;
    font-size: 48px;
    font-style: normal;
    font-weight: 600;
    line-height: 50px;
    max-width: 628px;
}

/* ============================================ */
/* RESPONSIVE - MOBILE (max-width: 720px) */
/* ============================================ */

@media (max-width: 720px) {
    .solution-block__image {
        width: 80vw;
        height: 80vw;
    }
    .solution-block__images {
        width: 100vw;
        height: 100vw;
    }
}

/* ============================================ */
/* RESPONSIVE - MOBILE (max-width: 550px) */
/* ============================================ */

@media (max-width: 1024px) {
    .stockage-gallery {
        padding-bottom: 0;
    }
}

@media (max-width: 550px) {
    .stockage-gallery__item--small {
        top: 0;
    }
}

/* ============================================ */
/* RESPONSIVE - TABLET (min-width: 721px) */
/* ============================================ */

@media (min-width: 721px) {
    .solution-block {
        flex-direction: row;
        gap: clamp(16px, 4vw, 32px);
        align-items: flex-start;
    }

    .solution-block__image {
        width: clamp(297px, 44vw, 623px);
        height: clamp(309px, 46vw, 648px);
        border-radius: clamp(14px, 1.7vw, 24px);
    }

    .solution-block__images {
        flex: 0 0 auto;
        width: clamp(343px, 48vw, 673px);
        height: clamp(333px, 50vw, 698px);
        max-width: none;
    }
    .solution-block__content {
        flex: 0 0 auto;
        max-width: 350px;
    }

    .solution-block__images {
        flex: 0 0 auto;
    }
}

/* ============================================ */
/* RESPONSIVE - DESKTOP (min-width: 1025px) */
/* ============================================ */

@media (min-width: 1025px) {
    .stockage-solutions, .stockage-security, .stockage-gallery {
        padding: 120px 24px;
        align-items: flex-start;
    }

    .solution-block {
        flex-direction: row;
        gap: 32px;
        align-items: center;
        justify-content: space-between;
    }

    .solution-block__content {
        flex: 0 0 auto;
        width: 40%;
        max-width: 496px;
        gap: clamp(24px, 2.5vw, 34px);
    }

    .solution-block__title {
        font-size: clamp(32px, 2.5vw, 36px);
        line-height: clamp(38px, 3vw, 42px);
    }

    .solution-block__subtitle {
        font-size: clamp(20px, 1.7vw, 24px);
        line-height: clamp(24px, 2.2vw, 30px);
    }

    .solution-block__description {
        font-size: clamp(16px, 1.4vw, 20px);
        line-height: clamp(18px, 1.8vw, 26px);
        margin-top: 14px;
    }

    .solution-block__images {
        flex: 1 1 auto;
        max-width: 673px;
        aspect-ratio: 673 / 698;
    }

    .solution-block__image {
        width: 92%;
        aspect-ratio: 623 / 648;
        height: auto;
        border-radius: clamp(14px, 1.7vw, 24px);
    }

    .solution-block__image--back {
        top: 50%;
        left: 50%;
        z-index: 1;
        transform: translate(-50%, -50%) rotate(357.087deg);
    }

    .solution-block__image--front {
        top: 50%;
        left: 50%;
        z-index: 2;
        transform: translate(-50%, -50%) rotate(4.837deg);
    }

    .solution-arrows {
        margin-top: 0;
    }

    .solution-arrow {
        width: clamp(55px, 4.8vw, 68px);
        height: clamp(42px, 3.7vw, 52px);
    }

    .stockage-security {
        flex-direction: row;
        gap: 32px;
        align-items: flex-start;
    }

    .stockage-security__intro {
        flex: 0 0 auto;
        width: clamp(343px, 35vw, 496px);
        max-width: clamp(343px, 35vw, 496px);
        gap: clamp(24px, 2.5vw, 34px);
    }

    .stockage-security__services {
        flex: 1;
        display: flex;
        flex-direction: row;
        gap: clamp(16px, 2vw, 24px);
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .stockage-security__services .service {
        flex-direction: column;
        width: clamp(200px, 22vw, 313px);
        max-width: clamp(200px, 22vw, 313px);
        align-items: center;
    }

    .stockage-security__services .service__icon {
        width: clamp(57px, 6.8vw, 96px);
        height: clamp(57px, 6.8vw, 96px);
    }

    .stockage-security__services .service__icon img {
        width: clamp(57px, 6.8vw, 96px);
        height: clamp(57px, 6.8vw, 96px);
    }

    .stockage-security__services .service__title {
        font-size: clamp(20px, 1.7vw, 24px);
        line-height: clamp(24px, 2.4vw, 34px);
    }

    .stockage-gallery {
        min-height: clamp(400px, 60vw, 1022px);
    }

    .stockage-gallery__container {
        width: 100%;
        max-width: 1278px;
        height: clamp(400px, 60vw, 1022px);
        position: relative;
        margin: 0 auto;
    }

    .stockage-gallery__item {
        border-radius: clamp(14px, 1.7vw, 24px);
        position: absolute;
        overflow: hidden;
    }

    .stockage-gallery__item--small {
        width: clamp(250px, 28.5vw, 365px);
        height: clamp(312px, 35.6vw, 456px);
        left: 0;
        top: 0;
    }

    .stockage-gallery__item--small::before {
        content: '';
        display: block;
        width: 100%;
        height: 100%;
        background-image: inherit;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .stockage-gallery__item--top {
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: auto;
        height: auto;
        max-width: clamp(500px, 64vw, 900px);
    }

    .stockage-gallery__item--top img {
        display: block;
        width: 100%;
        height: 100%;
        max-width: clamp(500px, 64vw, 900px);
        object-fit: contain;
    }
}

/* ============================================ */
/* RESPONSIVE - DESKTOP (min-width: 1200px) */
/* ============================================ */

@media (min-width: 1200px) {
    .stockage-solutions, .stockage-security, .stockage-gallery {
        padding: 120px 100px;
    }

    .solution-block__content {
        flex: 0 0 auto;
        max-width: 496px;
        gap: unset;
    }
}

/* ============================================ */
/* RESPONSIVE - LARGE DESKTOP (min-width: 1600px) */
/* ============================================ */

@media (min-width: 1600px) {
    .stockage-solutions, .stockage-security, .stockage-gallery {
        max-width: 1550px;
        padding: 120px 192px;
    }
}

/* ============================================ */
/* RESPONSIVE - EXTRA LARGE DESKTOP (min-width: 1920px) */
/* ============================================ */

@media (min-width: 1920px) {
    .stockage-solutions, .stockage-security, .stockage-gallery {
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        padding-right: 0;
        min-width: 1550px;
    }
}
