/* Blue Calendar — Capa pública (landing + pàgines legals)
   Identitat: navy fons, dorado accent, vermell CTA secundari, blanc text.
   Sense web fonts: tipografia de sistema per a càrrega ràpida. */

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #061433;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: #7ABBFF; text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

/* ─────────── HEADER PÚBLIC ─────────── */
.bc-header {
  background: #061433;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: calc(env(safe-area-inset-top, 0px) + 14px) 20px 14px;
}
.bc-header-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.bc-brand { display: flex; align-items: center; gap: 10px; color: #ffffff; }
.bc-brand:hover { text-decoration: none; }
.bc-brand-logo {
  width: 36px; height: 36px; border-radius: 9px;
  background: #1A73FF; display: grid; place-items: center;
  color: #ffffff; font-weight: 900; font-size: 18px;
}
.bc-brand-name { font-weight: 900; font-size: 18px; letter-spacing: 0.2px; }
.bc-nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.bc-nav a { color: rgba(255,255,255,0.78); font-weight: 600; font-size: 14px; }
.bc-nav a:hover { color: #ffffff; text-decoration: none; }
.bc-cta {
  background: #F59E0B; color: #061433 !important;
  padding: 10px 18px; border-radius: 10px; font-weight: 900;
  font-size: 14px; letter-spacing: 0.3px;
}
.bc-cta:hover { background: #fbbf24; text-decoration: none; }

/* ─────────── HERO ─────────── */
.bc-hero {
  background: radial-gradient(ellipse at top, #0a1f44 0%, #061433 70%);
  padding: 64px 20px 48px;
}
.bc-hero-inner {
  max-width: 920px; margin: 0 auto; text-align: center;
}
.bc-kicker {
  display: inline-block;
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.45);
  color: #F59E0B;
  padding: 6px 14px; border-radius: 999px;
  font-size: 11px; letter-spacing: 1.5px; font-weight: 900;
  margin-bottom: 20px;
}
.bc-hero h1 {
  font-size: 42px; line-height: 1.15; font-weight: 900;
  margin: 0 0 16px; color: #ffffff;
}
.bc-hero p.lead {
  font-size: 18px; line-height: 1.55; color: rgba(255,255,255,0.85);
  max-width: 680px; margin: 0 auto 28px;
}
.bc-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.bc-btn-primary {
  background: #F59E0B; color: #061433 !important;
  padding: 14px 24px; border-radius: 12px; font-weight: 900;
  font-size: 15px; letter-spacing: 0.3px;
}
.bc-btn-primary:hover { background: #fbbf24; text-decoration: none; }
.bc-btn-secondary {
  background: transparent; color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 14px 24px; border-radius: 12px; font-weight: 700;
  font-size: 15px;
}
.bc-btn-secondary:hover { background: rgba(255,255,255,0.06); text-decoration: none; }

/* ─────────── SECCIONS GENÈRIQUES ─────────── */
.bc-section { padding: 56px 20px; }
.bc-section-inner { max-width: 1080px; margin: 0 auto; }
.bc-section h2 {
  font-size: 30px; font-weight: 900; margin: 0 0 14px; color: #ffffff;
}
.bc-section p.section-lead {
  font-size: 16px; color: rgba(255,255,255,0.78);
  max-width: 720px; margin: 0 0 32px;
}

/* ─────────── GRID DE FUNCIONS ─────────── */
.bc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.bc-card {
  background: #0A1F44;
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid #F59E0B;
  border-radius: 14px;
  padding: 22px;
}
.bc-card h3 {
  margin: 0 0 8px; font-size: 17px; color: #F59E0B;
  font-weight: 900; letter-spacing: 0.2px;
}
.bc-card p {
  margin: 0; font-size: 14px; color: rgba(255,255,255,0.82); line-height: 1.5;
}

/* ─────────── FAIXA INFO ─────────── */
.bc-strip {
  background: #0A1F44;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 40px 20px;
}
.bc-strip-inner {
  max-width: 1080px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.bc-strip-item h4 {
  margin: 0 0 6px; font-size: 14px; color: #F59E0B;
  font-weight: 900; letter-spacing: 1px; text-transform: uppercase;
}
.bc-strip-item p {
  margin: 0; font-size: 14px; color: rgba(255,255,255,0.82);
}

/* ─────────── PLANS ─────────── */
.bc-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 16px;
}
.bc-plan {
  background: #0A1F44;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 24px;
}
.bc-plan.featured { border: 2px solid #7c3aed; }
.bc-plan h3 {
  margin: 0 0 4px; font-size: 18px; color: #ffffff;
  display: flex; align-items: center; gap: 10px;
}
.bc-plan .recommended-tag {
  background: #7c3aed; color: #ffffff;
  padding: 2px 8px; border-radius: 6px;
  font-size: 10px; font-weight: 900; letter-spacing: 0.5px;
}
.bc-plan .price {
  font-size: 28px; font-weight: 900; color: #F59E0B; margin: 6px 0 4px;
}
.bc-plan .price small { font-size: 14px; color: rgba(255,255,255,0.65); font-weight: 700; }
.bc-plan ul { margin: 14px 0 0; padding-left: 18px; }
.bc-plan ul li {
  font-size: 14px; color: rgba(255,255,255,0.82);
  margin-bottom: 6px; line-height: 1.45;
}

/* ─────────── ARTICLE LEGAL ─────────── */
.bc-article {
  max-width: 760px; margin: 0 auto;
  padding: 48px 20px 64px;
}
.bc-article h1 {
  font-size: 32px; font-weight: 900; margin: 0 0 8px;
}
.bc-article .meta {
  color: rgba(255,255,255,0.6); font-size: 13px; margin-bottom: 28px;
}
.bc-article h2 {
  font-size: 22px; font-weight: 900; margin: 32px 0 10px; color: #F59E0B;
}
.bc-article h3 {
  font-size: 17px; font-weight: 800; margin: 20px 0 6px; color: #ffffff;
}
.bc-article p, .bc-article li {
  color: rgba(255,255,255,0.85); line-height: 1.65; font-size: 15px;
}
.bc-article ul, .bc-article ol { padding-left: 22px; }
.bc-article a { color: #7ABBFF; }
.bc-article hr {
  border: 0; border-top: 1px solid rgba(255,255,255,0.1);
  margin: 32px 0;
}
.bc-article table {
  width: 100%; border-collapse: collapse; margin: 16px 0;
}
.bc-article table th, .bc-article table td {
  padding: 8px 10px; border: 1px solid rgba(255,255,255,0.12);
  font-size: 14px; text-align: left;
}
.bc-article table th {
  background: rgba(245,158,11,0.1); color: #F59E0B; font-weight: 900;
}

/* ─────────── FOOTER ─────────── */
.bc-footer {
  background: #061433;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 32px 20px calc(env(safe-area-inset-bottom, 0px) + 24px);
  margin-top: 48px;
}
.bc-footer-inner {
  max-width: 1080px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.bc-footer h5 {
  margin: 0 0 10px; font-size: 12px; letter-spacing: 1px;
  text-transform: uppercase; color: #F59E0B; font-weight: 900;
}
.bc-footer p, .bc-footer a {
  font-size: 13px; color: rgba(255,255,255,0.72); margin: 0 0 6px;
  display: block;
}
.bc-footer a:hover { color: #ffffff; }
.bc-footer .copyright {
  margin-top: 24px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center; font-size: 12px; color: rgba(255,255,255,0.5);
}

/* ─────────── RESPONSIVE ─────────── */
@media (max-width: 600px) {
  .bc-hero { padding: 40px 18px 36px; }
  .bc-hero h1 { font-size: 30px; }
  .bc-hero p.lead { font-size: 16px; }
  .bc-section { padding: 40px 18px; }
  .bc-section h2 { font-size: 24px; }
  .bc-article h1 { font-size: 26px; }
}
