/* =====================================================================
   LC CLOUD: elements comuns de les capçaleres i vidre glaçat
   ---------------------------------------------------------------------
   Botons de la capçalera verda: «Tornar a l'inici» a les pàgines derivades
   i «Tancar sessió» a la portada. Cantonades rectes i vidre glaçat sobre el
   verd, inspirats en el sistema «Industrial Minimal» de la web (web2).
   ===================================================================== */
:root {
    --lc-glass-bg: rgba(255, 255, 255, 0.62);
    --lc-glass-blur: blur(16px);
    --lc-glass-border: 1px solid rgba(255, 255, 255, 0.55);
    --lc-glass-inner: inset 0 1px 0 rgba(255, 255, 255, 0.6);
    --lc-glass-shadow: 0 1px 24px rgba(11, 45, 38, 0.07);
}

.lc-hbtn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    white-space: nowrap;
    color: #fff;
    text-decoration: none;
    font-family: inherit;
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: background 0.15s ease, border-color 0.15s ease;
}
.lc-hbtn:hover { background: rgba(255, 255, 255, 0.17); border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.lc-hbtn:focus-visible { outline: 2px solid #58c28d; outline-offset: 2px; }
.lc-hbtn svg { width: 15px; height: 15px; flex: none; }
.lc-hbtn--push { margin-left: auto; }

@media (max-width: 768px) {
    .lc-hbtn { padding: 8px 10px; font-size: 0.66rem; gap: 6px; letter-spacing: 0.04em; }
}
@media (max-width: 400px) {
    .lc-hbtn .lc-hbtn-txt { display: none; }
    .lc-hbtn { padding: 7px; }
    .lc-hbtn svg { width: 14px; height: 14px; }
}

/* Panell de vidre glaçat sobre fons clar (targetes destacades). */
.lc-glass {
    background: var(--lc-glass-bg);
    -webkit-backdrop-filter: var(--lc-glass-blur);
    backdrop-filter: var(--lc-glass-blur);
    border: var(--lc-glass-border);
    box-shadow: var(--lc-glass-shadow), var(--lc-glass-inner);
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .lc-glass { background: rgba(255, 255, 255, 0.92); }
}

/* =====================================================================
   Títol de pàgina comú (lc-cloud.md + «Industrial Minimal» de web2):
   títol en DM Sans amb majúscula inicial i tracking lleugerament negatiu,
   entradeta opcional i separador fi a sota. Amb --actions, un botó a la dreta.
   ===================================================================== */
.lc-page-head { position: static; margin: 0 0 24px; padding: 0 0 18px; background: none; color: inherit; border: 0; border-bottom: 1px solid #e5e5e5; }
.lc-page-head--actions { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.lc-page-head--actions > div { flex: 1 1 420px; min-width: 0; }
.lc-page-title { margin: 0; font-family: 'DM Sans', 'Inter', 'Helvetica Neue', sans-serif; font-size: 28px; font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; color: #1a4731; text-transform: none; text-wrap: balance; }
.lc-page-lead { margin: 10px 0 0; max-width: 72ch; font-size: 16px; line-height: 1.6; color: #5d6a63; }
.lc-page-lead b, .lc-page-lead strong { color: #23302a; font-weight: 600; }
