/* TC Lieu Blocks — Frontend CSS v1.9 — Palette Toscane Cachée */

.tclb-card {
    font-family: 'Raleway', -apple-system, sans-serif;
    background: #FAF8F5;
    border-radius: 10px;
    overflow: hidden;
    margin: 1.5rem 0;
    box-shadow: 0 2px 12px rgba(26,22,18,.1);
}

/* ── COULEURS PAR HUB ── */
.tclb-hub-thermes-bienetre   { border: 2px solid #D4B84A; }
.tclb-hub-etrurie-patrimoine { border: 2px solid #8B3A1A; }
.tclb-hub-maremme-nature     { border: 2px solid #2D4A2D; }
.tclb-hub-sejour-terroir     { border: 2px solid #7A2035; }

.tclb-hub-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
}
.tclb-hub-badge.tclb-hub-thermes-bienetre   { background: #D4B84A; color: #1A1612; }
.tclb-hub-badge.tclb-hub-etrurie-patrimoine { background: #8B3A1A; color: #FAF8F5; }
.tclb-hub-badge.tclb-hub-maremme-nature     { background: #2D4A2D; color: #FAF8F5; }
.tclb-hub-badge.tclb-hub-sejour-terroir     { background: #7A2035; color: #FAF8F5; }

/* ── SIMPLE — Image ── */
.tclb-simple-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.tclb-simple-img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    object-position: top center;
    transition: transform .4s ease;
}
.tclb-card:hover .tclb-simple-img { transform: scale(1.03); }
.tclb-simple-img-wrap .tclb-hub-badge {
    position: absolute; top: 12px; left: 14px;
}

/* ── SIMPLE — Corps ── */
.tclb-simple-body { padding: 18px 22px 20px; }

.tclb-simple-header {
    display: flex; align-items: center;
    justify-content: space-between; gap: 12px; margin-bottom: 8px;
}
.tclb-nom {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.3rem; font-weight: 700; color: #1A1612;
    margin: 0; line-height: 1.2;
}

/* ── BLOC SCORE : jauges mini à gauche + note à droite, même ligne ── */
.tclb-score-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Score badge global par hub */
.tclb-score-wrap {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    flex-shrink: 0; border-radius: 8px; padding: 5px 10px; min-width: 48px;
    line-height: 1;
}
.tclb-hub-thermes-bienetre   .tclb-score-wrap { background: #D4B84A; color: #1A1612; }
.tclb-hub-etrurie-patrimoine .tclb-score-wrap { background: #8B3A1A; color: #FAF8F5; }
.tclb-hub-maremme-nature     .tclb-score-wrap { background: #2D4A2D; color: #FAF8F5; }
.tclb-hub-sejour-terroir     .tclb-score-wrap { background: #7A2035; color: #FAF8F5; }
.tclb-score-num   { font-size: 1.1rem; font-weight: 800; }
.tclb-score-label { font-size: 9px; opacity: .75; margin-top: 1px; }

/* Jauges mini — 5 cercles SVG 28px sur une seule ligne */
.tclb-gauges-mini {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 3px;
}
.tclb-gauge-mini-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    cursor: default;
}
.tclb-gauge-mini-item svg { display: block; }
.tclb-gauge-mini-label {
    font-size: 6.5px;
    font-weight: 700;
    color: #A89880;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .02em;
    line-height: 1.1;
    max-width: 28px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Localisation — juste sous le titre */
.tclb-location {
    display: flex; align-items: center; gap: 10px;
    font-size: 12px; color: #A89880; margin: 0 0 10px; flex-wrap: wrap;
}
.tclb-map-inline-btn {
    background: none; border: none; padding: 0; cursor: pointer;
    font-size: 11px; color: #8B3A1A; font-weight: 600; font-family: inherit;
    text-decoration: underline; text-decoration-style: dotted;
    text-underline-offset: 2px;
}
.tclb-map-inline-btn:hover { color: #4a1e0d; }

/* Verdict */
.tclb-verdict {
    font-size: .85rem; color: #1A1612; font-style: italic;
    border-left: 4px solid #C9973A;
    background: rgba(201,151,58,.08);
    padding: 8px 12px; margin: 0 0 14px;
    border-radius: 0 6px 6px 0;
    line-height: 1.55;
}

/* ── BOUTONS ── */
.tclb-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.tclb-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 9px 18px; border-radius: 7px; font-size: .84rem; font-weight: 600;
    text-decoration: none; transition: all .15s ease; cursor: pointer;
    border: 1.5px solid transparent; font-family: 'Raleway', sans-serif;
}
.tclb-btn-primary { background: #8B3A1A; color: #FAF8F5; border-color: #8B3A1A; }
.tclb-btn-primary:hover { background: #4a1e0d; color: #FAF8F5; }
.tclb-hub-thermes-bienetre   .tclb-btn-primary { background: #D4B84A; color: #1A1612; border-color: #D4B84A; }
.tclb-hub-thermes-bienetre   .tclb-btn-primary:hover { background: #b89c30; color: #1A1612; }
.tclb-hub-maremme-nature     .tclb-btn-primary { background: #2D4A2D; color: #FAF8F5; border-color: #2D4A2D; }
.tclb-hub-maremme-nature     .tclb-btn-primary:hover { background: #1a2e1a; }
.tclb-hub-sejour-terroir     .tclb-btn-primary { background: #7A2035; color: #FAF8F5; border-color: #7A2035; }
.tclb-hub-sejour-terroir     .tclb-btn-primary:hover { background: #4d1421; }
.tclb-btn-ghost { background: transparent; color: #8B3A1A; border-color: rgba(139,58,26,.35); }
.tclb-btn-ghost:hover { background: rgba(139,58,26,.06); }
.tclb-btn-sm { padding: 6px 13px; font-size: .78rem; }

/* ── COMPACT ── */
.tclb-compact {
    display: flex; align-items: center; gap: 12px; padding: 12px 16px;
}
.tclb-compact-img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.tclb-compact-meta { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tclb-compact-nom   { font-size: .95rem; font-weight: 700; color: #1A1612; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tclb-compact-loc   { font-size: 11px; color: #A89880; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tclb-compact-score { font-size: 12px; color: #C9973A; font-weight: 700; }
.tclb-compact-actions { display: flex; gap: 6px; flex-shrink: 0; }

.tclb-placeholder {
    padding: 24px; background: #f9f5f0; border: 2px dashed #e0d0c0;
    border-radius: 8px; text-align: center; color: #A89880; font-size: 13px;
}

@media (max-width: 540px) {
    .tclb-simple-body { padding: 14px 16px; }
    .tclb-simple-header { align-items: flex-start; }
    .tclb-score-block { flex-direction: column; align-items: center; gap: 4px; }
    .tclb-gauges-mini { flex-wrap: wrap; max-width: 96px; justify-content: center; }
    .tclb-actions { flex-direction: column; }
    .tclb-btn { text-align: center; }
    .tclb-compact { flex-wrap: wrap; }
}
