/*
 * fixeo-seo-profile-blocks.css — v seo3
 * Styles for SEO authority blocks on artisan profiles:
 *   - Breadcrumb nav
 *   - FAQ section (glass premium, accordion)
 *   - "Voir aussi" internal links grid
 *
 * Append-only. No modifications to existing rules.
 * Mobile-first. No overflow. No blocking.
 */

/* ══════════════════════════════════════════════════════
   BREADCRUMB
   ══════════════════════════════════════════════════════ */
.fpv2-seo-breadcrumb {
  max-width: 900px;
  margin: 0 auto 12px;
  padding: 0 20px;
}

.fpv2-seo-crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

.fpv2-seo-crumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fpv2-seo-crumbs li::before {
  content: '\203a';
  color: rgba(255,255,255,0.18);
}

.fpv2-seo-crumbs li:first-child::before {
  display: none;
}

.fpv2-seo-crumbs a {
  color: rgba(255,255,255,0.42);
  text-decoration: none;
  transition: color 0.15s ease;
}

.fpv2-seo-crumbs a:hover {
  color: rgba(255,255,255,0.72);
}

.fpv2-seo-crumbs [aria-current="page"] {
  color: rgba(255,255,255,0.58);
  font-weight: 500;
}

/* ══════════════════════════════════════════════════════
   SHARED SECTION SHELL
   ══════════════════════════════════════════════════════ */
.fpv2-seo-section {
  max-width: 900px;
  margin: 0 auto 24px;
  padding: 28px 24px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  box-sizing: border-box;
}

.fpv2-seo-section .fpv2-section-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255,255,255,0.30);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.fpv2-seo-section h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

/* ══════════════════════════════════════════════════════
   FAQ SECTION
   ══════════════════════════════════════════════════════ */
.fpv2-faq-section {}

.fpv2-faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fpv2-faq-item {
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.18s ease;
}

.fpv2-faq-item:hover {
  border-color: rgba(255,255,255,0.11);
}

.fpv2-faq-item.fpv2-faq-open {
  border-color: rgba(225,48,108,0.22);
  background: rgba(225,48,108,0.03);
}

.fpv2-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.80);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  transition: color 0.15s ease, background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.fpv2-faq-q:hover {
  background: rgba(255,255,255,0.02);
  color: rgba(255,255,255,0.95);
}

.fpv2-faq-item.fpv2-faq-open .fpv2-faq-q {
  color: #fff;
}

.fpv2-faq-arrow {
  flex-shrink: 0;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.25);
  transition: transform 0.22s ease, color 0.18s ease;
  display: inline-block;
}

.fpv2-faq-item.fpv2-faq-open .fpv2-faq-arrow {
  transform: rotate(90deg);
  color: rgba(225,48,108,0.65);
}

.fpv2-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.fpv2-faq-item.fpv2-faq-open .fpv2-faq-a {
  max-height: 240px;
}

.fpv2-faq-a p {
  padding: 0 18px 16px;
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.50);
}

/* ══════════════════════════════════════════════════════
   VOIR AUSSI — Related links
   ══════════════════════════════════════════════════════ */
.fpv2-links-section {}

.fpv2-seo-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.fpv2-seo-link-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.fpv2-seo-link-card:hover {
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

.fpv2-seo-link-card strong {
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255,255,255,0.80);
  line-height: 1.3;
}

.fpv2-seo-link-card span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.45;
}

/* ══════════════════════════════════════════════════════
   MOBILE (≤ 600px)
   ══════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  .fpv2-seo-breadcrumb {
    padding: 0 14px;
  }

  .fpv2-seo-crumbs {
    font-size: 0.72rem;
    gap: 4px 6px;
  }

  .fpv2-seo-section {
    padding: 20px 16px;
    border-radius: 14px;
    margin-bottom: 16px;
  }

  .fpv2-seo-section h2 {
    font-size: 1.0rem;
    margin-bottom: 16px;
  }

  .fpv2-faq-q {
    padding: 14px 14px;
    font-size: 0.84rem;
  }

  .fpv2-faq-a p {
    padding: 0 14px 14px;
    font-size: 0.82rem;
  }

  .fpv2-seo-links-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .fpv2-seo-link-card {
    padding: 12px 14px;
  }
}

/* ══════════════════════════════════════════════════════
   VERY NARROW (≤ 360px)
   ══════════════════════════════════════════════════════ */
@media (max-width: 360px) {
  .fpv2-seo-crumbs {
    font-size: 0.68rem;
  }

  .fpv2-seo-section {
    padding: 16px 12px;
  }

  .fpv2-faq-q {
    padding: 12px;
    font-size: 0.80rem;
  }
}

/* ══════════════════════════════════════════════════════
   REDUCED MOTION
   ══════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .fpv2-faq-a { transition: none; }
  .fpv2-faq-arrow { transition: none; }
  .fpv2-seo-link-card { transition: none; }
  .fpv2-seo-link-card:hover { transform: none; }
}
