/* ============================================================
   Catapulte — components.css
   Component styles — cards, buttons, forms, badges, category pills
   ============================================================ */

/* ── Service Card ── */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out, background 0.3s;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px var(--accent-dim), 0 0 30px var(--accent-glow);
  border-color: var(--accent-dim);
  background: var(--bg-card-hover);
}
.service-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  color: var(--accent);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Sector Card ── */
.sector-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out, background 0.3s;
}
.sector-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px var(--accent-dim), 0 0 30px var(--accent-glow);
  border-color: var(--accent-dim);
  background: var(--bg-card-hover);
}
.sector-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--accent);
}
.sector-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Article Card ── */
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out, background 0.3s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px var(--accent-dim), 0 0 30px var(--accent-glow);
  border-color: var(--accent-dim);
  background: var(--bg-card-hover);
  color: inherit;
}
.article-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--surface);
}
.article-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.article-card-cat {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding: 3px 10px;
  border: 1px solid var(--accent-dim);
  border-radius: 100px;
}
.article-card-date {
  font-size: 0.78rem;
  color: var(--text-dim);
}
.article-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}
.article-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}
.article-card-author {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid color-mix(in srgb, var(--border) 50%, transparent);
}

/* ── Team Card ── */
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out, background 0.3s;
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px var(--accent-dim), 0 0 30px var(--accent-glow);
  border-color: var(--accent-dim);
  background: var(--bg-card-hover);
}
.team-card-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  background: var(--surface);
  border: 3px solid var(--border);
}
.team-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.team-card .team-role {
  font-size: 0.82rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.team-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Values Card ── */
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out, background 0.3s;
}
.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px var(--accent-dim), 0 0 30px var(--accent-glow);
  border-color: var(--accent-dim);
  background: var(--bg-card-hover);
}
.value-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: var(--accent);
}
.value-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Blockquote ── */
.site-blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 750px;
  margin: 3rem auto;
  padding: 2rem 0;
  text-align: center;
  position: relative;
}
.site-blockquote::before {
  content: '\201C';
  font-size: 5rem;
  color: var(--accent);
  opacity: 0.3;
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: serif;
  line-height: 1;
}

/* ── Category Filter ── */
.category-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.category-pill {
  padding: 7px 18px;
  font-size: 0.82rem;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  background: none;
  font-family: var(--font-body);
  transition: all 0.2s;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
}
.category-pill:hover {
  color: var(--text);
  border-color: var(--border-light);
}
.category-pill.active {
  color: var(--bg);
  background: none;
  border-color: transparent;
  font-weight: 600;
}

/* ── Pill Sliding Indicator ── */
.pill-indicator {
  position: absolute;
  height: 100%;
  top: 0;
  background: var(--accent);
  border-radius: 100px;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

/* ── Newsletter ── */
.newsletter-section {
  text-align: center;
  padding: 5rem 0;
}
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 2rem auto 0;
}
.newsletter-form input {
  flex: 1;
  padding: 12px 20px;
  font-size: 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text);
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-form input::placeholder { color: var(--text-dim); }
.newsletter-form input:focus { border-color: var(--accent); }
.newsletter-form button {
  padding: 12px 28px;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--font-body);
  white-space: nowrap;
  transition: transform 0.2s;
}
.newsletter-form button:hover { transform: translateY(-1px); }

/* ── CTA Section ── */
.cta-section {
  text-align: center;
  padding: 5rem 0;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  margin-bottom: 1rem;
}
.cta-section p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 100px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: transform 0.2s, box-shadow 0.2s, color 0.2s;
}
.cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--text);
  border-radius: inherit;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}
.cta-btn:hover::before {
  clip-path: inset(0 0 0 0);
}
.cta-btn:hover {
  color: var(--accent);
  transform: none;
  box-shadow: none;
}
