/* css/entreprises.css */

/* --- HUB ENTREPRISES (MENU 3 CARTES) --- */
.enterprise-hub {
    width: 100%; height: 100%; display: flex; flex-direction: column;
    align-items: center; justify-content: center; padding-top: 40px;
    animation: fadeIn 0.6s ease-out;
}
.ent-header { text-align: center; margin-bottom: 50px; }
.ent-title { font-size: 42px; font-weight: 900; color: #fff; letter-spacing: 5px; margin: 0; text-transform: uppercase; }
.ent-subtitle { font-size: 12px; color: #888; letter-spacing: 3px; margin-top: 15px; text-transform: uppercase; font-weight: 600; }
.discount-badge { background: #f1b52c; color: #000; padding: 2px 8px; border-radius: 2px; font-weight: bold; margin-left: 10px; }

.ent-grid { display: flex; gap: 30px; width: 100%; max-width: 1200px; height: 500px; }
.ent-card {
    flex: 1; position: relative; border: 1px solid #333; border-radius: 4px; overflow: hidden;
    cursor: pointer; transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); background: #0f0f0f;
}
.ent-card-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center; opacity: 0.4; 
    transition: all 0.5s ease;
}
.ent-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); z-index: 2; }
.ent-content { position: absolute; bottom: 30px; left: 30px; z-index: 5; transition: transform 0.3s; }
.ent-icon { font-size: 30px; margin-bottom: 15px; color: #f1b52c; }
.ent-card h3 { color: #fff; font-size: 24px; font-weight: 800; margin: 0; letter-spacing: 2px; text-transform: uppercase; }
.ent-card p { color: #888; font-size: 11px; margin: 5px 0 0 0; letter-spacing: 1px; text-transform: uppercase; transition: color 0.3s; }
.ent-btn {
    margin-top: 20px; border: 1px solid #fff; color: #fff; padding: 10px 20px;
    display: inline-block; font-size: 10px; font-weight: bold; letter-spacing: 2px;
    opacity: 0; transform: translateY(20px); transition: all 0.3s;
}
.ent-card:hover { border-color: #f1b52c; transform: translateY(-10px); }
.ent-card:hover .ent-card-bg { opacity: 0.8;  transform: scale(1.1); }
.ent-card:hover p { color: #f1b52c; }
.ent-card:hover .ent-btn { opacity: 1; transform: translateY(0); }
.ent-card:hover .ent-btn:hover { background: #f1b52c; border-color: #f1b52c; color: #000; }


/* --- LISTE PROPRIÉTÉS ENTREPRISE --- */
.ent-properties-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); 
    gap: 30px; padding: 20px 0; width: 100%; max-width: 1600px; margin: 0 auto;
    animation: fadeIn 0.5s ease-out;
}
.ent-prop-card {
    background: #0a0a0a; border: 1px solid #222; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-radius: 4px; overflow: hidden; transition: all 0.3s ease;
    display: flex; flex-direction: column; position: relative;
}
.ent-prop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(241, 181, 44, 0.15);
    border-color: #f1b52c;
}
.ent-prop-img { height: 200px; width: 100%; position: relative; overflow: hidden; border-bottom: 1px solid #1a1a1a; }
.ent-prop-img img { width: 100%; height: 100%; object-fit: cover;  transition: all 0.5s ease; }
.ent-prop-card:hover img {  transform: scale(1.05); }
.ent-tag {
    position: absolute; top: 10px; right: 10px; background: #f1b52c; color: #000;
    font-size: 9px; font-weight: 800; padding: 4px 8px; text-transform: uppercase; letter-spacing: 1px; border-radius: 2px;
}
.ent-prop-info { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.ent-prop-header { margin-bottom: 15px; }
.ent-prop-title { font-size: 16px; color: #fff; font-weight: 700; margin: 0; text-transform: uppercase; letter-spacing: 1px; }
.ent-prop-loc { font-size: 10px; color: #666; font-weight: 600; text-transform: uppercase; display: block; margin-top: 5px; }
.ent-prop-specs {
    display: flex; gap: 15px; margin-bottom: 20px; padding: 10px 0;
    border-top: 1px solid #151515; border-bottom: 1px solid #151515;
}
.ent-spec { font-size: 9px; color: #777; text-transform: uppercase; }
.ent-spec b { color: #ccc; font-size: 11px; margin-left: 4px; font-weight: 700; }
.ent-prop-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.ent-price { font-size: 20px; color: #287233; font-weight: 800; }
.ent-price span { font-size: 10px; color: #444; font-weight: 600; margin-left: 2px; }
.ent-btn-action {
    background: transparent; border: 1px solid #f1b52c; color: #f1b52c;
    padding: 8px 16px; font-size: 10px; font-weight: 700; text-transform: uppercase;
    cursor: pointer; transition: all 0.2s; border-radius: 2px; letter-spacing: 1px;
}
.ent-prop-card:hover .ent-btn-action { border-color: #f1b52c; color: #f1b52c; }
.ent-btn-action:hover { background: #f1b52c !important; color: #000 !important; }


/* --- NOUVEAU BLOC CONTRAT B2B (REMPLACE LES OPTIONS) --- */
#config-entreprise-container {
    margin-top: 15px;
    animation: fadeIn 0.4s ease;
}

.b2b-offer-card {
    background: linear-gradient(135deg, #111 0%, #050505 100%);
    border: 1px solid #f1b52c;
    border-radius: 4px;
    padding: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(241, 181, 44, 0.05);
}

.b2b-offer-card::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(241, 181, 44, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.b2b-discount-big {
    font-size: 48px;
    font-weight: 900;
    color: #f1b52c;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 5px;
    text-shadow: 0 0 25px rgba(241, 181, 44, 0.4);
    position: relative; z-index: 2;
}

.b2b-subtitle {
    font-size: 11px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 20px;
    position: relative; z-index: 2;
}

.b2b-features-list {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    position: relative; z-index: 2;
}

.b2b-feature {
    background: #1a1a1a;
    border: 1px solid #333;
    color: #888;
    font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    padding: 8px 12px;
    border-radius: 4px;
    display: flex; align-items: center; gap: 6px;
}

.b2b-feature span { color: #f1b52c; font-size: 11px; }