/* ========================================
   Cabinet ANL - Page Consultation
   ======================================== */

:root {
    --primary-dark-blue: #1a365d;
    --secondary-dark-blue: #2d3748;
    --gold: #d4af37;
    --light-gold: #f7e98e;
    --white: #ffffff;
    --orange: #ff6b35;
    --text-dark: #2d3748;
    --text-light: #718096;
    --skin-tone: #d4af8c;
    --hair-color: #2d1810;
}

/* Consultation Hero Section */
.consultation-hero {
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    text-align: center;
    color: var(--primary-dark-blue);
    position: relative;
    overflow: hidden;
}

.consultation-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-dark-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.consultation-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: var(--primary-dark-blue);
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Illustration centrale */
.consultation-illustration {
    margin: 4rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.consultation-image {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.consultation-image:hover {
    transform: scale(1.02);
}

.lawyer-figure {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

/* Bulle de parole */
.speech-bubble {
    position: absolute;
    top: -60px;
    right: 50px;
    width: 80px;
    height: 60px;
    background-color: var(--orange);
    border-radius: 50px 50px 50px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    animation: float 3s ease-in-out infinite;
}

.speech-bubble svg {
    width: 30px;
    height: 30px;
    color: var(--gold);
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 0;
    border-left: 15px solid var(--orange);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

/* Avatar de l'avocat */
.lawyer-avatar {
    position: relative;
    z-index: 2;
}

.avatar-head {
    width: 120px;
    height: 120px;
    background-color: var(--skin-tone);
    border-radius: 50%;
    position: relative;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.avatar-head::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 80px;
    height: 80px;
    background-color: var(--hair-color);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.avatar-head::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--hair-color);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.avatar-body {
    width: 140px;
    height: 180px;
    background-color: var(--primary-dark-blue);
    border-radius: 20px 20px 10px 10px;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.avatar-body::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100px;
    height: 140px;
    background-color: var(--white);
    border-radius: 15px 15px 5px 5px;
}

/* Laptop */
.laptop {
    position: relative;
    z-index: 1;
    margin-left: 2rem;
}

.laptop-screen {
    width: 180px;
    height: 120px;
    background-color: var(--secondary-dark-blue);
    border-radius: 10px 10px 0 0;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.laptop-screen::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 160px;
    height: 100px;
    background-color: var(--white);
    border-radius: 5px;
    opacity: 0.8;
}

.laptop-base {
    width: 200px;
    height: 20px;
    background-color: var(--secondary-dark-blue);
    border-radius: 0 0 10px 10px;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Fonctionnalités */
.consultation-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 4rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-5px);
}

.feature-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
    width: 100%;
}

.feature-link:hover {
    text-decoration: none;
    color: inherit;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.feature-icon:hover {
    transform: translateY(-5px);
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    color: var(--primary-dark-blue);
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

.feature-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.feature-description {
    font-size: 0.85rem;
    color: var(--white);
    opacity: 0.9;
    line-height: 1.4;
    margin: 0;
    max-width: 200px;
}

/* Bouton d'action */
.consultation-cta {
    margin-top: 3rem;
}

.cta-button {
    background-color: transparent;
    color: var(--white);
    border: 3px solid var(--gold);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--gold);
    transition: left 0.3s ease;
    z-index: -1;
}

.cta-button:hover {
    color: var(--primary-dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    text-decoration: none;
}

.cta-button:hover::before {
    left: 0;
}

/* Animation flottante */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .consultation-title {
        font-size: 2.5rem;
    }

    .consultation-subtitle {
        font-size: 1.1rem;
    }

    .consultation-image {
        max-height: 300px;
    }

    .consultation-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 500px;
    }

    .feature-item {
        padding: 1rem;
    }

    .feature-link {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
    }

    .feature-content {
        text-align: left;
        flex: 1;
    }

    .feature-description {
        max-width: none;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .consultation-title {
        font-size: 2rem;
    }

    .consultation-subtitle {
        font-size: 1rem;
    }

    .consultation-image {
        max-height: 250px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
    }

    .feature-icon svg {
        width: 25px;
        height: 25px;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}
