
/*  Breadcrumb  */
.nav-breadcrumb {
  background: var(--gris-clar);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  padding: 10px 0;
}

.nav-breadcrumb .container {
  max-width: 1100px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
}

.breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--rosa);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}

.breadcrumb-link:hover {
  opacity: 0.75;
}

.breadcrumb-sep {
  color: #aaa;
}

.breadcrumb-actual {
  color: var(--gris-text);
  font-weight: 400;
}

[data-theme="dark"] .nav-breadcrumb {
  background: #252530;
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

[data-theme="dark"] .breadcrumb-actual {
  color: #b0b0c0;
}

/*  Wrapper principal  */
.pc-wrapper {
  padding-top: 48px;
  padding-bottom: 64px;
}

/*  Capçalera del document  */
.pc-header {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 52px;
  padding-bottom: 36px;
  border-bottom: 2px solid var(--rosa);
}

.pc-header__num {
  font-family: 'Montserrat', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: rgba(175, 21, 86, 0.12);
  line-height: 1;
  min-width: 80px;
  user-select: none;
}

.pc-header__sup {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rosa);
  margin-bottom: 6px;
}

.pc-header__titol {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--negre);
  margin-bottom: 10px;
  line-height: 1.15;
}

.pc-header__data {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  color: #888;
  margin: 0;
}

.pc-header__data time {
  font-weight: 600;
  color: var(--gris-text);
}

[data-theme="dark"] .pc-header__titol {
  color: #e8e8f0;
}

[data-theme="dark"] .pc-header__data time {
  color: #b0b0c0;
}

@media (max-width: 576px) {
  .pc-header {
    flex-direction: column;
    gap: 12px;
  }

  .pc-header__num {
    font-size: 2.5rem;
  }

  .pc-header__titol {
    font-size: 1.5rem;
  }
}

/*  Seccions  */
.pc-seccio {
  margin-bottom: 44px;
}

.pc-seccio__titol {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--negre);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(175, 21, 86, 0.2);
}

.pc-seccio__n {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--rosa);
  opacity: 0.6;
  min-width: 24px;
}

[data-theme="dark"] .pc-seccio__titol {
  color: #e8e8f0;
  border-bottom-color: rgba(175, 21, 86, 0.3);
}

.pc-seccio__cos p {
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--gris-text);
  margin-bottom: 14px;
}

.pc-seccio__cos p:last-child {
  margin-bottom: 0;
}

.pc-seccio__cos a {
  color: var(--rosa);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pc-seccio__cos a:hover {
  opacity: 0.75;
}

.pc-seccio__cos code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.85em;
  background: rgba(175, 21, 86, 0.08);
  color: var(--rosa);
  padding: 1px 6px;
  border-radius: 3px;
}

[data-theme="dark"] .pc-seccio__cos p {
  color: #b0b0c0;
}

[data-theme="dark"] .pc-seccio__cos code {
  background: rgba(175, 21, 86, 0.18);
}

/*  Taula de cookies  */
.pc-taula-wrapper {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.pc-taula {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  min-width: 520px;
}

.pc-taula thead th {
  background: var(--rosa);
  color: #fff;
  padding: 11px 16px;
  text-align: left;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pc-taula tbody tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: background 0.15s;
}

.pc-taula tbody tr:last-child {
  border-bottom: none;
}

.pc-taula tbody tr:hover {
  background: rgba(175, 21, 86, 0.04);
}

.pc-taula td {
  padding: 12px 16px;
  color: var(--gris-text);
  vertical-align: top;
  line-height: 1.5;
}

.pc-taula td:first-child {
  white-space: nowrap;
}

[data-theme="dark"] .pc-taula-wrapper {
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .pc-taula tbody tr {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .pc-taula tbody tr:hover {
  background: rgba(175, 21, 86, 0.08);
}

[data-theme="dark"] .pc-taula td {
  background: #252530;
  color: #b0b0c0;
}

/*  Badges tipus de cookie  */
.pc-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.pc-badge--necessaria {
  background: rgba(175, 21, 86, 0.12);
  color: var(--rosa);
}

.pc-badge--preferencia {
  background: rgba(70, 130, 180, 0.12);
  color: #4682b4;
}

[data-theme="dark"] .pc-badge--necessaria {
  background: rgba(175, 21, 86, 0.25);
}

[data-theme="dark"] .pc-badge--preferencia {
  background: rgba(70, 130, 180, 0.2);
  color: #7ab4e0;
}

/* Nota informativa  */
.pc-nota {
  background: rgba(175, 21, 86, 0.05);
  border-left: 3px solid var(--rosa);
  padding: 12px 16px;
  border-radius: 0 4px 4px 0;
  font-size: 0.85rem !important;
  margin-top: 16px !important;
}

[data-theme="dark"] .pc-nota {
  background: rgba(175, 21, 86, 0.1);
}

/*Llista de navegadors  */
.pc-llista-navegadors {
  list-style: none;
  padding: 0;
  margin: 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pc-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gris-text) !important;
  text-decoration: none !important;
  padding: 8px 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  transition: all 0.2s;
}

.pc-nav-link:hover {
  border-color: var(--rosa);
  color: var(--rosa) !important;
  background: rgba(175, 21, 86, 0.04);
}

.pc-nav-ico {
  width: 14px;
  height: 14px;
  opacity: 0.4;
}

.pc-ext-ico {
  opacity: 0.4;
}

[data-theme="dark"] .pc-nav-link {
  color: #b0b0c0 !important;
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .pc-nav-link:hover {
  color: var(--rosa) !important;
  border-color: var(--rosa);
  background: rgba(175, 21, 86, 0.08);
}

/*  Bloc de revocació  */
.pc-revoca {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--gris-clar);
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.07);
}

.pc-revoca p {
  font-size: 0.88rem !important;
  margin-bottom: 14px !important;
}

.pc-btn-revoca {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 10px 22px;
  background: transparent;
  color: var(--rosa);
  border: 2px solid var(--rosa);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.pc-btn-revoca:hover:not(:disabled) {
  background: var(--rosa);
  color: #fff;
}

.pc-btn-revoca:disabled {
  opacity: 0.45;
  cursor: default;
}

.pc-missatge-revocacio {
  margin-top: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  color: #2e7d32;
  font-weight: 600;
}

[data-theme="dark"] .pc-revoca {
  background: #252530;
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .pc-missatge-revocacio {
  color: #81c784;
}

/*  Adreça de contacte  */
.pc-adreca {
  font-family: 'Lora', serif;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--gris-text);
  margin: 16px 0;
  padding: 16px 20px;
  border-left: 3px solid var(--rosa);
  background: var(--gris-clar);
  border-radius: 0 4px 4px 0;
  font-style: normal;
}

.pc-adreca a {
  color: var(--rosa);
}

[data-theme="dark"] .pc-adreca {
  background: #252530;
  color: #b0b0c0;
}



/* Files de la taula */
[data-theme="dark"] .pc-taula tbody tr {
  background: #252530;
}

/* Capçalera número gran  */
[data-theme="dark"] .pc-header__num {
  color: rgba(175, 21, 86, 0.25);
}

/* Separador inferior de capçalera */
[data-theme="dark"] .pc-header {
  border-bottom-color: var(--rosa);
}

/* Nota informativa */
[data-theme="dark"] .pc-nota {
  background: rgba(175, 21, 86, 0.12);
}

/* Taula wrapper */
[data-theme="dark"] .pc-taula-wrapper {
  background: #252530;
}

/* Botó de revocació en dark */
[data-theme="dark"] .pc-btn-revoca {
  color: var(--rosa);
  border-color: var(--rosa);
}

[data-theme="dark"] .pc-btn-revoca:hover:not(:disabled) {
  background: var(--rosa);
  color: #fff;
}
.nav-breadcrumb,
.pc-header,
.pc-seccio,
.pc-taula-wrapper,
.pc-taula td,
.pc-taula tbody tr,
.pc-revoca,
.pc-adreca,
.pc-nota {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* ======================================================
   RESPONSIVE — PÀGINES LEGALS (politica-cookies,
   politica-privacitat, avis-legal)
   Breakpoints: 768 px (tablet) · 480 px (mòbil gran)
   ====================================================== */

/* --- Tablet (≤ 768 px) -------------------------------- */
@media (max-width: 768px) {
  /* Wrapper: menys marge vertical */
  .pc-wrapper {
    padding-top: 32px;
    padding-bottom: 48px;
  }

  /* Capçalera del document */
  .pc-header {
    gap: 16px;
    margin-bottom: 36px;
    padding-bottom: 24px;
  }

  .pc-header__num {
    font-size: 3rem;
    min-width: 60px;
  }

  .pc-header__titol {
    font-size: 1.65rem;
  }

  /* Seccions*/
  .pc-seccio {
    margin-bottom: 32px;
  }

  /* Bloc de revocació */
  .pc-revoca {
    padding: 16px;
  }

  /* Adreça */
  .pc-adreca {
    padding: 12px 16px;
  }
}

/* Mòbil gran */
@media (max-width: 480px) {
  .pc-wrapper {
    padding-top: 24px;
    padding-bottom: 40px;
  }

  /* Capçalera */
  .pc-header {
    gap: 8px;
    margin-bottom: 28px;
    padding-bottom: 20px;
  }

  .pc-header__num {
    font-size: 2rem;
  }

  .pc-header__titol {
    font-size: 1.35rem;
  }

  /* Títols de secció*/
  .pc-seccio__titol {
    font-size: 0.9rem;
    gap: 10px;
  }

  /* Cos de secció*/
  .pc-seccio__cos p {
    font-size: 0.9rem;
    line-height: 1.65;
  }

  /* Taula */
  .pc-taula-wrapper {
    margin-left: 0;
    margin-right: 0;
    border-radius: 4px;
  }

  /* Botons de navegadors*/
  .pc-llista-navegadors {
    flex-direction: column;
    gap: 8px;
  }

  .pc-nav-link {
    width: 100%;
    justify-content: flex-start;
    font-size: 0.8rem;
    padding: 9px 12px;
  }

  /* Bloc de revocació */
  .pc-revoca {
    padding: 14px 12px;
  }

  .pc-btn-revoca {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
    font-size: 0.8rem;
  }

  /* Adreça de contacte */
  .pc-adreca {
    font-size: 0.86rem;
    padding: 10px 12px;
    line-height: 1.7;
  }

  /* Nota informativa */
  .pc-nota {
    padding: 10px 12px;
    font-size: 0.82rem !important;
  }
}
