/**
 * Coquille visuelle partagée avec /plateforme (hero vidéo, TOC sticky, cartes, CTA).
 * Pages : /plateforme (optionnel), /concept, /partners, /contact.
 */

.heading-font {
  font-family: var(--font-head);
}
.text-brand-gold {
  color: var(--brand-gold);
}

/* ── Hero (aligné plateforme) ── */
.plat-hero {
  position: relative;
  width: 100%;
  min-height: clamp(440px, 58vh, 720px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  padding: calc(var(--hdr-offset-mobile, 78px) + 1.25rem) 1.25rem 2.75rem;
  border-radius: 0 !important;
  border: none !important;
  margin-top: 0;
}
.plat-hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.plat-hero__bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
  z-index: 0;
}
.plat-hero__bg .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(8, 12, 22, 0.82) 0%, rgba(15, 25, 41, 0.72) 45%, rgba(8, 10, 18, 0.88) 100%);
  z-index: 1;
}
@media (min-width: 768px) {
  .plat-hero {
    padding-top: calc(var(--hdr-offset-desktop, 98px) + 1.5rem);
    padding-bottom: 3.25rem;
  }
}
@media (min-width: 960px) {
  .plat-hero__bg .overlay {
    background: linear-gradient(115deg, rgba(8, 12, 22, 0.88) 0%, rgba(15, 25, 41, 0.55) 48%, rgba(10, 12, 22, 0.82) 100%);
  }
}
.plat-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 2.5rem;
  align-items: center;
  max-width: 72rem;
  margin: 0 auto;
  width: 100%;
  padding: 0 max(0px, env(safe-area-inset-right)) 0 max(0px, env(safe-area-inset-left));
}
@media (min-width: 960px) {
  .plat-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(200px, 300px);
    gap: 2rem 3rem;
  }
}
.plat-hero__col--text {
  text-align: center;
}
@media (min-width: 960px) {
  .plat-hero__col--text {
    text-align: left;
    max-width: 38rem;
  }
  .plat-hero__col--text .plat-hero__actions {
    justify-content: flex-start;
  }
  .plat-hero__col--text .plat-hero__chips {
    justify-content: flex-start;
  }
}
.plat-hero__col--visual {
  display: flex;
  justify-content: center;
}
@media (min-width: 960px) {
  .plat-hero__col--visual {
    justify-content: flex-end;
  }
}
.plat-hero__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.plat-hero__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.85rem, 5.5vw, 3rem);
  line-height: 1.08;
  color: #fff;
  letter-spacing: 0.02em;
}
.plat-hero__title .plat-hero__accent {
  display: inline;
  background: linear-gradient(105deg, #ff5a9a 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.plat-hero__lead {
  margin: 1.1rem 0 0;
  font-size: clamp(1rem, 2.4vw, 1.12rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}
.plat-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.35rem;
}
.plat-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.65rem;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.plat-hero__btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #ff2e79, #d4af37);
  box-shadow: 0 6px 28px rgba(255, 46, 121, 0.35);
}
.plat-hero__btn--primary:hover {
  transform: translateY(-2px);
}
.plat-hero__btn--ghost {
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}
.plat-hero__btn--ghost:hover {
  border-color: rgba(255, 46, 121, 0.5);
  background: rgba(255, 46, 121, 0.12);
}
.plat-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}
.plat-hero__chips li {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.2);
}

/* ── Accroche ── */
.plat-read-hook {
  max-width: 38rem;
  margin: 0 auto 2rem;
  padding: 1.15rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 46, 121, 0.22);
  background: linear-gradient(135deg, rgba(255, 46, 121, 0.09), rgba(147, 197, 253, 0.06));
}
.plat-read-hook p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}
.plat-read-hook strong {
  color: #fff;
  font-weight: 700;
}

/* ── Cartes parcours / grille ── */
.plat-journey {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}
.plat-journey-card {
  position: relative;
  padding: 1.15rem 1.1rem 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
  transition: border-color 0.2s, transform 0.2s;
}
.plat-journey-card:hover {
  border-color: rgba(255, 46, 121, 0.28);
  transform: translateY(-2px);
}
.plat-journey-card__icon {
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.plat-journey-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}
.plat-journey-card p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.58);
}

/* ── Chapitre ── */
.plat-chapter-head {
  max-width: 36rem;
  margin-bottom: 1.75rem;
}
.plat-chapter-head__n {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 46, 121, 0.95);
  margin-bottom: 0.4rem;
}
.plat-chapter-head__title {
  margin: 0 0 0.6rem;
  font-family: var(--font-body);
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  letter-spacing: -0.02em;
}
.plat-chapter-head__title em {
  font-style: normal;
  background: linear-gradient(105deg, #ff7eb3, #93c5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.plat-chapter-head__lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
}

/* ── Citation ── */
.plat-quote {
  margin: 2.5rem auto 0;
  max-width: 32rem;
  padding: 1.25rem 1.35rem;
  border-left: 3px solid rgba(255, 46, 121, 0.55);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 255, 255, 0.03);
}
.plat-quote p {
  margin: 0;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}
.plat-quote cite {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
}

/* ── Split (concept / contenus) ── */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: center;
}
@media (min-width: 768px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}
.split.reverse .split-img {
  order: -1;
}
@media (min-width: 768px) {
  .split.reverse .split-img {
    order: 1;
  }
}
.split-img {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, rgba(255, 46, 121, 0.1), rgba(37, 99, 235, 0.1));
}
.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split-text h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: #fff;
  margin: 0 0 0.6rem;
}
.split-text p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin: 0 0 0.5rem;
}
.split-text ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}
.split-text li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 0.3rem;
}
.split-text li strong {
  color: #fff;
}

/* ── CTA bloc final ── */
.plat-cta {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: linear-gradient(135deg, rgba(255, 46, 121, 0.1), rgba(147, 197, 253, 0.06));
  border: 1px solid rgba(255, 46, 121, 0.22);
  border-radius: 18px;
}
.plat-cta h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.plat-cta > p {
  color: rgba(255, 255, 255, 0.68);
  margin: 0 0 1.35rem;
  max-width: 42ch;
  margin-inline: auto;
  line-height: 1.6;
  font-size: 0.95rem;
}
.plat-cta__btn {
  display: inline-block;
  padding: 1rem 2.25rem;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #ff2e79, #d4af37);
  border-radius: 999px;
  box-shadow: 0 4px 22px rgba(255, 46, 121, 0.32);
  transition: transform 0.2s;
}
.plat-cta__btn:hover {
  transform: translateY(-2px);
}

.plat-section-muted {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02));
}

/* ── Contact / surfaces ── */
.plat-surface {
  box-sizing: border-box;
  padding: 1.35rem 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.plat-contact-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .plat-contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.plat-page .section-inner {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.plat-page main [id] {
  scroll-margin-top: calc(var(--hdr-offset-mobile, 78px) + 14px);
}
@media (min-width: 1250px) {
  .plat-page main [id] {
    scroll-margin-top: calc(var(--hdr-offset-desktop, 98px) + 14px);
  }
}

.split-img .img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.15);
}

/* Contact : annule le thème clair imposé par style.css sur .page-contact #contact-form */
.plat-page.page-contact #contact-form .contact-title {
  color: #fff;
}
.plat-page.page-contact #contact-form .label {
  color: rgba(255, 255, 255, 0.88) !important;
}
.plat-page.page-contact #contact-form .form .input,
.plat-page.page-contact #contact-form select,
.plat-page.page-contact #contact-form textarea {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}
.plat-page.page-contact #contact-form .form .input:focus,
.plat-page.page-contact #contact-form select:focus,
.plat-page.page-contact #contact-form textarea:focus {
  border-color: var(--brand-gold, #d4af37) !important;
  box-shadow: 0 0 0 3px rgba(255, 46, 121, 0.2);
}
.plat-page.page-contact #contact-form select option {
  background: #151b2a;
  color: #fff;
}
@media (min-width: 768px) {
  .plat-page .section-inner {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}
