/* ========================================
   SERVICES PAGE STYLES
   ======================================== */

/* Hero Section */
.services-hero-section {
    padding: 3rem 0;
    background: var(--surface);
}

.services-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.services-hero-label-line {
    width: 2rem;
    height: 1px;
    background: var(--secondary);
}

.services-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: var(--font-display);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 2rem;
    margin-top: 0;
}

@media (min-width: 768px) {
    .services-hero-title {
        font-size: 3.5rem;
    }
}

.services-hero-accent {
    color: var(--secondary);
    font-style: italic;
    font-weight: 300;
}

.services-hero-description {
    font-size: 1.125rem;
    color: var(--on-surface-variant);
    line-height: 1.75;
    margin-bottom: 2.5rem;
    max-width: 30rem;
}

.services-hero-btn {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-family: var(--font-display);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 53, 39, 0.15);
}

.services-hero-btn:hover {
    box-shadow: 0 12px 40px rgba(0, 53, 39, 0.25);
    transform: translateY(-2px);
}

.services-hero-image-wrapper {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 0.75rem 4rem 0.75rem 0.75rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.services-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(20, 28, 26, 0.55) 0%,
        rgba(20, 28, 26, 0.15) 55%,
        transparent 100%
    );
}

/* Floating Detail Card */
.services-floating-card {
    position: absolute;
    bottom: -2rem;
    left: -1.5rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    max-width: 300px;
    display: none;
    z-index: 10;
}

@media (min-width: 768px) {
    .services-floating-card {
        display: block;
    }
}

.services-floating-title {
    color: var(--secondary);
    font-weight: 700;
    font-size: 1.875rem;
    margin-bottom: 0.25rem;
    font-style: italic;
}

.services-floating-subtitle {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.services-floating-text {
    color: var(--on-surface-variant);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}

/* Services Grid Section */
.services-grid-section {
    background: var(--surface-container-low);
    padding: 6rem 0;
}

.services-grid-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .services-grid-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        gap: 2rem;
    }
}

.services-grid-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: var(--font-display);
    letter-spacing: -0.02em;
    margin: 0 0 1rem;
}

.services-grid-subtitle {
    color: var(--on-surface-variant);
    font-weight: 500;
    max-width: 30rem;
    margin: 0;
}

.services-grid-explore {
    color: var(--secondary);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(115, 92, 0, 0.3);
}

/* Bento Grid Container */
.services-bento-grid {
    min-height: 45rem;
}

@media (max-width: 991px) {
    .services-bento-grid {
        min-height: auto;
    }
}

/* Cards Base Styles */
.services-card {
    border-radius: 1.875rem;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.services-card:hover {
    transform: translateY(-4px);
}

/* Large Card - Chasseur de Biens */
.services-card-large {
    height: 100%;
    min-height: 400px;
    background: var(--surface-container-lowest);
}

.services-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    position: absolute;
    inset: 0;
}

.services-card-large:hover .services-card-image {
    transform: scale(1.05);
}

.services-card-overlay-large {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 53, 39, 0.8), rgba(0, 53, 39, 0.3), transparent);
    z-index: 1;
}

.services-card-content-large {
    position: absolute;
    inset: 0;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
    z-index: 2;
    max-width: 55%;
}

.services-card-icon {
    color: var(--secondary);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.services-card-title-large {
    font-size: 1.875rem;
    font-weight: 800;
    font-family: var(--font-display);
    margin-bottom: 1rem;
    margin-top: 0;
}

.services-card-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.75;
    margin-bottom: 2rem;
    margin-top: 0;
}

.services-card-btn-large {
    background: white;
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    border: none;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    align-self: flex-start;
    transition: all 0.3s ease;
}

.services-card-large:hover .services-card-btn-large {
    background: var(--secondary);
    color: white;
}

/* Small Card - Gestion Locative */
.services-card-small {
    height: 100%;
    min-height: 300px;
    background: white;
}

.services-card-image-small {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    filter: grayscale(100%);
    transition: all 0.7s ease;
}

.services-card-small:hover .services-card-image-small {
    filter: grayscale(0);
    transform: scale(1.05);
}

.services-card-overlay-small {
    position: absolute;
    inset: 0;
    background: rgba(0, 53, 39, 0.2);
    transition: background 0.3s ease;
    z-index: 1;
}

.services-card-small:hover .services-card-overlay-small {
    background: transparent;
}

.services-card-content-small {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    margin: 1rem;
    border-radius: 1rem;
    z-index: 2;
}

.services-card-title-small {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 0.5rem;
}

.services-card-text-small {
    font-size: 0.875rem;
    color: var(--on-surface-variant);
    font-weight: 500;
    margin: 0;
}

/* Text Card - Architecte d'Intérieur */
.services-card-text {
    padding: 0;
    background: var(--surface-container-highest);
    border-radius: 1.875rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.services-card-icon-text {
    color: var(--secondary);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.services-card-title-text {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: var(--font-display);
    margin: 1.5rem 0 1rem;
}

.services-card-description-text {
    color: var(--on-surface-variant);
    line-height: 1.75;
    margin-bottom: 3rem;
}

.services-card-team {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.services-team-avatars {
    display: flex;
    gap: -1rem;
}

.services-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 4px solid white;
    object-fit: cover;
}

.services-avatar-overlap {
    margin-left: -1rem;
}

.services-portfolio-link {
    color: var(--secondary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.services-card-text:hover .services-portfolio-link {
    gap: 0.75rem;
}

/* Concierge Card - Private Concierge */
.services-card-concierge {
    background: var(--primary-color);
    display: flex;
    align-items: center;
    height: 100%;
    min-height: 300px;
    box-shadow: 0 20px 60px rgba(0, 53, 39, 0.15);
}

.services-concierge-content {
    width: 50%;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    color: white;
}

.services-concierge-label {
    color: rgba(115, 92, 0, 0.8);
    font-weight: 700;
    font-size: 0.625rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.services-concierge-title {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-display);
    margin-bottom: 1rem;
    margin-top: 0;
}

.services-concierge-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.services-concierge-btn {
    background: var(--secondary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    border: none;
    font-weight: 700;
    font-size: 0.625rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    align-self: flex-start;
    transition: all 0.3s ease;
}

.services-concierge-btn:hover {
    background: white;
    color: var(--primary-color);
}

.services-concierge-image {
    width: 50%;
    height: 100%;
    object-fit: cover;
}

/* Quote Section */
.services-quote-section {
    padding: 6rem 0;
    background: var(--surface);
    text-align: center;
}

.services-quote-icon {
    color: var(--secondary);
    font-size: 3.75rem;
    display: block;
    margin-bottom: 2rem;
    font-variation-settings: 'FILL' 1;
}

.services-quote-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-display);
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .services-quote-text {
        font-size: 2rem;
    }
}

.services-quote-divider {
    width: 4rem;
    height: 2px;
    background: var(--secondary);
    margin: 1rem auto 1rem;
}

.services-quote-author {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.75rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-hero-title {
        font-size: 2.5rem;
    }

    .services-grid-title {
        font-size: 1.875rem;
    }

    .services-floating-card {
        position: static;
        margin-top: 2rem;
    }

    .services-card-concierge {
        flex-direction: column;
    }

    .services-concierge-content,
    .services-concierge-image {
        width: 100%;
    }

    .services-concierge-content {
        padding: 2rem;
    }

    .services-card-image-small,
    .services-card-overlay-small {
        filter: grayscale(100%);
    }

    .services-quote-text {
        font-size: 1.25rem;
    }
}
