/* =======================================
   YOTILY PMS — style & couleurs repris de tarif_index
   Palette : #361CC1 (violet), #fe7a7b / #fe8464 (corail),
   #2E2E2E (titres), #6A6972 (texte)
======================================= */

.pms-page {
  --tp-primary: #361cc1;
  --tp-primary-light: #6a4bff;
  --tp-accent: #fe7a7b;
  --tp-accent-2: #fe8464;
  --tp-dark: #2e2e2e;
  --tp-text: #6a6972;
  --tp-bg-soft: #f7f6fd;
  --tp-border: #ece9fb;
  font-family: "Plus Jakarta Sans", "Poppins", sans-serif;
  color: var(--tp-dark);
  background: #fff;
}

.pms-page .main-btn {
  background: linear-gradient(to right, #fe8464 0%, #fe6e9a 50%, #fe8464 100%);
  background-size: 200%;
  color: #fff;
}

.pms-page .main-btn:hover {
  background-position: right center;
  color: #fff;
}

.pms-page .navbar-area {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  background: transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.pms-page .navbar-area.is-sticky {
  position: fixed;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 24px rgba(54, 28, 193, 0.1);
}

.pms-page .navbar-area .yotily-wordmark,
.pms-page .navbar-area .navbar-nav .nav-item a {
  color: #fff;
}

.pms-page .navbar-area .navbar-nav .nav-item a:hover,
.pms-page .navbar-area .navbar-nav .nav-item a.active {
  color: #ffd6d6;
}

.pms-page .navbar-area.is-sticky .yotily-wordmark,
.pms-page .navbar-area.is-sticky .navbar-nav .nav-item a {
  color: var(--tp-dark);
}

.pms-page .navbar-area.is-sticky .navbar-nav .nav-item a:hover,
.pms-page .navbar-area.is-sticky .navbar-nav .nav-item a.active {
  color: var(--tp-primary);
}

.pms-page .navbar-area.is-sticky .navbar-toggler {
  background: rgba(54, 28, 193, 0.08) !important;
}

.pms-page .navbar-area.is-sticky .toggler-icon {
  background-color: var(--tp-dark);
}

.pms-page .yotily-mark rect {
  fill: url(#pms-nav-mark);
}

/* ---------- Hero (tarif-hero) ---------- */
.tarif-hero {
  background: #170a5c;
  padding: 170px 0 110px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.tarif-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  pointer-events: none;
}

.tarif-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(23, 10, 92, 0.82) 0%, rgba(54, 28, 193, 0.78) 55%, rgba(106, 47, 208, 0.8) 100%),
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.08) 0, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(254, 122, 123, 0.22) 0, transparent 45%);
}

.tarif-hero > .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .tarif-hero-video {
    display: none;
  }
}

.tarif-hero .badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 20px;
}

.tarif-hero h1 {
  color: #fff;
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
}

.tarif-hero h1 span {
  background: linear-gradient(90deg, #ffd6d6, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tarif-hero .brand-signal {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.1;
}

.tarif-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.8;
}

.tarif-hero .hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 28px;
}

.tarif-hero .hero-cta-ghost {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 50px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff !important;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.tarif-hero .hero-cta-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.skills-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
}

.skills-strip span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 50px;
}

.tarif-hero .hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 45px;
}

.tarif-hero .hero-stats .stat-item {
  text-align: center;
}

.tarif-hero .hero-stats .stat-item h3 {
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 4px;
}

.tarif-hero .hero-stats .stat-item span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-transform: none;
  letter-spacing: normal;
}

@media (max-width: 991px) {
  .tarif-hero {
    min-height: auto;
    padding: 230px 0 90px;
  }
}

/* ---------- Sections ---------- */
.tp-section {
  padding: 100px 0;
}

.tp-section.bg-soft {
  background: var(--tp-bg-soft);
}

.tp-section-title {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.tp-section-title .eyebrow {
  display: inline-block;
  color: var(--tp-primary);
  background: #ecebff;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.tp-section-title h2 {
  color: var(--tp-dark);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  margin-bottom: 14px;
}

.tp-section-title h2 span {
  color: var(--tp-primary);
}

.tp-section-title p {
  color: var(--tp-text);
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}

/* ---------- Pillars (how-step) ---------- */
.how-it-works {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.how-step {
  flex: 1 1 280px;
  max-width: 340px;
  background: #fff;
  border: 1px solid var(--tp-border);
  border-radius: 16px;
  padding: 34px 28px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(54, 28, 193, 0.1);
}

.how-step .step-number {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--tp-primary), var(--tp-primary-light));
}

.how-step h4 {
  color: var(--tp-dark);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
}

.how-step p {
  color: var(--tp-text);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* ---------- Feature columns ---------- */
.pms-feature-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.pms-feature-card {
  background: #fff;
  border: 1px solid var(--tp-border);
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: 0 12px 30px rgba(54, 28, 193, 0.05);
}

.pms-feature-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--tp-dark);
}

.pms-feature-card h3 .lni {
  color: var(--tp-accent);
}

.pms-feature-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pms-feature-card li {
  position: relative;
  padding: 12px 0 12px 18px;
  border-bottom: 1px solid var(--tp-border);
  color: var(--tp-text);
  line-height: 1.55;
  font-size: 15px;
}

.pms-feature-card li:last-child {
  border-bottom: 0;
}

.pms-feature-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.2em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tp-primary);
}

.pms-feature-card li strong {
  color: var(--tp-dark);
}

/* ---------- Bridge chips ---------- */
.pms-bridge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pms-bridge-item {
  background: #fff;
  border: 1px solid var(--tp-border);
  border-radius: 14px;
  padding: 22px 18px;
  font-weight: 600;
  color: var(--tp-dark);
  line-height: 1.45;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pms-bridge-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(54, 28, 193, 0.1);
}

/* ---------- Audience ---------- */
.pms-who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.pms-who-item {
  text-align: center;
  padding: 26px 16px;
  background: #fff;
  border: 1px solid var(--tp-border);
  border-radius: 16px;
  font-weight: 700;
  color: var(--tp-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pms-who-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(54, 28, 193, 0.1);
}

.pms-who-item .lni {
  display: block;
  margin-bottom: 10px;
  font-size: 1.5rem;
  color: var(--tp-primary);
}

/* ---------- CTA ---------- */
.tarif-cta {
  background: linear-gradient(135deg, #170a5c 0%, var(--tp-primary) 60%, #6a2fd0 100%);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.tarif-cta h2 {
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 16px;
}

.tarif-cta p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 30px;
  line-height: 1.8;
}

.tarif-cta .main-btn {
  background: #fff;
  color: var(--tp-primary);
  background-image: none;
}

.tarif-cta .main-btn:hover {
  background: var(--tp-accent);
  color: #fff;
}

/* ---------- Footer ---------- */
.pms-footer {
  padding: 28px 0;
  background: #170a5c;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.pms-footer a {
  color: #fff;
  text-decoration: none;
}

.pms-footer a:hover {
  color: #ffd6d6;
}

@media (max-width: 991px) {
  .pms-feature-cols,
  .pms-bridge-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pms-who-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575px) {
  .tp-section {
    padding: 70px 0;
  }
  .pms-feature-cols,
  .pms-bridge-grid,
  .pms-who-grid {
    grid-template-columns: 1fr;
  }
  .tarif-cta {
    padding: 44px 22px;
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wow {
    visibility: visible !important;
    animation: none !important;
  }
}
