/* Accueil — composition dédiée. Les règles restent limitées à .pc-section-home. */
.pc-section-home {
  --home-ink: #30253c;
  --home-muted: #655c70;
  --home-violet: #6855bb;
  --home-violet-deep: #4f3e9d;
  --home-lilac: #eee9ff;
  --home-cream: #fffaf2;
  --home-radius: 28px;
}

.pc-section-home .site-side-duck {
  display: none;
}

.pc-section-home .home-environment {
  overflow: clip;
  color: var(--home-ink);
  background: #fff;
}

.pc-section-home .home-sky-band {
  position: relative;
  min-height: clamp(560px, 72vh, 760px);
  padding: clamp(76px, 10vw, 132px) 0 clamp(88px, 11vw, 140px) !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.92) 0 8%, transparent 30%),
    linear-gradient(135deg, #f3efff 0%, #e9f5ff 52%, #fff5e8 100%) !important;
}

.pc-section-home .home-sky-band::before {
  content: '' !important;
  position: absolute !important;
  width: 480px !important;
  height: 480px !important;
  right: -170px !important;
  bottom: -300px !important;
  border: 70px solid rgba(113, 91, 197, 0.08) !important;
  border-radius: 50% !important;
}

body.pc-section-home .home-environment .hero .hero-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 3fr) minmax(280px, 1fr) !important;
  align-items: center !important;
  gap: clamp(40px, 7vw, 100px) !important;
}

.pc-section-home .home-hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
}

.pc-section-home .home-eyebrow {
  margin: 0 0 18px !important;
  color: var(--home-violet-deep) !important;
  font-size: 0.78rem !important;
  font-weight: 850 !important;
  letter-spacing: 0.09em;
  line-height: 1.4 !important;
  text-transform: uppercase;
}

.pc-section-home .home-hero-title {
  max-width: 840px !important;
  margin: 0 !important;
  color: var(--home-ink) !important;
  font-size: clamp(2.65rem, 3.85vw, 4rem) !important;
  font-weight: 880 !important;
  letter-spacing: -0.055em !important;
  line-height: 0.98 !important;
  text-wrap: balance;
}

.pc-section-home .home-hero-title span {
  display: block !important;
  white-space: nowrap;
}

.pc-section-home .home-hero-intro {
  max-width: 800px !important;
  margin: 28px 0 0 !important;
  color: var(--home-muted) !important;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem) !important;
  line-height: 1.65 !important;
}

.pc-section-home .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  width: 100%;
  max-width: none;
}

.pc-section-home .home-hero-actions .btn {
  min-height: 50px;
  padding: 13px 21px;
  border-radius: 999px;
  font-weight: 780;
}

.pc-section-home .home-primary-action {
  background: var(--home-violet) !important;
  border-color: var(--home-violet) !important;
  box-shadow: 0 12px 28px rgba(79, 62, 157, 0.22);
}

.pc-section-home .home-secondary-action {
  background: rgba(255, 255, 255, 0.68) !important;
  border-color: rgba(79, 62, 157, 0.25) !important;
}

.pc-section-home .home-hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 360px;
}

.pc-section-home .home-hero-visual::before {
  content: none;
}

.pc-section-home .home-hero-visual img {
  position: relative;
  z-index: 2;
  width: min(24vw, 350px);
  height: auto;
  filter:
    drop-shadow(0 0 10px rgba(255, 255, 255, 0.65))
    drop-shadow(0 24px 18px rgba(31, 20, 61, 0.32));
  transform: rotate(2deg);
}

.pc-section-home .home-visual-orbit {
  display: none;
}

.pc-section-home .home-visual-orbit-one { inset: 6%; }
.pc-section-home .home-visual-orbit-two { inset: 20%; transform: rotate(35deg); }

.pc-section-home .home-benefits-scene {
  padding: clamp(58px, 7vw, 92px) 0 !important;
  background: #fff !important;
}

.pc-section-home .home-section-intro {
  max-width: 980px;
  margin: 0 auto 34px;
  text-align: center;
}

.pc-section-home .home-section-intro h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-wrap: balance;
}

.pc-section-home .home-benefits-scene .home-hero-actions {
  margin-top: 30px;
}

.pc-section-home .home-benefits-scene .benefits-panel {
  gap: 18px !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.pc-section-home .home-benefits-scene .benefit {
  min-height: 180px !important;
  padding: 26px !important;
  border: 1px solid rgba(104, 85, 187, 0.13) !important;
  border-radius: var(--home-radius) !important;
  background: linear-gradient(145deg, #fff 15%, #faf8ff 100%) !important;
  box-shadow: 0 16px 42px rgba(57, 43, 78, 0.07) !important;
}

.pc-section-home .home-benefits-scene .benefit-icon {
  background: var(--home-lilac) !important;
  border-radius: 18px !important;
}

.pc-section-home .home-sky-content,
.pc-section-home .home-releases-content,
.pc-section-home .home-explore-profiles,
.pc-section-home .home-theme-explorer,
.pc-section-home .home-editorial-selections,
.pc-section-home .dynamic-home-sections,
.pc-section-home .supporters-section {
  padding-block: clamp(58px, 7vw, 92px) !important;
}

.pc-section-home .section-head h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.65rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.pc-section-home .home-explore-profiles {
  background: var(--home-cream) !important;
}

.pc-section-home .profile-entry-card {
  min-height: 142px;
  padding: 22px;
  border: 1px solid rgba(96, 75, 126, 0.12);
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(57, 43, 78, 0.06);
}

.pc-section-home .profile-entry-card:focus-visible,
.pc-section-home .home-theme-card:focus-visible,
.pc-section-home .home-editorial-selection-card:focus-visible {
  outline: 3px solid var(--home-violet);
  outline-offset: 4px;
}

@media (max-width: 1100px) {
  .pc-section-home .home-sky-band { min-height: 0; }
  body.pc-section-home .home-environment .hero .hero-grid { grid-template-columns: 1fr !important; }
  .pc-section-home .home-hero-copy { max-width: 760px; }
  .pc-section-home .home-hero-visual { display: none; }
}

@media (max-width: 900px) {
  .pc-section-home .profile-entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .pc-section-home .home-sky-band { padding-block: 58px 72px !important; }
  .pc-section-home .home-hero-title { font-size: clamp(2.35rem, 12vw, 3.4rem) !important; }
  .pc-section-home .home-hero-title span { white-space: normal; }
  .pc-section-home .home-hero-actions { display: grid; }
  .pc-section-home .home-hero-actions .btn { width: 100%; justify-content: center; }
  .pc-section-home .profile-entry-grid { grid-template-columns: 1fr; }
  .pc-section-home .profile-entry-card { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .pc-section-home .home-hero-visual img,
  .pc-section-home .home-hero-visual::before { transform: none; }
}

/* Typographie commune Accueil / Présentation */
.pc-section-home .home-environment {
  font-family: Nunito, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1rem;
}

.pc-section-home .home-hero-title,
.pc-section-home .home-section-intro h2,
.pc-section-home .section-head h2 {
  font-family: var(--font-voice, Georgia, 'Times New Roman', serif) !important;
}

.pc-section-home .home-hero-title {
  font-size: clamp(2.8rem, 3.85vw, 4rem) !important;
}

.pc-section-home .home-section-intro h2,
.pc-section-home .section-head h2 {
  font-size: clamp(2rem, 3vw, 2.75rem) !important;
}

.pc-section-home .home-hero-intro {
  font-size: clamp(1rem, 1.35vw, 1.2rem) !important;
}

.pc-section-home .benefit h3,
.pc-section-home .profile-entry-card strong,
.pc-section-home .home-theme-card strong,
.pc-section-home .home-editorial-selection-card h3 {
  font-family: Nunito, system-ui, -apple-system, 'Segoe UI', sans-serif !important;
  font-size: 1.125rem !important;
  line-height: 1.3 !important;
}

.pc-section-home .benefit p {
  font-size: 1rem !important;
}

.pc-section-home .profile-entry-card small,
.pc-section-home .home-theme-card small {
  font-size: 0.9rem !important;
}

.pc-section-home .dynamic-home-sections {
  padding: clamp(24px, 4vw, 52px) 0;
}

.pc-section-home #dynamic-home-sections-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--pc-layout-gap, 12px);
}

.pc-section-home .dynamic-home-block {
  display: grid;
  gap: 8px;
  min-height: 180px;
  padding: 24px;
  border: 1px solid #ded5ee;
  border-radius: 20px;
  background: linear-gradient(145deg, #fff, #f6f1ff);
  color: inherit;
  text-decoration: none;
}

.pc-section-home .dynamic-home-social:hover,
.pc-section-home .dynamic-home-social:focus-visible {
  border-color: #8f79cf;
  box-shadow: 0 12px 28px rgba(65, 45, 101, 0.12);
  transform: translateY(-2px);
}

.pc-section-home .dynamic-home-platform {
  color: #684fab;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pc-section-home .dynamic-home-block h2,
.pc-section-home .dynamic-home-block p {
  margin: 0;
}

.pc-section-home .dynamic-home-block p {
  white-space: pre-line;
}

.pc-section-home .dynamic-home-block strong {
  align-self: end;
  color: #5d46a0;
}

/* Parutions à venir et récentes : deux carrousels indépendants côte à côte. */
#home-publication-carousels { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--pc-layout-gap,12px); margin:32px auto; padding:0 !important; box-sizing:border-box; }
#home-publication-carousels > section { min-width:0; width:100% !important; max-width:none !important; margin:0 !important; padding:18px !important; box-sizing:border-box; border:1px solid #ded7ec; border-radius:24px; }
#home-publication-carousels > #home-upcoming-section { background:#fff !important; }
#home-publication-carousels > #home-releases-section { background:#fff !important; }
#home-publication-carousels > section > .container { width:100% !important; max-width:none !important; margin:0 !important; padding:0 !important; }
#home-publication-carousels .section-head { display:flex !important; flex-direction:column; align-items:flex-start !important; justify-content:flex-start !important; gap:8px; min-height:0; margin:0 0 14px !important; padding:0 !important; }
#home-publication-carousels .section-head h2 { font-size:var(--pc-public-section-title) !important; line-height:1.15; margin:0 !important; }
#home-news-section .section-head h2,
.home-explore-profiles .section-head h2,
.home-theme-explorer .section-head h2 { font-size:var(--pc-public-section-title) !important; line-height:1.15; }
#home-publication-carousels .section-head p { margin:6px 0 0 !important; }
#home-publication-carousels .section-head > .btn { align-self:flex-end; margin:0 !important; max-width:100%; white-space:normal; text-align:center; }
#home-publication-carousels .carousel-wrap { width:100% !important; max-width:none !important; margin:0 !important; padding-inline:36px !important; box-sizing:border-box; }
#home-publication-carousels:has(> section[hidden]) { grid-template-columns:minmax(0,1fr); }
@media(max-width:760px) {
  #home-publication-carousels { grid-template-columns:minmax(0,1fr); gap:12px; }
  #home-publication-carousels .section-head { min-height:0; }
}
@media(max-width:550px) {
  #home-publication-carousels > section { padding:16px 10px !important; }
}
