@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Poppins:wght@500;600;700&display=swap");

:root {
    --green: #97CF52;
    --green-dark: #0B472B;
    --beige: #EFE7E2;
    --text-dark: #173D2C;
    --text-muted: #5E665F;
    --white-soft: #F8F8F6;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, .08);
    --shadow-card: 0 24px 60px rgba(0, 0, 0, .16);
    --transition: transform .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--white-soft);
    color: var(--text-muted);
    font-family: "Montserrat", "Trebuchet MS", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.site-shell {
    min-height: 100vh;
    padding: 14px;
}

.hero {
    position: relative;
    --left-card-width: 450px;
    min-height: clamp(630px, 92vh, 760px);
    overflow: hidden;
    isolation: isolate;
    border-radius: 28px;
    background-color: var(--green-dark); /* Base color behind slides */
}

.hero-carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 0;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 30px;
    display: flex;
    gap: 12px;
    z-index: 3;
}

.indicator-dot {
    position: relative;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    overflow: hidden;
    transition: width 0.4s ease, background 0.3s ease, transform 0.3s ease, border-radius 0.4s ease;
}

.indicator-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.indicator-dot.active {
    width: 48px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1);
}

.indicator-dot.active::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #fff;
    border-radius: 999px;
    animation: fill-pill 7s linear forwards;
}

@keyframes fill-pill {
    0% { width: 0%; }
    100% { width: 100%; }
}

.hero-carousel::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.3) 100%
        );
}

.hero-header {
    position: absolute;
    top: 32px;
    left: 50%;
    z-index: 1000;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    width: calc(100% - 80px);
    transform: translateX(-50%);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-header.scrolled {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 120px);
}

.brand-pill,
.nav-pill,
.cta-dropdown {
    min-height: 52px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition);
}

.scrolled .brand-pill,
.scrolled .nav-pill,
.scrolled .cta-dropdown {
    background: rgba(255, 255, 255, .75);
    border: 1px solid rgba(255, 255, 255, .2);
}

.brand-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    width: 170px;
    flex: 0 0 170px;
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(8px);
}

.cta-dropdown {
    width: 170px;
    flex: 0 0 170px;
}

/* brand-mark and brand-name removed */

.nav-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    gap: 12px;
    padding: 0 8px 0 clamp(16px, 2vw, 32px);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: clamp(13px, 1.8vw, 34px);
    min-width: 0;
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.nav-menu a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-actions a:hover,
.cta-dropdown:hover,
.brand-pill:hover {
    color: var(--green-dark);
    transform: translateY(-2px);
}

.nav-menu svg {
    width: 13px;
    height: 13px;
    stroke-width: 2.4;
}

.nav-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
}

.search {
    display: flex;
    flex: 0 0 clamp(142px, 15vw, 180px);
    align-items: center;
    gap: 10px;
    width: clamp(142px, 15vw, 180px);
    height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(11, 71, 43, .08);
    border-radius: 999px;
    background: rgba(151, 207, 82, .18);
    color: var(--text-dark);
}

.search svg,
.cart-btn svg,
.shop-btn svg,
.explore-btn svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.2;
}

.search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 500;
}

.search input::placeholder {
    color: rgba(23, 61, 44, .72);
}

.cart-btn {
    display: inline-flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(11, 71, 43, .08);
    border-radius: 999px;
    background: rgba(151, 207, 82, .18);
    color: var(--text-dark);
    transition: var(--transition);
}

.cta-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition);
}

.cta-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 0 20px;
    outline: none;
}

.cta-trigger svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.5;
    transition: transform 0.3s ease;
}

.cta-dropdown:hover .cta-trigger svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 260px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px;
    margin: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transform-origin: top right;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
}

.cta-dropdown:hover .dropdown-menu,
.cta-dropdown.dropdown-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 600;
    border-radius: 12px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    width: 100%;
}

.dropdown-item:hover {
    background: var(--green);
    color: var(--green-dark);
    transform: translateX(4px);
}

.dropdown-item svg {
    width: 15px;
    height: 15px;
    stroke-width: 2.2;
}

.dropdown-text {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 18px;
    overflow: hidden;
}

.default-text {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.hover-text {
    position: absolute;
    left: 0;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    font-weight: 600;
}

.dropdown-item:hover .default-text {
    opacity: 0;
    transform: translateY(-100%);
}

.dropdown-item:hover .hover-text {
    opacity: 1;
    transform: translateY(0);
}

.hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.left-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 52px;
    width: min(500px, calc(100% - 104px));
}

.hero-title {
    margin: 0;
    color: #fff;
    font-size: clamp(58px, 7.55vw, 72px);
    font-weight: 500;
    letter-spacing: -3px;
    line-height: .95;
    font-family: "Poppins", sans-serif;
}

.shop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 170px;
    height: 56px;
    margin-top: 34px;
    border: 1.5px solid rgba(255, 255, 255, .7);
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.shop-btn:hover {
    background: #fff;
    color: var(--green-dark);
    transform: translateY(-2px);
}

.rating-card {
    position: absolute;
    top: 126px;
    right: 42px;
    width: 280px;
    height: 190px;
    padding: 24px;
    border-radius: 28px;
    background: var(--green);
    color: #fff;
    box-shadow: var(--shadow-soft);
}

.rating-topline {
    display: flex;
    align-items: flex-start;
    gap: 7px;
}

.rating-number {
    font-size: 54px;
    font-weight: 500;
    letter-spacing: -2px;
    line-height: .88;
}

.rating-topline svg {
    width: 22px;
    height: 22px;
    margin-top: 4px;
    fill: currentColor;
    stroke-width: 1.8;
}

.rating-card p {
    max-width: 128px;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, .84);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
}

.avatar-group {
    position: absolute;
    left: 24px;
    bottom: 24px;
    display: flex;
}

.avatar {
    width: 34px;
    height: 34px;
    margin-left: -8px;
    border: 2px solid var(--green);
    border-radius: 50%;
    object-fit: cover;
}

.avatar:first-child {
    margin-left: 0;
}

.circle-icon {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--green-dark);
    color: var(--green);
}

.circle-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.2;
}

.floating-arrow {
    position: absolute;
    left: calc(82px + var(--left-card-width) - 83px);
    bottom: 193px;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--green);
    color: var(--green-dark);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.floating-arrow:hover {
    background: #fff;
    transform: translateY(-2px);
}

.floating-arrow svg {
    width: 23px;
    height: 23px;
    stroke-width: 2.4;
}

.product-card {
    position: absolute;
    bottom: 38px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 18px;
    width: 450px;
    height: 210px;
    padding: 18px;
    overflow: hidden;
    border-radius: 28px;
    background: rgba(239, 231, 226, .96);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(4px);
}

.product-card-left {
    left: 54px;
    isolation: isolate;
    width: var(--left-card-width);
    height: 210px;
    padding: 18px;
    gap: 18px;
    overflow: visible;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    clip-path: path("M 28 0 H 340 C 368 0 382 14 382 42 C 382 68 398 84 420 84 C 438 84 450 96 450 114 V 182 C 450 198 438 210 422 210 H 28 C 12 210 0 198 0 182 V 28 C 0 12 12 0 28 0 Z");
}

.product-card-left::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(239, 231, 226, .96);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transform: translateZ(0);
}

.product-card-right {
    right: 42px;
    bottom: 36px;
}

.product-image-wrap {
    flex: 0 0 180px;
    width: 180px;
    height: 180px;
    overflow: hidden;
    border-radius: 22px;
    background: #DDE4EA;
}

.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.controller-wrap {
    flex-basis: 150px;
    width: 150px;
    background: #DFE2DC;
}

.product-card-left .product-image-wrap {
    flex-basis: 150px;
    width: 150px;
    height: 174px;
    border-radius: 22px;
}

.product-card-left .product-copy {
    padding-right: 0;
    transform: translateY(24px);
}

.product-card-left .product-copy h2 {
    font-size: 17px;
    letter-spacing: -.2px;
}

.product-card-left .product-copy p {
    max-width: 158px;
    font-size: 13px;
    line-height: 1.35;
}

.product-card-left .small-btn {
    height: 32px;
    margin-top: 12px;
    padding: 0 14px;
    font-size: 11px;
}

.product-copy {
    min-width: 0;
}

.product-copy h2 {
    margin: 0;
    color: #1B3A2E;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -.2px;
    line-height: 1.15;
}

.product-copy p {
    margin: 10px 0 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

.small-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    margin-top: 20px;
    padding: 0 18px;
    border: 1px solid #35644E;
    border-radius: 999px;
    color: var(--text-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .35px;
    transition: var(--transition);
}

.small-btn:hover {
    background: var(--green-dark);
    color: #fff;
    transform: translateY(-2px);
}

.explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 48px;
    margin-top: 18px;
    padding: 0 24px;
    border-radius: 999px;
    background: #004B2F;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.explore-btn:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
}

.trusted-section {
    position: relative;
    padding: clamp(54px, 7vw, 88px) 0 clamp(46px, 6vw, 72px);
    overflow: hidden;
    background: var(--white-soft);
}

.trusted-copy {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto 28px;
    color: var(--text-dark);
    text-align: center;
}

.trusted-copy h2 {
    max-width: 720px;
    margin: 0 auto;
    color: #2B3D35;
    font-size: 38px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1;
    text-wrap: balance;
    font-family: "Poppins", sans-serif;
}

.trusted-accent {
    color: var(--green);
}

.trusted-marquee {
    position: relative;
    width: 100%;
    padding: 2px 0;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
}

.trusted-track {
    display: flex;
    width: max-content;
    gap: 18px;
    animation: trusted-scroll 48s linear infinite;
    will-change: transform;
}

.trusted-marquee:hover .trusted-track {
    animation-play-state: paused;
}

.trusted-group {
    display: flex;
    flex: 0 0 auto;
    gap: 18px;
    padding: 10px 0;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(150px, 17vw, 220px);
    height: 96px;
    padding: 16px;
    border: 1px solid rgba(11, 71, 43, .08);
    border-radius: 16px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 10px 24px rgba(23, 61, 44, .045);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) contrast(1.2);
    opacity: .88;
}

.trusted-next {
    margin: 24px auto 0;
    color: #2B3D35;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
}

@keyframes trusted-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(calc(-50% - 16px), 0, 0);
    }
}

/* Nos Réalisations Section */
.realisations-section {
    position: relative;
    padding: clamp(54px, 7vw, 88px) 0 clamp(46px, 6vw, 72px);
    overflow: hidden;
    background: var(--white-soft);
}

.realisations-subtitle {
    margin: 16px auto 0;
    color: rgba(23, 61, 44, .72);
    font-size: 18px;
    font-weight: 500;
}

.realisations-marquee {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 12px 0;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
}

.realisations-track {
    display: flex;
    width: max-content;
    gap: 24px;
    animation: realisations-scroll 50s linear infinite;
    will-change: transform;
}

.realisations-track.track-reverse {
    animation: realisations-scroll-reverse 45s linear infinite;
}

.realisations-marquee:hover .realisations-track {
    animation-play-state: paused;
}

.realisations-group {
    display: flex;
    flex: 0 0 auto;
    gap: 24px;
    padding: 10px 0;
}

.realisation-item {
    width: clamp(180px, 18.75vw, 270px);
    height: clamp(120px, 12vw, 180px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    cursor: pointer;
}

.realisation-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.realisation-item img[src*="t%C3%A9l%C3%A9charger%20(3).jpg"] {
    object-position: right center;
}

.realisation-item:hover {
    transform: translateY(-4px);
}

.realisation-item:hover img {
    transform: scale(1.05);
}

@keyframes realisations-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(calc(-50% - 12px), 0, 0);
    }
}

@keyframes realisations-scroll-reverse {
    from {
        transform: translate3d(calc(-50% - 12px), 0, 0);
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

.expertise-section {
    background: var(--white-soft);
    padding: clamp(54px, 7vw, 88px) 0 clamp(46px, 6vw, 72px);
}

.expertise-header {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(320px, .7fr);
    gap: 32px;
    align-items: end;
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto 30px;
}

.section-kicker {
    grid-column: 1 / -1;
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.expertise-header h2 {
    margin: 0;
    color: #173D2C;
    font-size: 42px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.05;
    font-family: "Poppins", sans-serif;
}

.expertise-header p {
    max-width: 520px;
    margin: 0;
    color: rgba(23, 61, 44, .72);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.65;
}

.expertise-grid {
    display: flex;
    gap: 18px;
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.expertise-card {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 400px;
    overflow: hidden;
    border-radius: 22px;
    background: #0B472B;
    transition: flex 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.expertise-card-infra:hover {
    flex: 2;
}

.expertise-card-digital:hover {
    flex: 2;
}

.expertise-card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.expertise-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expertise-card-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 71, 43, .2) 0%, rgba(0, 0, 0, .75) 100%);
}

.expertise-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100%;
    padding: 30px;
}

.expertise-card h3 {
    margin: 0;
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.1;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.expertise-card-infra h3 {
    text-align: right;
}

.expertise-card-digital h3 {
    text-align: left;
}

.expertise-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: max-height 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.15s,
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.15s;
}

.expertise-card-infra .expertise-details {
    text-align: right;
}

.expertise-card-digital .expertise-details {
    text-align: left;
}

.expertise-card p {
    max-width: 400px;
    margin: 0 0 20px;
    color: rgba(255, 255, 255, .9);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
}

.expertise-card-infra p {
    margin-left: auto;
}

.expertise-card-digital p {
    margin-right: auto;
}

.expertise-services {
    display: grid;
    gap: 10px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.expertise-services li {
    position: relative;
    padding-left: 24px;
    color: rgba(255, 255, 255, .85);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.expertise-card-infra .expertise-services li {
    padding-left: 0;
    padding-right: 24px;
}

.expertise-card-infra .expertise-services li::before {
    right: 0;
    left: auto;
}

.expertise-services li::before {
    content: "";
    position: absolute;
    top: .5em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
}

.expertise-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--green);
    color: var(--green-dark);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.expertise-card-infra .expertise-link {
    margin-left: auto;
}

.expertise-card-digital .expertise-link {
    margin-right: auto;
}

.expertise-link:hover {
    background: #fff;
    transform: translateY(-2px);
}

.expertise-link svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.2;
}

.expertise-card:hover .expertise-details {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 24px;
}

.site-footer {
    display: grid;
    gap: 0;
    background: var(--white-soft);
    padding: 0;
}

.footer-showcase {
    position: relative;
    min-height: clamp(340px, 32vw, 420px);
    overflow: hidden;
    border-radius: 24px;
    background: #07110d;
    isolation: isolate;
}

.footer-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        url("assets/images/Last.webp");
    background-position: center;
    background-size: cover;
    transform: scale(1.03);
}

.footer-showcase::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, .045) 0,
            rgba(255, 255, 255, .045) 1px,
            transparent 1px,
            transparent 92px
        );
    opacity: .18;
    mix-blend-mode: screen;
}

.footer-cta {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    width: min(700px, calc(100% - 32px));
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-align: center;
    transform: translate(-50%, -50%);
}

.footer-cta h2 {
    max-width: 640px;
    margin: 0;
    color: #fff;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.35;
    text-wrap: balance;
}

.footer-main-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 46px;
    margin-top: 18px;
    padding: 6px 8px 6px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .96);
    color: #07110d;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .3);
    transition: var(--transition);
}

.footer-main-link svg {
    width: 34px;
    height: 34px;
    padding: 9px;
    border-radius: 999px;
    background: #101915;
    color: #fff;
    stroke-width: 2.2;
    transition: var(--transition);
}

.footer-main-link:hover {
    transform: translateY(-3px);
}

.footer-main-link:hover svg {
    background: var(--green);
    color: var(--green-dark);
    transform: rotate(12deg);
}

.footer-card {
    position: relative;
    width: min(220px, calc(100% - 48px));
    padding: 14px;
    margin-top: 24px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    background: rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .88);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.footer-card-label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, .62);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.footer-card-location {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-card-location-icon {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    color: var(--green-dark);
}

.footer-card-location-icon svg {
    width: 15px;
    height: 15px;
    stroke-width: 2.2;
}

.footer-card-location-text {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.footer-bottom {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: calc(100% - 120px);
    max-width: 1000px;
    /* height: 64px; */ /* Supprimé pour permettre au contenu de s'adapter */
    padding: 16px 32px; /* Ajout d'un padding vertical pour l'espace */
    border-radius: 24px 24px 0 0;
    background: var(--white-soft);
    z-index: 1;
}

.footer-bottom::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: -24px;
    width: 24px;
    height: 24px;
    background: radial-gradient(circle at 0 0, transparent 23.5px, var(--white-soft) 24px);
}

.footer-bottom::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: -24px;
    width: 24px;
    height: 24px;
    background: radial-gradient(circle at 100% 0, transparent 23.5px, var(--white-soft) 24px);
}

.site-footer {
    display: grid;
    gap: 0;
    background: var(--white-soft);
    padding: 0;
}

.footer-showcase {
    position: relative;
    min-height: clamp(340px, 32vw, 420px);
    overflow: hidden;
    border-radius: 24px;
    background: #07110d;
    isolation: isolate;
}

.footer-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(90deg, rgba(7, 17, 13, .9) 0%, rgba(7, 17, 13, .55) 46%, rgba(7, 17, 13, .86) 100%),
        linear-gradient(180deg, rgba(7, 17, 13, .2) 0%, rgba(7, 17, 13, .9) 100%),
        url("assets/images/Last.webp");
    background-position: center;
    background-size: cover;
    transform: scale(1.03);
}

.footer-showcase::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, .045) 0,
            rgba(255, 255, 255, .045) 1px,
            transparent 1px,
            transparent 92px
        );
    opacity: .18;
    mix-blend-mode: screen;
}

.footer-cta {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    width: min(700px, calc(100% - 32px));
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-align: center;
    transform: translate(-50%, -50%);
}

.footer-cta h2 {
    max-width: 640px;
    margin: 0;
    color: #fff;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.35;
    text-wrap: balance;
}

.footer-main-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 46px;
    margin-top: 18px;
    padding: 6px 8px 6px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .96);
    color: #07110d;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .3);
    transition: var(--transition);
}

.footer-main-link svg {
    width: 34px;
    height: 34px;
    padding: 9px;
    border-radius: 999px;
    background: #101915;
    color: #fff;
    stroke-width: 2.2;
    transition: var(--transition);
}

.footer-main-link:hover {
    transform: translateY(-3px);
}

.footer-main-link:hover svg {
    background: var(--green);
    color: var(--green-dark);
    transform: rotate(12deg);
}

.footer-card {
    position: relative;
    width: min(220px, calc(100% - 48px));
    padding: 14px;
    margin-top: 24px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    background: rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .88);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.footer-card-label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, .62);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.footer-card-location {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-card-location-icon {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    color: var(--green-dark);
}

.footer-card-location-icon svg {
    width: 15px;
    height: 15px;
    stroke-width: 2.2;
}

.footer-card-location-text {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.footer-bottom {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: calc(100% - 120px);
    max-width: 1000px;
    height: 64px;
    padding: 0 32px;
    border-radius: 24px 24px 0 0;
    background: var(--white-soft);
}

.footer-bottom::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: -24px;
    width: 24px;
    height: 24px;
    background: radial-gradient(circle at 0 0, transparent 23.5px, var(--white-soft) 24px);
}

.footer-bottom::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: -24px;
    width: 24px;
    height: 24px;
    background: radial-gradient(circle at 100% 0, transparent 23.5px, var(--white-soft) 24px);
}

.footer-copy {
    margin: 0;
    color: #1a2e23;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
}

.footer-copy strong {
    font-weight: 700;
    color: #0B472B;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-socials a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f4f1;
    color: #1a3329;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-socials svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    fill: none;
    color: #1a3329;
}

.footer-socials a:hover {
    background: var(--green);
    color: var(--green-dark);
    transform: translateY(-2px);
}

.footer-main-link:focus-visible,
.footer-socials a:focus-visible {
    outline: 3px solid rgba(151, 207, 82, .65);
    outline-offset: 4px;
}

.service-page {
    min-height: 100vh;
    padding: 18px;
    background: var(--white-soft);
}

.service-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    margin: 0 0 16px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(151, 207, 82, .18);
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.service-back:hover {
    background: rgba(151, 207, 82, .28);
    transform: translateY(-2px);
}

.service-back:focus-visible {
    outline: 3px solid rgba(151, 207, 82, .55);
    outline-offset: 4px;
}

.service-back svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.2;
}

.service-detail {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(320px, .6fr);
    gap: 28px;
    align-items: stretch;
    min-height: calc(100vh - 98px);
    padding: clamp(42px, 7vw, 88px);
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .84), rgba(239, 231, 226, .55)),
        var(--beige);
}

.service-detail-infra {
    background:
        linear-gradient(135deg, rgba(151, 207, 82, .2), rgba(255, 255, 255, .78) 46%, rgba(239, 231, 226, .58)),
        var(--beige);
}

.service-detail-digital {
    background:
        linear-gradient(135deg, rgba(74, 144, 128, .18), rgba(255, 255, 255, .8) 46%, rgba(239, 231, 226, .58)),
        var(--beige);
}

.service-detail-copy {
    align-self: center;
}

.service-detail-copy h1 {
    max-width: 760px;
    margin: 16px 0 0;
    color: #173D2C;
    font-size: 58px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: .98;
}

.service-detail-copy p {
    max-width: 620px;
    margin: 24px 0 0;
    color: rgba(23, 61, 44, .74);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.65;
}

.service-detail-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
    min-height: 360px;
    padding: 30px;
    border: 1px solid rgba(11, 71, 43, .08);
    border-radius: 22px;
    background: rgba(255, 255, 255, .76);
    box-shadow: 0 18px 44px rgba(23, 61, 44, .075);
}

.service-detail-panel h2 {
    margin: 0;
    color: #173D2C;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0;
}

@media (max-width: 1180px) {
    .hero {
        --left-card-width: 370px;
    }

    .product-card-left::before {
        clip-path: path("M 28 0 H 346 C 372 0 394 22 394 48 C 394 76 416 96 444 96 H 450 V 182 C 450 198 438 210 422 210 H 28 C 12 210 0 198 0 182 V 28 C 0 12 12 0 28 0 Z");
    }

    .nav-pill {
        padding-left: 16px;
    }

    .nav-menu {
        gap: 8px;
        font-size: 12px;
    }

    .search {
        flex-basis: 140px;
        width: 140px;
        padding-inline: 14px;
    }
}

@media (max-width: 860px) {
    .hero {
        min-height: 860px;
    }

    .nav-menu {
        display: none;
    }

    .left-content {
        left: 34px;
    }

    .rating-card {
        right: 34px;
    }

    .product-card {
        width: calc(50% - 42px);
        min-width: 0;
    }

    .product-image-wrap {
        flex-basis: 46%;
        width: 46%;
    }

    .controller-wrap {
        flex-basis: 42%;
        width: 42%;
    }

    .trusted-copy {
        width: min(100% - 36px, 860px);
    }

    .expertise-section {
        padding-top: clamp(42px, 5vw, 54px);
        padding-bottom: clamp(46px, 6vw, 72px);
        padding-bottom: clamp(46px, 6vw, 72px);
    }

    .expertise-header,
    .expertise-grid {
        width: min(100% - 36px, 860px);
    }

    .expertise-header {
        grid-template-columns: 1fr;
        gap: 14px;
        align-items: start;
        text-align: center;
    }

    .expertise-header h2 {
        font-size: 36px;
    }

    .expertise-header p {
        max-width: 680px;
    }

    .section-kicker {
        text-align: center;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .expertise-card {
        min-height: auto;
    }

    .footer-showcase {
        min-height: 260px;
    }

    .footer-bottom {
        width: calc(100% - 40px);
        padding: 0 24px;
    }


    .service-detail {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 44px;
    }

    .service-detail-copy h1 {
        font-size: 44px;
    }

    .service-detail-panel {
        align-self: stretch;
    }
}

@media (max-width: 760px) {
    .site-shell {
        padding: 10px;
    }

    .hero {
        min-height: 78vh;
        border-radius: 24px;
    }

    .carousel-slide:nth-child(3) {
        background-position: 70% center;
    }

    .hero-header {
        position: absolute;
        top: 14px;
        left: 50%;
        transform: translateX(-50%);
        grid-template-columns: auto auto;
        justify-content: space-between;
        width: calc(100% - 28px);
        gap: 16px;
    }

    .hero-header.scrolled {
        width: calc(100% - 28px);
    }

    .nav-pill {
        display: none;
    }

    .search {
        display: none;
    }

    .brand-pill,
    .cta-dropdown {
        width: 130px !important;
        flex-basis: 130px !important;
    }

    .cta-dropdown {
        height: 42px;
        min-height: 42px;
    }

    .cta-trigger {
        padding: 0 12px;
        font-size: 13px;
    }
    
    .dropdown-menu {
        width: 240px;
    }

    .cart-btn {
        width: 38px;
        height: 38px;
    }

    .hero-content {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 24px;
        padding: 300px 18px 100px;
        justify-content: flex-end;
    }

    .left-content,
    .product-card {
        position: static;
        width: 100%;
        top: auto;
        transform: none;
    }

    .product-card {
        display: none;
    }

    .rating-card {
        position: relative;
        top: auto;
        right: auto;
        align-self: stretch;
        width: auto;
    }

    .left-content {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: 60px;
    }

    .rating-card {
        order: 2;
        height: 190px;
    }

    .product-card-left {
        order: 4;
    }

    .product-card-right {
        order: 5;
    }

    .floating-arrow {
        position: static;
        order: 3;
        margin: -4px auto;
        transform: none;
    }

    .floating-arrow:hover {
        transform: translateY(-2px);
    }

    .hero-title {
        font-size: clamp(44px, 13vw, 62px);
        letter-spacing: -2px;
    }

    .product-card {
        height: auto;
        min-height: 210px;
        align-self: stretch;
        width: auto;
    }

    .product-card-left::before {
        clip-path: none;
    }

    .carousel-indicators {
        left: 50%;
        transform: translateX(-50%);
        bottom: 20px;
    }

    .trusted-section {
        padding-top: clamp(42px, 5vw, 54px);
        padding-bottom: clamp(46px, 6vw, 72px);
    }

    .trusted-copy {
        width: calc(100% - 32px);
        margin-bottom: 20px;
    }

    .trusted-copy h2 {
        font-size: 30px;
        letter-spacing: 0;
    }

    .trusted-track,
    .trusted-group {
        gap: 12px;
    }

    .client-logo {
        width: 150px;
        height: 78px;
        padding: 12px;
        border-radius: 14px;
    }

    .trusted-next {
        font-size: 17px;
    }

    .expertise-section {
        padding-top: clamp(42px, 5vw, 54px);
        padding-bottom: clamp(46px, 6vw, 72px);
        padding-bottom: clamp(46px, 6vw, 72px);
    }

    .expertise-header,
    .expertise-grid {
        width: calc(100% - 32px);
    }

    .expertise-grid {
        flex-direction: column;
    }

    .expertise-card {
        min-height: 280px;
        padding: 24px;
        border-radius: 18px;
        transition: min-height 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .expertise-card-content {
        align-items: center;
    }

    .expertise-card h3 {
        font-size: 24px;
        text-align: center;
    }

    .expertise-card-infra .expertise-details,
    .expertise-card-digital .expertise-details {
        text-align: left;
    }

    .expertise-card-infra p,
    .expertise-card-digital p {
        margin-left: 0;
        margin-right: 0;
    }

    .expertise-card-infra .expertise-link,
    .expertise-card-digital .expertise-link {
        margin-left: 0;
        margin-right: 0;
    }

    .expertise-card-infra .expertise-services li {
        padding-left: 24px;
        padding-right: 0;
    }

    .expertise-card-infra .expertise-services li::before {
        left: 0;
        right: auto;
    }

    .expertise-card-infra:hover,
    .expertise-card-digital:hover {
        flex: 1;
        min-height: 500px;
    }

    .footer-showcase {
        min-height: 300px;
        border-radius: 24px;
    }

    .footer-cta {
        top: 48%;
        width: calc(100% - 24px);
    }

    .footer-cta h2 {
        font-size: clamp(12px, 4vw, 14px);
        line-height: 1.28;
    }

    .footer-main-link {
        min-height: 44px;
        margin-top: 16px;
        padding-left: 18px;
        font-size: 12px;
    }

    .footer-main-link svg {
        width: 32px;
        height: 32px;
        padding: 8px;
    }

    .footer-bottom {
        height: auto;
        min-height: 80px;
        padding: 20px 32px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
        width: fit-content;
        max-width: calc(100% - 40px);
    }

    .footer-socials {
        gap: 14px;
    }


    .expertise-card-top {
        align-items: flex-start;
        margin-bottom: 24px;
    }

    .expertise-label {
        max-width: 180px;
        font-size: 11px;
    }

    .service-page {
        padding: 10px;
    }

    .service-detail {
        padding: 30px 20px;
        border-radius: 24px;
    }

    .service-detail-copy h1 {
        font-size: 36px;
    }

    .service-detail-copy p {
        font-size: 16px;
    }

    .service-detail-panel {
        min-height: auto;
        padding: 24px;
        border-radius: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .trusted-track {
        animation: none;
    }
}

@media (max-width: 420px) {
    .cart-btn {
        display: none;
    }
}

@media (max-width: 520px) {
    .brand-pill,
    .cta-dropdown {
        width: 100px !important;
        flex-basis: 100px !important;
    }

    .brand-pill {
        min-width: 100px;
        min-height: 46px;
        padding: 0 10px;
        font-size: 15px;
    }

    .brand-mark {
        width: 22px;
        height: 22px;
        flex-basis: 22px;
    }

    .brand-mark span {
        width: 8px;
        height: 8px;
    }

    .cart-btn {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
    }

    .cta-dropdown {
        height: 38px;
    }

    .cta-trigger {
        padding: 0 8px;
        font-size: 12px;
        gap: 4px;
    }

    .product-card {
        flex-direction: column;
        align-items: stretch;
    }

    .product-card-right {
        flex-direction: column-reverse;
    }

    .product-image-wrap,
    .controller-wrap {
        flex-basis: auto;
        width: 100%;
        height: 190px;
    }

    .expertise-header h2 {
        font-size: 32px;
    }

    .expertise-card {
        padding: 22px 18px;
    }

    .expertise-card-top {
        gap: 12px;
    }

    .expertise-link {
        width: 100%;
    }

    .footer-showcase {
        min-height: 340px;
    }

    .footer-card-location-text {
        font-size: 12px;
    }

    .footer-bottom {
        padding: 16px 24px;
        width: fit-content;
        max-width: calc(100% - 40px);
    }

    .footer-socials {
        gap: 8px;
    }

    .footer-socials a {
        width: 32px;
        height: 32px;
    }
    
    .footer-socials svg {
        width: 16px;
        height: 16px;
    }
}

/* Lightbox */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 71, 43, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox-content {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    display: block;
}

.lightbox-close-wrap {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
}

.lightbox-close-text {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    opacity: 0.9;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.lightbox-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.lightbox-close svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.2;
}


.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev.animating {
    animation: arrow-push-left 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox-next.animating {
    animation: arrow-push-right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes arrow-push-left {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
    }
    50% {
        transform: translateY(-50%) translateX(-12px);
    }
}

@keyframes arrow-push-right {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
    }
    50% {
        transform: translateY(-50%) translateX(12px);
    }
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

.lightbox-nav svg {
    width: 28px;
    height: 28px;
    stroke-width: 2;
}


.lightbox-info-panel {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    z-index: 3;
}

.lightbox-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    opacity: 0.8;
}

.lightbox-info-icon svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

.lightbox-info-text {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
    opacity: 0.9;
}


.lightbox-close span {
    margin-right: 8px;
    font-size: 14px;
    font-weight: 500;
}

.lightbox-tooltip {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.lightbox-prev .lightbox-tooltip {
    left: calc(100% + 12px);
}

.lightbox-next .lightbox-tooltip {
    right: calc(100% + 12px);
}

.lightbox-nav:hover .lightbox-tooltip {
    opacity: 1;
    visibility: visible;
}

/* About Section */
.about-section {
    padding: clamp(54px, 7vw, 88px) 0 clamp(46px, 6vw, 72px);
    background: var(--white-soft);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.about-image-wrap {
    border-radius: 28px;
    overflow: hidden;
}

.about-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.about-content h2 {
    margin: 12px 0 24px;
    color: #2B3D35;
    font-size: 38px;
    font-weight: 600;
    line-height: 1.1;
    font-family: "Poppins", sans-serif;
}

.about-description {
    color: rgba(23, 61, 44, .74);
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 24px;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #173D2C;
    font-size: 15px;
    font-weight: 600;
}

.about-list li svg {
    color: var(--green);
    width: 20px;
    height: 20px;
}

/* Process Section */
.process-section {
    padding: clamp(54px, 7vw, 88px) 0 clamp(46px, 6vw, 72px);
    background: var(--beige);
    border-radius: 32px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: min(1120px, calc(100% - 48px));
    margin: 48px auto 0;
}

.process-card {
    background: #fff;
    border-radius: 24px;
    padding: 32px 24px;
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: var(--transition);
}

.process-card:hover {
    background: #97cf52;
    transform: translateY(-8px);
}

.process-card-content {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    transition: var(--transition);
}

.process-card:hover .process-card-content h3,
.process-card:hover .process-card-content p {
    color: #173D2C;
}

.process-step {
    font-size: 48px;
    font-weight: 700;
    color: rgba(151, 207, 82, 0.2);
    font-family: "Poppins", sans-serif;
    line-height: 1;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.process-card:hover .process-step {
    color: #0b472b;
}

.process-card-content h3 {
    margin: 0 0 12px;
    color: #173D2C;
    font-size: 20px;
    font-weight: 600;
}

.process-card-content p {
    margin: 0;
    color: rgba(23, 61, 44, .72);
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 960px) {
    .about-container {
        grid-template-columns: 1fr;
    }

    .about-content {
        text-align: center;
    }

    .about-content h2 {
        font-size: 28px;
    }

    .section-kicker {
        text-align: center;
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
}

/* Space Navigation Hint Toast */
.space-nav-hint {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.space-nav-hint.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.space-nav-hint-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: rgba(11, 71, 43, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(151, 207, 82, 0.3);
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.space-key {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(151, 207, 82, 0.25);
    border: 1.5px solid rgba(151, 207, 82, 0.6);
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    color: var(--green);
    flex-shrink: 0;
}

.space-hint-text {
    color: rgba(255, 255, 255, 0.9);
}

.space-hint-text strong {
    color: var(--green);
    font-weight: 600;
}

.space-hint-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    line-height: 1;
}

.space-hint-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: scale(1.1);
}

@media (max-width: 760px) {
    .space-nav-hint-content {
        padding: 12px 16px;
        font-size: 13px;
        gap: 12px;
    }
    
    .space-key {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .space-hint-close {
        width: 24px;
        height: 24px;
        font-size: 16px;
    }
}
