/* === BEK AGENCY - HOMEPAGE STYLES === */
/* Linked after global.css */

/* HERO SECTION (Home Specific Layout) */
.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 var(--padding-page);
    position: relative;
    /* Background handled in global.css */
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 3.5fr 1fr;
    align-items: center;
    gap: 2rem;
    width: 100%;
    position: relative;
    z-index: 2;
    height: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Right Column Visuals */
.hero-visual {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    padding-bottom: 19vh;
}

/* Gradient Blobs Animation */
.gradient-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(50px);
    animation: pulseBlob 8s infinite alternate;
    z-index: 1;
    pointer-events: none;
}

.gradient-blob:nth-child(2) {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(200, 200, 200, 0.1) 0%, rgba(200, 200, 200, 0) 70%);
    top: 20%;
    right: 10%;
    animation: moveBlob 10s infinite alternate;
}

@keyframes pulseBlob {
    0% {
        transform: scale(0.8) translate(0, 0);
        opacity: 0.3;
    }

    100% {
        transform: scale(1.1) translate(20px, -20px);
        opacity: 0.6;
    }
}

@keyframes moveBlob {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-30px, 30px);
    }
}

/* Overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
    pointer-events: none;
    z-index: 1;
}

.hero-main-text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(3rem, 7vw, 9rem);
    line-height: 0.95;
    font-weight: 500;
    letter-spacing: -3px;
    color: var(--text-white);
    max-width: 100%;
    position: relative;
    z-index: 2;
}

.hero-description {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-muted-light);
    margin-bottom: 2rem;
    padding-left: 1rem;
    padding-top: 1rem;
    font-style: italic;
}

.hero-large-label {
    font-family: 'Switzer', sans-serif;
    font-size: 15vw;
    line-height: 0.8;
    background: linear-gradient(to bottom, #ffffff 0%, #333 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.1;
    pointer-events: none;
    position: absolute;
    bottom: -2vw;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

/* === SECTION TRANSITION === */
.section-transition {
    height: 25vh;
    width: 100%;
    background: linear-gradient(to bottom, rgba(18, 18, 18, 0), #888888 80%, #ffffff 100%);
    margin-top: -25vh;
    position: relative;
    z-index: 5;
    pointer-events: none;
}

/* === PHILOSOPHY SECTION === */
.philosophy-section {
    background-color: var(--bg-white);
    padding: 0 var(--padding-page) 10vh;
    padding-top: 8rem;
    position: relative;
    z-index: 5;
}

/* "Cadre autour du div" */
.philosophy-section .content-container {
    background-color: #f8f8f87a;
    padding: 4rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

.grid-split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: stretch;
}

.text-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 0;
}

.section-title {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 2rem;
    max-width: 500px;
    color: #666;
}

.section-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 4rem;
    max-width: 450px;
}

/* Stats Row */
.stats-row {
    display: flex;
    gap: 4rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-wrapper {
    display: flex;
    align-items: baseline;
}

.stat-number,
.stat-suffix {
    font-family: 'Inter', sans-serif;
    font-size: 5rem;
    font-weight: 300;
    line-height: 1;
    color: #333;
    letter-spacing: -0.5rem;
}

.stat-suffix {
    margin-left: 2px;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
}

/* Values Row */
.values-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.value-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.value-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.value-item h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
}

.value-item p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
}

/* Visual Column */
.visual-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    height: 100%;
    margin-top: 0;
}

.image-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    aspect-ratio: auto;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.image-wrapper:hover img {
    filter: grayscale(0%);
}

.mt-large {
    margin-top: 0;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .grid-split {
        grid-template-columns: 1fr;
    }

    .visual-column {
        margin-top: 3rem;
        max-height: 60vh;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {

    /* Hero Responsive */
    .hero-container {
        grid-template-columns: 1fr;
        padding-top: 6rem;
        /* Space for fixed navbar */
        align-content: center;
    }

    .hero-content {
        text-align: left;
    }

    .hero-main-text {
        font-size: 3.5rem;
        /* Smaller hero title */
    }

    .hero-description {
        font-size: 1.1rem;
        max-width: 100%;
        margin-bottom: 3rem;
    }

    .hero-visual {
        height: auto;
        padding-bottom: 2rem;
        align-items: flex-start;
        /* Align CTA left */
        justify-content: flex-start;
    }

    .hero-large-label {
        font-size: 20vw;
        bottom: 5vh;
    }

    /* Philosophy Responsive */
    .philosophy-section {
        padding-top: 4rem;
    }

    .philosophy-section .content-container {
        padding: 2rem;
    }

    .stats-row {
        flex-direction: column;
        gap: 2rem;
        border-bottom: none;
        /* Cleaner look on mobile */
    }

    .stat-number {
        font-size: 3.5rem;
    }

    .values-row {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .visual-column {
        display: none;
        /* Often easier to hide decoration images on mobile, or stack them below */
        /* User said "ne pas changer un truc", so let's STACK them instead of hiding */
        display: grid;
        margin-top: 2rem;
    }

    .image-wrapper.img-tall {
        height: 300px;
        /* Limit height on mobile */
    }
}