/* ========== FICHE ENTREPRISE ========== */

/* ========== HERO ENTREPRISE ========== */
.entreprise-hero {
    padding: 48px 0 56px;
    background: var(--gradient-subtle);
}
.entreprise-hero-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: start;
}
.entreprise-hero-left {
    animation: heroSlideDown 0.6s ease both;
    animation-delay: 0.1s;
}
.entreprise-identity {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
}
.entreprise-logo {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    background: white;
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue-primary);
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.entreprise-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}
.entreprise-hero-name h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue-dark);
    line-height: 1.2;
    margin-bottom: 4px;
}
.entreprise-hero-tagline {
    font-size: 1rem;
    color: var(--gray-600);
}
.entreprise-hero-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}
.entreprise-hero-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.rating-big {
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue-dark);
    line-height: 1;
}
.rating-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.rating-details .stars { display: flex; gap: 2px; }
.rating-details .rating-count {
    font-size: 0.85rem;
    color: var(--gray-600);
}
.entreprise-hero-chips {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.info-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid var(--gray-200);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.88rem;
    color: var(--gray-600);
    box-shadow: var(--shadow-sm);
}
.info-chip svg { color: var(--teal); flex-shrink: 0; }
.info-chip strong { color: var(--blue-dark); }

/* ========== SIDEBAR CTA CARD ========== */
.fiche-cta-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    animation: heroSlideUp 0.7s ease both;
    animation-delay: 0.3s;
}
.fiche-cta-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 4px;
}
.fiche-cta-sub {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 20px;
}
.fiche-cta-card .form-btn { margin-bottom: 12px; }
.fiche-cta-card .btn-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    border: 2px solid var(--blue-primary);
    border-radius: var(--radius-sm);
    color: var(--blue-primary);
    font-weight: 700;
    font-size: 1rem;
    font-family: inherit;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
}
.fiche-cta-card .btn-phone:hover {
    background: var(--blue-primary);
    color: white;
}
.fiche-cta-legal {
    font-size: 0.78rem;
    color: var(--gray-400);
    text-align: center;
    margin-top: 12px;
}

/* ========== BODY LAYOUT ========== */
.fiche-body {
    padding: 56px 0 80px;
    background: white;
}
.fiche-body-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
}

/* ========== DESCRIPTION SECTION ========== */
.fiche-section {
    margin-bottom: 48px;
}
.fiche-section:last-child { margin-bottom: 0; }
.fiche-section h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--blue-dark);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.fiche-section h2 svg { color: var(--teal); flex-shrink: 0; }
.fiche-section p {
    font-size: 0.97rem;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 12px;
}

/* ========== SERVICES GRID ========== */
.services-offered {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.service-offered-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 12px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.2s;
    background: var(--gray-50);
}
.service-offered-card:hover {
    border-color: var(--teal);
    box-shadow: var(--shadow-sm);
}
.service-offered-icon { font-size: 1.5rem; }
.service-offered-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--blue-dark);
}
.service-offered-card a {
    font-size: 0.78rem;
    color: var(--blue-primary);
    font-weight: 500;
}

/* ========== ZONE D'INTERVENTION ========== */
.zone-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.zone-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--gray-600);
    transition: all 0.2s;
}
.zone-tag:hover {
    border-color: var(--blue-light);
    color: var(--blue-primary);
}
.zone-tag svg { width: 14px; height: 14px; color: var(--teal); }

/* ========== AVIS / REVIEWS ========== */
.reviews-summary {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}
.reviews-big-score {
    text-align: center;
    min-width: 80px;
}
.reviews-big-score .score {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--blue-dark);
    line-height: 1;
}
.reviews-big-score .total {
    font-size: 0.85rem;
    color: var(--gray-400);
}
.reviews-bars { flex: 1; }
.review-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.review-bar-row:last-child { margin-bottom: 0; }
.review-bar-label {
    font-size: 0.82rem;
    color: var(--gray-600);
    font-weight: 600;
    min-width: 12px;
    text-align: right;
}
.review-bar-label svg { width: 12px; height: 12px; }
.review-bar-track {
    flex: 1;
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
}
.review-bar-fill {
    height: 100%;
    background: var(--gradient-main);
    border-radius: 4px;
    transition: width 0.6s ease;
}
.review-bar-count {
    font-size: 0.78rem;
    color: var(--gray-400);
    min-width: 24px;
}

.review-card {
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-200);
}
.review-card:last-child { border-bottom: none; }
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.review-author {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--blue-dark);
}
.review-date {
    font-size: 0.82rem;
    color: var(--gray-400);
}
.review-stars { margin-bottom: 8px; }
.review-stars .stars { display: flex; gap: 2px; }
.review-text {
    font-size: 0.93rem;
    color: var(--gray-600);
    line-height: 1.65;
}

/* ========== INFOS PRATIQUES ========== */
.infos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
}
.info-item svg { color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.info-item-label {
    font-size: 0.82rem;
    color: var(--gray-400);
    margin-bottom: 2px;
}
.info-item-value {
    font-size: 0.93rem;
    color: var(--blue-dark);
    font-weight: 600;
}

/* ========== SIDEBAR (FICHE) ========== */
.fiche-sidebar {
    position: sticky;
    top: 96px;
}
.fiche-sidebar-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 20px;
}
.fiche-sidebar-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 14px;
}

/* ========== MOBILE ========== */
@media (max-width: 1024px) {
    .entreprise-hero-layout {
        grid-template-columns: 1fr;
    }
    .fiche-body-layout {
        grid-template-columns: 1fr;
    }
    .fiche-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .entreprise-hero { padding: 40px 0; }
    .entreprise-hero-name h1 { font-size: 1.5rem; }
    .entreprise-identity { gap: 14px; }
    .entreprise-logo { width: 56px; height: 56px; font-size: 1.4rem; }
    .services-offered { grid-template-columns: repeat(2, 1fr); }
    .infos-grid { grid-template-columns: 1fr; }
    .reviews-summary { flex-direction: column; text-align: center; }
    .entreprise-hero-chips { gap: 8px; }
    .info-chip { font-size: 0.82rem; padding: 6px 12px; }
}
