/* GDPR / RGPD cookie banner — universal (all templates) */
.cc-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0));
  background: #0b0e18;
  color: #e8ecf4;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35);
  animation: cc-slide-up 0.35s ease;
}
.cc-banner[hidden] { display: none !important; }
@keyframes cc-slide-up {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cc-banner__inner {
  width: min(1180px, 100%);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}
.cc-banner__main { flex: 1 1 18rem; min-width: 0; }
.cc-banner__badge {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--site-secondary, #0d6e5a) 75%, #0b0e18);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cc-banner__row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.cc-banner__icon {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--site-secondary, #0d6e5a) 85%, #000);
  color: #fff;
  font-size: 1.15rem;
}
.cc-banner__title {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}
.cc-banner__text {
  margin: 0 0 0.45rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #aeb6c8;
  max-width: 42rem;
}
.cc-banner__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}
.cc-banner__links a {
  color: color-mix(in srgb, var(--site-primary, #ffc400) 70%, #fff);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cc-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex: 0 1 auto;
}
.cc-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.65rem 1.15rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.cc-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.cc-btn--primary {
  background: var(--site-secondary, #1a3a6b);
  color: #fff;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--site-secondary, #1a3a6b) 40%, transparent),
    0 8px 24px color-mix(in srgb, var(--site-secondary, #1a3a6b) 35%, transparent);
}
.cc-btn--ghost {
  background: transparent;
  color: #e8ecf4;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.cc-banner__wa {
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.7rem;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  font-size: 1.35rem;
  text-decoration: none;
}
.cc-dialog {
  border: 0;
  border-radius: 1rem;
  padding: 0;
  max-width: min(28rem, calc(100vw - 2rem));
  background: transparent;
}
.cc-dialog::backdrop { background: rgba(8, 10, 18, 0.65); }
.cc-dialog__panel {
  margin: 0;
  padding: 1.25rem 1.35rem 1.35rem;
  background: #12151f;
  color: #e8ecf4;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.cc-dialog__panel h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}
.cc-dialog__lead {
  margin: 0 0 1rem;
  color: #aeb6c8;
  font-size: 0.9rem;
}
.cc-switch {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
}
.cc-switch input { margin-top: 0.25rem; accent-color: var(--site-primary, #ffc400); }
.cc-switch strong { display: block; font-size: 0.95rem; }
.cc-switch small { display: block; color: #aeb6c8; font-size: 0.8rem; margin-top: 0.15rem; }
.cc-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
}
.t2-legal { padding: 1.75rem 0 3.5rem; }
.t2-legal__title {
  margin: 0 0 0.35rem;
  font-family: var(--t2-display, inherit);
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.t2-legal__meta {
  margin: 0 0 1.75rem;
  color: var(--t2-muted, #5c6b7a);
  font-size: 0.9rem;
}
.t2-legal__section { margin-bottom: 1.5rem; }
.t2-legal__section h2 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}
.t2-legal__section p,
.t2-legal__section li { color: var(--t2-muted, #5c6b7a); line-height: 1.55; }
.t2-legal__section ul { margin: 0.35rem 0 0; padding-left: 1.2rem; }
.t2-legal__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--t2-line, #e6ebf0);
}
.t2-legal__nav a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.site-legal-body a { text-decoration: underline; }

@media (max-width: 720px) {
  .cc-banner {
    padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom, 0));
  }
  .cc-banner__inner {
    gap: 0.65rem;
  }
  .cc-banner__icon {
    width: 2.1rem;
    height: 2.1rem;
    font-size: 1rem;
  }
  .cc-banner__title {
    font-size: 0.95rem;
  }
  .cc-banner__text {
    font-size: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .cc-banner__links {
    gap: 0.45rem 0.75rem;
  }
  .cc-banner__links a {
    font-size: 0.76rem;
  }
  .cc-banner__actions {
    width: 100%;
    gap: 0.4rem;
  }
  .cc-banner__actions .cc-btn {
    flex: 1 1 auto;
    text-align: center;
    min-height: 2.75rem;
    padding: 0.55rem 0.75rem;
    font-size: 0.84rem;
  }
  .cc-banner__wa {
    margin-left: auto;
    width: 2.75rem;
    height: 2.75rem;
  }
}
