/* ============================================================
   HUMEET - components.css
   Navbar, boutons, cards (liquid glass), pricing, FAQ,
   tableau comparatif, footer
   ============================================================ */

/* ------------------------------------------------------------
   1. NAVBAR - fixe, effet liquid glass au scroll
   ------------------------------------------------------------ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-block: 1rem;
  transition: var(--transition-smooth);
}

/* État scrollé : verre dépoli (classe ajoutée par main.js) */
.navbar.is-scrolled {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.62),
    rgba(250, 250, 250, 0.42)
  );
  backdrop-filter: blur(24px) saturate(200%) brightness(1.03);
  -webkit-backdrop-filter: blur(24px) saturate(200%) brightness(1.03);
  box-shadow:
    0 1px 0 rgba(22, 39, 40, 0.05),
    0 8px 32px rgba(22, 39, 40, 0.08),
    inset 0 -1px 0 rgba(255, 255, 255, 0.55);
  padding-block: 0.65rem;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo image (PNG officiel en dégradé, fond transparent) */
.logo {
  display: inline-flex;
  align-items: center;
}

.logo-img {
  height: 30px;
  width: auto;
}

.footer .logo-img {
  height: 26px;
}

/* Liens de navigation */
.nav-links {
  display: none; /* mobile-first : masqué, drawer via hamburger */
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.97rem;
  color: rgba(22, 39, 40, 0.78);
  transition: var(--transition-smooth);
  position: relative;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--dark);
}

.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-primary);
}

.nav-ctas {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

/* Bouton hamburger (mobile) */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  border-radius: 10px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--dark);
  transition: var(--transition-smooth);
}

/* Croix animée quand le menu est ouvert */
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Drawer mobile */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  z-index: 99;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.78),
    rgba(250, 250, 250, 0.62)
  );
  backdrop-filter: blur(30px) saturate(190%);
  -webkit-backdrop-filter: blur(30px) saturate(190%);
  box-shadow: -20px 0 60px rgba(22, 39, 40, 0.15);
  padding: 6rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu a {
  font-family: var(--font-black);
  font-weight: 900;
  font-size: 1.25rem;
  padding: 0.75rem 0;
  color: var(--dark);
}

.mobile-menu .mobile-ctas {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Voile derrière le drawer */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(22, 39, 40, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.menu-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Desktop : liens visibles, hamburger masqué */
@media (min-width: 1024px) {
  .nav-links,
  .nav-ctas {
    display: flex;
  }
  .nav-toggle,
  .mobile-menu,
  .menu-overlay {
    display: none;
  }
}

/* ------------------------------------------------------------
   2. BOUTONS
   ------------------------------------------------------------ */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-black);
  font-weight: 900;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  transition: var(--transition-smooth);
  white-space: nowrap;
}

/* Balayage lumineux : un reflet traverse le bouton au survol */
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -160%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.btn:hover::after,
.btn:focus-visible::after {
  left: 170%;
}

.btn:active {
  transform: translateY(0) scale(0.97);
}

/* CTA principal - rempli Pulse */
.btn--filled {
  background: var(--pulse);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(249, 77, 105, 0.35);
}

.btn--filled:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(249, 77, 105, 0.45);
}

/* CTA en dégradé - signature */
.btn--gradient {
  background: var(--gradient-primary);
  background-size: 160% 160%;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(89, 109, 167, 0.3);
}

.btn--gradient:hover {
  transform: translateY(-2px);
  background-position: 100% 50%;
  box-shadow: 0 12px 32px rgba(89, 109, 167, 0.4);
}

/* CTA secondaire - outline */
.btn--outline {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.55),
    rgba(255, 255, 255, 0.3)
  );
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  color: var(--dark);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.8),
    0 0 0 1px rgba(22, 39, 40, 0.12),
    0 8px 24px rgba(22, 39, 40, 0.08);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 0 0 2px var(--atlas),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: var(--atlas);
  transform: translateY(-2px);
}

/* Variante outline sur fond sombre */
.btn--outline-light {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--givre);
  box-shadow: inset 0 0 0 2px rgba(250, 250, 250, 0.4);
}

.btn--outline-light:hover {
  box-shadow: inset 0 0 0 2px var(--givre);
  background: rgba(250, 250, 250, 0.08);
}

.btn--small {
  font-size: 0.9rem;
  padding: 0.6rem 1.3rem;
}

.btn--large {
  font-size: 1.1rem;
  padding: 1.05rem 2.25rem;
}

/* ------------------------------------------------------------
   3. CARDS - liquid glass
   ------------------------------------------------------------ */
/* Vitre liquid glass : flou intense + saturation, fond en dégradé
   (gloss en haut, plus dense en bas) et double rim lumineux qui
   simule l'épaisseur du verre. Le fond vidéo, en mouvement constant
   derrière, rend la matière vivante. */
.card {
  position: relative;
  border-radius: var(--radius-card);
  padding: 2rem;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(255, 255, 255, 0.26) 35%,
    rgba(255, 255, 255, 0.4) 100%
  );
  backdrop-filter: blur(26px) saturate(190%) brightness(1.04);
  -webkit-backdrop-filter: blur(26px) saturate(190%) brightness(1.04);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 24px 60px rgba(22, 39, 40, 0.1),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(89, 109, 167, 0.12),
    inset 1px 0 0 rgba(255, 255, 255, 0.45),
    inset -1px 0 0 rgba(255, 255, 255, 0.25);
  transition: var(--transition-smooth);
}

.card:hover {
  transform: translateY(-4px) scale(1.008);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 32px 80px rgba(89, 109, 167, 0.18),
    inset 0 1.5px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(89, 109, 167, 0.15),
    inset 1px 0 0 rgba(255, 255, 255, 0.55),
    inset -1px 0 0 rgba(255, 255, 255, 0.35);
}

/* Reflet spéculaire : une lueur suit le curseur sur le verre
   (coordonnées --mx / --my pilotées par animations.js) */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    240px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.55),
    transparent 65%
  );
  mix-blend-mode: soft-light;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.card:hover::after {
  opacity: 1;
}

.card h3 {
  margin-bottom: 0.6rem;
}

.card p {
  color: rgba(22, 39, 40, 0.7);
  font-size: 0.97rem;
}

/* Icône en pastille gradient */
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient-soft);
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

/* Card de bifurcation (Talents / Entreprises) - cliquable */
.card--cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2.5rem;
  overflow: hidden;
}

.card--cta::before {
  /* Liseré gradient en haut de card */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

/* Rangée de CTA en bas de card : pousse l'ensemble vers le bas
   pour que les deux cards alignent leurs liens, quel que soit le
   nombre de boutons. Lien à gauche, bouton démo à droite. */
.card-cta-row {
  margin-top: auto;
  display: flex;
  align-items: center;          /* lien et bouton sur la même ligne */
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;             /* = hauteur du bouton, pour aligner les deux cards */
}

/* Le lien et le bouton restent sur une seule ligne ; sur très
   petits écrans, la rangée peut wrapper proprement. */
.card-cta-row .card-link {
  min-height: 44px;            /* même hauteur que le bouton voisin */
  display: inline-flex;
  align-items: center;
}

@media (max-width: 520px) {
  .card-cta-row {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .card-cta-row .card-link { min-height: 0; }
}

.card--cta .card-link {
  font-family: var(--font-black);
  font-weight: 900;
  color: var(--pulse);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-smooth);
}

.card--cta:hover .card-link {
  gap: 0.75rem;
}

/* Card étape (Comment ça marche) */
.card--step {
  text-align: left;
}

.step-number {
  font-family: var(--font-black);
  font-weight: 900;
  font-size: 3rem;
  line-height: 1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 1rem;
}

/* Card "douleur" (section problème) */
.card--pain {
  background: rgba(255, 255, 255, 0.5);
}

.card--pain ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.card--pain li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: rgba(22, 39, 40, 0.75);
  font-size: 0.97rem;
}

.card--pain li::before {
  content: "\2715"; /* croix */
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--pulse);   /* rond rouge */
  color: #fff;                /* croix blanche */
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
}

/* ------------------------------------------------------------
   4. PRICING
   ------------------------------------------------------------ */
.pricing-group {
  margin-bottom: var(--space-block);
}

.pricing-group-title {
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 2.25rem;
}

.pricing-card--featured {
  border: 1px solid rgba(249, 77, 105, 0.35);
  box-shadow: 0 24px 64px rgba(249, 77, 105, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

/* Conserver le contour Pulse au survol (la règle .card:hover
   le repassait en blanc) */
.pricing-card--featured:hover {
  border-color: rgba(249, 77, 105, 0.55);
  box-shadow: 0 32px 80px rgba(249, 77, 105, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: #fff;
  font-family: var(--font-black);
  font-weight: 900;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.pricing-plan-name {
  font-size: 1.35rem;
}

.pricing-tagline {
  font-size: 0.92rem;
  color: rgba(22, 39, 40, 0.6);
  margin-top: 0.35rem;
}

.card p.pricing-price {
  margin-block: 1.25rem 1.5rem;
  font-family: var(--font-black);
  font-weight: 900;
  font-size: 2.7rem;            /* prix mis en évidence (réduit de 25%) */
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--dark);
}

.pricing-price .price-period {
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-medium);
  color: rgba(22, 39, 40, 0.5);
  margin-left: 0.15rem;
}

.pricing-price .price-note {
  display: block;
  font-family: var(--font-medium);
  font-weight: 500;
  font-size: 0.85rem;
  color: rgba(22, 39, 40, 0.6);
  margin-top: 0.5rem;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.pricing-features li {
  display: grid;
  grid-template-columns: 20px 1fr;
  column-gap: 0.7rem;
  row-gap: 0.15rem;
  align-items: start;
}

/* Titre de la fonctionnalité : gras, taille normale */
.pricing-features .feat-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
  align-self: center;
}

/* Explication : sous le titre, plus petite et moins grasse */
.pricing-features .feat-desc {
  grid-column: 2;             /* alignée sous le titre, pas sous la coche */
  font-weight: 500;
  font-size: 0.83rem;
  line-height: 1.45;
  color: rgba(22, 39, 40, 0.62);
}

/* Coche gradient, alignée sur la ligne du titre */
.pricing-features li::before {
  content: "✓";
  grid-column: 1;
  grid-row: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gradient-soft);
  color: var(--pulse);
  font-weight: 900;
  font-size: 0.7rem;
  align-self: center;
}

.pricing-card .btn {
  margin-top: auto;
}

/* ------------------------------------------------------------
   5. FAQ - accordéon accessible
   ------------------------------------------------------------ */
.faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  border-radius: var(--radius-card);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.58),
    rgba(255, 255, 255, 0.34)
  );
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow-glass), inset 0 1.5px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-family: var(--font-black);
  font-weight: 900;
  font-size: 1.02rem;
  color: var(--dark);
  padding: 1.25rem 1.5rem;
}

.faq-question .faq-chevron {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gradient-soft);
  color: var(--pulse);
  font-weight: 900;
  transition: var(--transition-smooth);
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(45deg);
  background: var(--gradient-primary);
  color: #fff;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  padding: 0 1.5rem 1.4rem;
  font-size: 0.97rem;
  color: rgba(22, 39, 40, 0.72);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

/* ------------------------------------------------------------
   6. COMPARATIF "VERSUS" - deux cards (ancien vs Humeet)
   ------------------------------------------------------------ */
.versus {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 980px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .versus { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

.versus-card {
  border-radius: calc(var(--radius-card) * 1.2);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-premium), inset 0 1.5px 0 rgba(255, 255, 255, 0.9);
  transition: var(--transition-smooth);
}

/* Légère inclinaison opposée des deux cartes (effet "posées"),
   uniquement sur desktop ; redressées au survol */
@media (min-width: 768px) {
  .versus-card--old { transform: rotate(-2.5deg); }
  .versus-card--new { transform: rotate(2.5deg); }
  .versus-card:hover { transform: rotate(0deg) translateY(-4px); }
}

.versus-card h3 {
  text-align: center;
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  margin-bottom: 1.75rem;
}

/* La card Humeet est mise en avant par un liseré gradient */
.versus-card--new {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.8));
}

.versus-card--new::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--gradient-primary);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.versus-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.versus-item {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--dark);
}

/* Ancienne méthode : fond Pulse très clair, croix Pulse */
.versus-item.is-bad {
  background: rgba(249, 77, 105, 0.07);
}

/* Approche Humeet : fond vert très clair, coche verte */
.versus-item.is-good {
  background: rgba(31, 191, 134, 0.12);
}

.versus-mark {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  color: #fff;
}

.versus-mark svg { width: 17px; height: 17px; }

.is-bad .versus-mark { background: var(--pulse); }
.is-good .versus-mark { background: var(--success); }

.versus-cta {
  text-align: center;
  margin-top: clamp(2rem, 5vw, 3rem);
}

.versus-cta p {
  margin-inline: auto;
}

/* ------------------------------------------------------------
   7. BANDEAU PREUVE SOCIALE
   ------------------------------------------------------------ */
.proof-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: var(--space-block);
}

@media (min-width: 768px) {
  .proof-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

.proof-stat {
  text-align: center;
  padding: 2rem 1.5rem;
}

.proof-stat .stat-value {
  font-family: var(--font-black);
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1.1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.proof-stat .stat-label {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  color: rgba(22, 39, 40, 0.7);
  margin-inline: auto;
}

/* ------------------------------------------------------------
   8. CTA FINAL - panneau gradient
   ------------------------------------------------------------ */
.cta-panel {
  position: relative;
  border-radius: calc(var(--radius-card) * 1.5);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  background: var(--gradient-primary);
  color: #fff;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.cta-panel h2 {
  color: #fff;
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.88);
  margin: 1rem auto 0;
}

.cta-panel .hero-ctas {
  justify-content: center;
}

.cta-panel .btn--filled {
  background: #fff;
  color: var(--pulse);
  box-shadow: 0 8px 24px rgba(22, 39, 40, 0.2);
}

/* Filigrane "um" dans le panneau CTA : logo passé en blanc via filter */
.cta-panel .um-watermark {
  filter: brightness(0) invert(1);
  opacity: 0.1;
  right: -4%;
  bottom: -18%;
  width: clamp(220px, 32vw, 460px);
}

/* ------------------------------------------------------------
   9. FOOTER
   ------------------------------------------------------------ */
.footer {
  background: var(--dark);
  color: rgba(250, 250, 250, 0.75);
  padding-block: 3.5rem 2rem;
  margin-top: var(--space-section);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer .logo {
  color: var(--givre);
}

.footer-baseline {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  color: rgba(250, 250, 250, 0.55);
}

.footer h4 {
  color: var(--givre);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

.footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer a {
  font-size: 0.95rem;
  color: rgba(250, 250, 250, 0.7);
  transition: var(--transition-smooth);
}

.footer a:hover {
  color: var(--givre);
}

.footer-bottom {
  border-top: 1px solid rgba(250, 250, 250, 0.12);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(250, 250, 250, 0.5);
}

/* ------------------------------------------------------------
   12. PRICING TOGGLE (tarifs) - bascule Talents / Entreprises
   ------------------------------------------------------------ */
.hero-note {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  /* même police et taille que le sous-titre, mais en gras */
  font-family: var(--font-medium);
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--dark);
}

.hero-note svg {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  color: var(--success);
}

.pricing-toggle {
  position: relative;
  display: inline-flex;
  gap: 0.25rem;
  /* centrage fiable : le bloc inline-flex est centré par son conteneur */
  width: fit-content;
  margin: 0 auto clamp(2rem, 5vw, 3rem);
  padding: 5px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-glass), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Conteneur centreur (le parent direct) */
.pricing-toggle-wrap {
  display: flex;
  justify-content: center;
}

/* Pastille coulissante qui marque l'onglet actif */
.pricing-toggle-pill {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(50% - 5px);
  border-radius: var(--radius-pill);
  background: var(--gradient-primary);
  box-shadow: 0 8px 20px rgba(249, 77, 105, 0.3);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Quand Entreprises est actif, la pastille glisse à droite */
.pricing-toggle[data-active="entreprises"] .pricing-toggle-pill {
  transform: translateX(100%);
}

.pricing-toggle-btn {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 130px;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-black);
  font-weight: 900;
  font-size: 0.98rem;
  color: rgba(22, 39, 40, 0.6);
  transition: color 0.3s ease;
}

.pricing-toggle-btn.is-active {
  color: #fff;
}

/* Panneaux : un seul visible à la fois */
.pricing-panel[hidden] {
  display: none;
}

.pricing-panel {
  animation: panel-fade 0.4s ease both;
}

@keyframes panel-fade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .pricing-toggle-pill,
  .pricing-panel { transition: none; animation: none; }
}

/* ------------------------------------------------------------
   13. SOUS-TOGGLE FACTURATION (panneau Entreprises) + réductions
   ------------------------------------------------------------ */
.billing-toggle {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 2rem;
  /* compense optiquement le badge -17% qui déborde à droite */
  transform: translateX(-12px);
}

.billing-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-black);
  font-weight: 900;
  font-size: 0.92rem;
  color: rgba(22, 39, 40, 0.6);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(22, 39, 40, 0.08);
  transition: var(--transition-smooth);
}

.billing-btn.is-active {
  color: var(--dark);
  background: #fff;
  box-shadow: 0 6px 18px rgba(22, 39, 40, 0.08);
}

/* Badge de réduction : vert */
.billing-save {
  position: absolute;
  top: -10px;
  right: -14px;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-pill);
  color: #fff;
  background: var(--success);
  box-shadow: 0 2px 8px rgba(31, 191, 134, 0.35);
}

/* "2 mois offerts" en vert dans la note de prix annuel */
.price-save {
  color: var(--success);
  font-weight: 700;
}

.pricing-price[hidden] { display: none; }

/* ------------------------------------------------------------
   14. STEPS GRID - 3 cartes reliées par des flèches pointillées,
   décalées verticalement en escalier (desktop).
   ------------------------------------------------------------ */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.step-cell { display: flex; }
.step-cell > .card { width: 100%; }

/* Connecteurs masqués sur mobile (cartes empilées) */
.step-connector {
  display: none;
  align-items: center;
  justify-content: center;
}

.step-arrow {
  width: 100%;
  max-width: 160px;
  height: 110px;
}

/* Desktop : 3 colonnes de cartes + 2 colonnes de flèches,
   cartes décalées verticalement pour loger les flèches. */
@media (min-width: 860px) {
  .steps-grid {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: start;
  }

  /* Escalier descendant : chaque carte plus basse que la précédente */
  .step-cell--1 { grid-column: 1; padding-top: 0; }
  .step-connector--1 { grid-column: 2; }
  .step-cell--2 { grid-column: 3; padding-top: 3.5rem; }    /* niveau intermédiaire */
  .step-connector--2 { grid-column: 4; }
  .step-cell--3 { grid-column: 5; padding-top: 7rem; }      /* niveau le plus bas */

  .step-connector {
    display: flex;
    align-self: start;
    padding-inline: 0.25rem;
  }
  /* Les flèches courbes se logent dans les paliers de l'escalier
     et accompagnent la descente d'une carte à la suivante. */
  .step-connector--1 { margin-top: 4.5rem; }
  .step-connector--2 { margin-top: 8rem; }
}

/* ------------------------------------------------------------
   15. FOOTER - réseaux sociaux + mentions légales
   ------------------------------------------------------------ */
.footer-social {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: rgba(250, 250, 250, 0.8);
  background: rgba(250, 250, 250, 0.08);
  border: 1px solid rgba(250, 250, 250, 0.14);
  transition: var(--transition-smooth);
}

.footer-social a:hover {
  color: #fff;
  background: var(--gradient-primary);
  border-color: transparent;
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

/* Mentions légales : alignées à droite du copyright */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
}

.footer-legal a {
  font-size: 0.85rem;
  color: rgba(250, 250, 250, 0.6);
  transition: var(--transition-smooth);
}

.footer-legal a:hover {
  color: var(--givre);
}

/* ------------------------------------------------------------
   16. VIDEO SHOWCASE - emplacement démo (vidéo à venir)
   Cadre 16:9 en liquid glass, bouton play, placeholder premium.
   Pour intégrer la vidéo : remplacer .video-frame par un
   <video controls poster="..."> ou une <iframe> (même conteneur).
   ------------------------------------------------------------ */
.video-showcase {
  max-width: 940px;
  margin-inline: auto;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius-card) * 1.3);
  overflow: hidden;
  /* halo gradient autour du cadre (signature) */
  padding: 1px;
  background: var(--gradient-primary);
  box-shadow: var(--shadow-premium);
}

.video-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius-card) * 1.3 - 1px);
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 70% 20%, rgba(249, 77, 105, 0.16), transparent 60%),
    radial-gradient(70% 90% at 20% 90%, rgba(89, 109, 167, 0.2), transparent 60%),
    #11201f;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Vidéo réelle (quand fournie) : occupe tout le cadre */
.video-inner video,
.video-inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

/* Placeholder affiché tant qu'aucune vidéo n'est intégrée */
.video-placeholder {
  position: relative;
  z-index: 1;
  text-align: center;
  color: rgba(250, 250, 250, 0.92);
  padding: 1.5rem;
}

.video-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
  transition: var(--transition-smooth);
}

.video-play svg { width: 30px; height: 30px; color: #fff; margin-left: 4px; }

/* pulsation douce du bouton play */
.video-play::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  animation: play-pulse 2.4s ease-out infinite;
}

@keyframes play-pulse {
  0%   { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}

.video-placeholder p {
  margin: 0 auto;
  max-width: 30ch;
  font-size: 0.97rem;
  color: rgba(250, 250, 250, 0.8);
}

.video-placeholder .video-soon {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-family: var(--font-black);
  font-weight: 900;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

@media (prefers-reduced-motion: reduce) {
  .video-play::after { animation: none; }
}

/* ------------------------------------------------------------
   17. HERO SPLIT VIDÉO (talents / entreprises)
   Texte à gauche (max ~50% sur desktop), vidéo en biais à droite
   avec profondeur. La vidéo réutilise .video-frame / .video-inner.
   ------------------------------------------------------------ */
.hero--split .hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero--split .hero-grid {
    /* texte ~48% à gauche, vidéo plus large à droite */
    grid-template-columns: 1fr 1.1fr;
    gap: 2.25rem;
    align-items: start;
  }
  .hero--split .hero-content { max-width: 560px; }
  /* la vidéo déborde vers la droite pour gagner en taille,
     et descend légèrement pour passer sous la 1re ligne du titre */
  .hero--split .hero-video {
    width: 108%;
    margin-right: -10%;
    margin-top: 3rem;
  }
}

@media (min-width: 1280px) {
  .hero--split .hero-video {
    width: 114%;
    margin-right: -16%;
  }
}

/* Vidéo inclinée avec perspective (angle + profondeur) */
.hero-video {
  position: relative;
  perspective: 1400px;
}

.hero-video .video-frame {
  transform: rotateY(-9deg) rotateX(3deg) rotate(-1.5deg);
  transform-origin: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    -30px 30px 70px rgba(22, 39, 40, 0.22),
    0 10px 30px rgba(89, 109, 167, 0.18);
}

.hero-video .video-frame:hover {
  transform: rotateY(-4deg) rotateX(1.5deg) rotate(0deg);
}

/* Sur mobile : la vidéo se redresse et s'empile sous le texte */
@media (max-width: 959px) {
  .hero-video .video-frame {
    transform: none;
    box-shadow: var(--shadow-premium);
  }
}

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

/* CTA du hero split (entreprises) : maintenus sur une seule ligne */
@media (min-width: 600px) {
  .hero--split .hero-ctas {
    flex-wrap: nowrap;
  }
  .hero--split .hero-ctas .btn {
    white-space: nowrap;
  }
}

/* Titres des heros split : chaque ligne (séparée par <br>) ne se
   replie pas, pour respecter la structure voulue. */
.hero--split #hero-title { text-wrap: nowrap; }
@media (max-width: 600px) {
  .hero--split #hero-title { text-wrap: balance; }
}

/* Hero split (talents/entreprises) : compacter pour révéler le
   haut de la section suivante sans scroller (teaser). */
.hero--split {
  padding-top: clamp(5.5rem, 9vw, 7rem);
  padding-bottom: clamp(1rem, 2vw, 1.5rem);
}


/* La section juste après un hero split démarre plus tôt : son
   titre devient visible dès l'arrivée (teaser de scroll). */
.hero--split + .section {
  padding-top: clamp(1rem, 2.5vw, 2rem);
}

/* Écrans peu hauts : H1 hero split réduit pour révéler la 2e section */
@media (min-width: 960px) and (max-height: 760px) {
  .hero--split #hero-title { font-size: clamp(2.2rem, 3.5vw, 2.8rem); }
  .hero--split { padding-top: clamp(5rem, 8vw, 6rem); }
}

/* ------------------------------------------------------------
   18. RESSOURCES (blog) - cartes articles
   ------------------------------------------------------------ */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.resource-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: var(--transition-smooth);
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-premium);
}

.resource-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--gradient-primary);
  position: relative;
}

.resource-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 75% 20%, rgba(255,255,255,0.25), transparent 60%);
}

.resource-body {
  padding: 1.5rem 1.6rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.resource-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
}

.resource-cat {
  font-family: var(--font-black);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pulse);
}

.resource-time { color: rgba(22, 39, 40, 0.5); }

.resource-card h3 {
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

.resource-card h3 a { color: var(--dark); transition: var(--transition-smooth); }
.resource-card h3 a:hover { color: var(--pulse); }

.resource-card p {
  font-size: 0.92rem;
  color: rgba(22, 39, 40, 0.7);
  margin-bottom: 1.1rem;
}

.resource-card .card-link { margin-top: auto; }

/* Article à la une : pleine largeur, 2 colonnes sur desktop */
.resource-featured-wrap { max-width: 1000px; margin-inline: auto; }

.resource-card--featured {
  flex-direction: column;
}

@media (min-width: 800px) {
  .resource-card--featured {
    flex-direction: row;
    align-items: stretch;
  }
  .resource-card--featured .resource-thumb {
    width: 45%;
    aspect-ratio: auto;
  }
  .resource-card--featured .resource-body {
    width: 55%;
    padding: 2.5rem;
    justify-content: center;
  }
  .resource-card--featured h3 { font-size: 1.7rem; }
  .resource-card--featured p { font-size: 1rem; }
}
