@import url('../nav-dropdown.css');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --blue:       #1a6fb5;
      --blue-dark:  #134f85;
      --blue-light: #e8f2fb;
      --green:      #17a589;
      --green-light:#e6f7f4;
      --gold:       #d97706;
      --gold-light: #fef3c7;
      --dark:       #1a1f2e;
      --gray:       #64748b;
      --gray-light: #f1f5f9;
      --white:      #ffffff;
      --border:     #e2e8f0;
      --radius:     14px;
      --shadow:     0 4px 24px rgba(26,111,181,.10);
      --shadow-md:  0 8px 40px rgba(26,111,181,.15);
    }

    html { scroll-behavior: smooth; }
    body { font-family: 'Inter', system-ui, sans-serif; color: var(--dark); background: var(--white); line-height: 1.6; font-size: 16px; }

    .container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

    .btn {
      display: inline-block; padding: 15px 32px; border-radius: 50px;
      font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none;
      transition: all .25s ease; border: none; text-align: center;
    }
    .btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 4px 16px rgba(26,111,181,.35); }
    .btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,111,181,.45); }
    .btn-gold { background: var(--gold); color: var(--white); box-shadow: 0 4px 16px rgba(217,119,6,.35); }
    .btn-gold:hover { background: #b45309; transform: translateY(-2px); }
    .btn-green { background: var(--green); color: var(--white); box-shadow: 0 4px 16px rgba(23,165,137,.35); }
    .btn-green:hover { background: #139a7a; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(23,165,137,.45); }
    .btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
    .btn-outline:hover { background: var(--blue-light); }
    .btn-dark { background: var(--dark); color: var(--white); box-shadow: 0 4px 16px rgba(0,0,0,.2); }
    .btn-dark:hover { background: #0f1520; transform: translateY(-2px); }
    .btn-full { width: 100%; }

    /* ── NAV ─────────────────────────────────────────────── */
    nav {
      position: sticky; top: 0; z-index: 100;
      background: rgba(255,255,255,.95); backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border); padding: 0 24px;
    }
    .nav-inner {
      max-width: 1100px; margin: 0 auto;
      display: flex; align-items: center; justify-content: space-between; height: 78px;
    }
    .logo { font-size: clamp(20px, 2.2vw, 24px); font-weight: 800; color: var(--blue); text-decoration: none; display: flex; align-items: center; gap: 10px; line-height: 1; letter-spacing: -0.02em; }
    .logo span { color: var(--dark); }
    footer .logo { font-size: clamp(17px, 1.8vw, 21px); gap: 8px; letter-spacing: -0.02em; }
    .nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
    .nav-links a { text-decoration: none; color: var(--dark); font-size: 14px; font-weight: 500; transition: color .2s; }
    .nav-links a:visited { color: var(--dark); text-decoration: none; }
    .nav-links a:hover, .nav-links a.active { color: var(--blue); }
    .nav-links a.active:visited { color: var(--blue); }
    .nav-cta { margin-left: 0; }
    .helpe-nav-actions .btn.nav-cta,
    .helpe-nav-actions .btn.nav-cta-guides {
      padding: 10px 24px;
      font-size: 14px;
      font-weight: 600;
      line-height: 1.2;
      white-space: nowrap;
    }
    .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
    .hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: all .3s; }
    .mobile-menu { display: none; flex-direction: column; gap: 0; background: var(--white); border-top: 1px solid var(--border); padding: 16px 24px 24px; }
    .mobile-menu.open { display: flex; }
    .mobile-menu a:not(.btn):not(.btn-helpe-formation) { text-decoration: none; color: var(--dark); font-size: 16px; font-weight: 500; padding: 12px 0; border-bottom: 1px solid var(--border); }
    .mobile-menu .btn, .mobile-menu a.btn-helpe-formation { display: inline-block; margin-top: 10px; text-align: center; width: 100%; box-sizing: border-box; border-bottom: none; padding: 14px 32px; font-size: 15px; font-weight: 600; border-radius: 50px; text-decoration: none; }
    .mobile-menu a.btn-primary { background: var(--blue); color: var(--white) !important; border: none; box-shadow: 0 4px 16px rgba(26,111,181,.35); }
    .mobile-menu a.btn-outline { background: var(--white); color: var(--blue) !important; border: 2px solid var(--blue); }
    .mobile-menu a.btn-helpe-formation { color: #fff !important; background: #17a589; border: none; box-shadow: 0 4px 14px rgba(23,165,137,.35); }
    @media (max-width: 768px) { .nav-links, .helpe-nav-actions { display: none; } .hamburger { display: flex; } }

    /* ── HERO ─────────────────────────────────────────────── */
    .hero {
      background: linear-gradient(135deg, #1a1f2e 0%, #1a3a5c 100%);
      padding: 72px 0 80px; text-align: center;
    }
    .hero-breadcrumb {
      font-size: 13px;
      line-height: 1.4;
      color: rgba(255, 255, 255, 0.55);
      margin: 0 0 18px;
      text-align: center;
    }
    .hero-breadcrumb a {
      color: rgba(255, 255, 255, 0.78);
      text-decoration: none;
      font-weight: 500;
    }
    .hero-breadcrumb a:hover {
      color: #93c5fd;
      text-decoration: underline;
    }
    .hero-breadcrumb-sep {
      margin: 0 0.35em;
      color: rgba(255, 255, 255, 0.35);
    }
    .hero-breadcrumb [aria-current="page"] {
      color: rgba(255, 255, 255, 0.88);
      font-weight: 500;
    }
    .hero-tag {
      display: inline-block; background: rgba(255,255,255,.12); color: rgba(255,255,255,.9);
      font-size: 13px; font-weight: 600; padding: 5px 16px; border-radius: 50px;
      margin-bottom: 20px; text-transform: uppercase; letter-spacing: .5px;
    }
    .hero h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; color: var(--white); line-height: 1.2; margin-bottom: 16px; }
    .hero h1 em { font-style: normal; color: #60a5fa; }
    .hero-sub { font-size: 17px; color: #94a3b8; max-width: 560px; margin: 0 auto 36px; line-height: 1.7; }
    .mascotte-hero {
      position: absolute; right: max(12px, 1.5%); bottom: -52px;
      width: 116px; height: 116px; background: #ffffff; border-radius: 50%;
      box-shadow: 0 8px 32px rgba(0,0,0,.25), 0 0 0 10px rgba(255,255,255,.08);
      display: flex; align-items: center; justify-content: center;
      overflow: hidden; animation: float-hero 4s ease-in-out infinite; z-index: 2;
    }
    .mascotte-hero img { width: 88%; height: 88%; object-fit: contain; }
    @keyframes float-hero { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
    @media (max-width: 600px) { .mascotte-hero { display: none; } }
    .hero-pills { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
    .hero-pill {
      display: flex; align-items: center; gap: 8px; padding: 8px 18px;
      background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
      border-radius: 50px; font-size: 14px; color: rgba(255,255,255,.85); font-weight: 500;
    }

    /* ── OFFRES ───────────────────────────────────────────── */
    .offers-section { padding: 80px 0 96px; background: var(--gray-light); }
    .offers-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      align-items: stretch;
    }
    .offer-card { background: var(--white); border-radius: 20px; border: 2px solid var(--border); overflow: hidden; transition: transform .25s, box-shadow .25s; }
    .offer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
    .offer-card.featured { border-color: var(--blue); position: relative; }
    #formation-349 { scroll-margin-top: 96px; }
    .offer-badge-top { background: var(--blue); color: var(--white); text-align: center; padding: 8px; font-size: 13px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
    .offer-badge-launch { background: linear-gradient(135deg, var(--gold) 0%, #b45309 100%); }
    .offer-launch-note {
      margin-top: 14px; padding: 14px 16px; border-radius: 12px;
      background: var(--blue-light); border: 1px solid rgba(26,111,181,.25);
      display: flex; flex-direction: column; gap: 6px; text-align: left;
    }
    .offer-launch-note strong { font-size: 14px; font-weight: 700; color: var(--blue-dark); line-height: 1.4; }
    .offer-launch-note span { font-size: 13px; color: #1e4a72; line-height: 1.55; }
    .offer-header { padding: 32px 32px 24px; }
    .offer-icon { font-size: 36px; margin-bottom: 12px; text-align: center; line-height: 1; }
    .offer-name { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
    .offer-tagline { font-size: 14px; color: var(--gray); line-height: 1.6; margin-bottom: 24px; }
    .offer-price-block {
      display: flex; align-items: baseline; justify-content: center; gap: 8px;
      margin-bottom: 8px; width: 100%;
    }
    .offer-price { font-size: 48px; font-weight: 800; color: var(--blue); line-height: 1; }
    .offer-price-currency { font-size: 24px; font-weight: 700; color: var(--blue); }
    .offer-price-note { font-size: 13px; color: var(--gray); text-align: center; }
    .offer-card-pro .offer-price-block .offer-price { font-size: 36px; color: var(--dark); }
    .offer-price-mention { font-size: 13px; color: var(--gray); margin-bottom: 24px; }
    .offer-cta-block { padding: 0 32px 28px; }
    .offer-divider { height: 1px; background: var(--border); margin: 0 32px; }
    .offer-features { padding: 28px 32px 32px; }
    .offer-features h4 { font-size: 13px; font-weight: 700; color: var(--gray); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 16px; }
    .feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
    .feature-item { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
    .feature-check { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
    .check-blue { background: var(--blue-light); color: var(--blue); }
    .check-green { background: var(--green-light); color: var(--green); }
    .offer-card-pro .offer-price { color: var(--dark); }
    .offer-card-pro .offer-price-currency { color: var(--dark); }
    .offer-badge-recommended { background: linear-gradient(135deg, var(--green) 0%, #0d8a6f 100%); }
    .offer-badge-pro-launch { background: linear-gradient(135deg, var(--dark) 0%, #0f1520 100%); }
    .offer-card-blueprint { border-color: var(--green); box-shadow: 0 12px 40px rgba(23,165,137,.12); }
    .offer-card-blueprint .offer-price,
    .offer-card-blueprint .offer-price-currency { color: var(--green); }
    .offer-card-blueprint:hover { box-shadow: 0 16px 48px rgba(23,165,137,.2); }
    .offer-card-pro {
      border-color: var(--gold);
      box-shadow: 0 12px 40px rgba(217,119,6,.14);
    }
    .offer-card-pro:hover { box-shadow: 0 16px 48px rgba(217,119,6,.22); }
    .check-gold { background: var(--gold-light); color: var(--gold); }
    .check-teal { background: var(--green-light); color: var(--green); }
    .offer-blueprint-note {
      margin-top: 14px; padding: 12px 14px; border-radius: 12px;
      background: var(--green-light); border: 1px solid rgba(23,165,137,.2);
      display: flex; flex-direction: column; gap: 6px; text-align: left;
    }
    .offer-blueprint-note strong { font-size: 14px; font-weight: 700; color: #0f5c4a; line-height: 1.4; }
    .offer-blueprint-note span { font-size: 13px; color: #0f5c4a; line-height: 1.55; }
    .offer-pro-note {
      margin-top: 14px; padding: 14px 16px; border-radius: 12px;
      background: var(--gold-light); border: 1px solid rgba(217,119,6,.25);
      display: flex; flex-direction: column; gap: 6px; text-align: left;
    }
    .offer-pro-note strong { font-size: 14px; font-weight: 700; color: #92400e; line-height: 1.4; }
    .offer-pro-note span { font-size: 13px; color: #78350f; line-height: 1.55; }
    .offer-pro-note a { color: #92400e; font-weight: 600; text-decoration: underline; }
    .offer-pro-note a:hover { color: #b45309; }
    .offer-price-mention-pro {
      margin-top: 12px; text-align: center; color: #92400e; font-weight: 600;
    }

    /* ── COMPARAISON ──────────────────────────────────────── */
    .compare-section { padding: 80px 0; background: var(--white); }
    .compare-title { font-size: clamp(24px, 3vw, 34px); font-weight: 800; text-align: center; margin-bottom: 8px; }
    .compare-sub { text-align: center; color: var(--gray); font-size: 16px; margin-bottom: 48px; }
    .compare-table { width: 100%; border-collapse: collapse; }
    .compare-table th { padding: 16px 20px; font-size: 14px; font-weight: 700; text-align: left; }
    .compare-table th:first-child { width: 34%; }
    .compare-table th:not(:first-child) { text-align: center; width: 22%; }
    .compare-table thead tr { border-bottom: 2px solid var(--border); }
    .compare-table thead th:nth-child(2) { color: var(--blue); }
    .compare-table thead th:nth-child(3) { color: var(--green); }
    .compare-table thead th:nth-child(4) { color: var(--gold); }
    .compare-table td { padding: 14px 20px; font-size: 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
    .compare-table td:not(:first-child) { text-align: center; }
    .compare-table tbody tr:hover { background: var(--gray-light); }
    .compare-table td:first-child { color: var(--gray); font-weight: 500; }
    .check-yes { color: var(--green); font-size: 18px; }
    .check-no { color: #cbd5e1; font-size: 18px; }
    .compare-table tfoot td { padding: 20px; border-bottom: none; text-align: center; }

    /* ── FAQ ──────────────────────────────────────────────── */
    .faq-section { padding: 80px 0; background: var(--gray-light); }
    .faq-title { font-size: clamp(24px, 3vw, 34px); font-weight: 800; text-align: center; margin-bottom: 8px; }
    .faq-sub { text-align: center; color: var(--gray); font-size: 16px; margin-bottom: 48px; }
    .faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
    .faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
    .faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; background: none; border: none; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--dark); text-align: left; gap: 16px; transition: background .2s; }
    .faq-q:hover { background: var(--gray-light); }
    .faq-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--blue-light); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; transition: transform .3s; line-height: 1; }
    .faq-item.open .faq-icon { transform: rotate(45deg); }
    .faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; padding: 0 24px; }
    .faq-item.open .faq-a { max-height: 360px; padding: 0 24px 20px; }
    .faq-a p { font-size: 14px; color: var(--gray); line-height: 1.75; }

    /* ── CTA ──────────────────────────────────────────────── */
    .cta-section { padding: 80px 0; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); text-align: center; }
    .cta-section h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; color: var(--white); margin-bottom: 12px; }
    .cta-section p { font-size: 16px; color: rgba(255,255,255,.8); max-width: 500px; margin: 0 auto 36px; }
    .cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
    .btn-white { background: var(--white); color: var(--blue); box-shadow: 0 4px 16px rgba(0,0,0,.15); }
    .btn-white:hover { background: var(--blue-light); transform: translateY(-2px); }
    .btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.4); }
    .btn-outline-white:hover { background: rgba(255,255,255,.1); }

    /* ── FOOTER ───────────────────────────────────────────── */
    footer { background: var(--dark); padding: 48px 0 32px; color: #94a3b8; }
    .footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
    .footer-brand p { font-size: 14px; line-height: 1.7; max-width: 280px; margin-top: 12px; }
    .footer-col h4 { color: var(--white); font-size: 14px; font-weight: 600; margin-bottom: 16px; }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
    .footer-col a { color: #94a3b8; text-decoration: none; font-size: 14px; transition: color .2s; }
    .footer-col a:hover { color: var(--white); }
    .footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; }
    .footer-bottom a { color: #94a3b8; text-decoration: none; }
    .footer-bottom a:hover { color: var(--white); }
    .helpe-social { display: inline-flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
    .footer-bottom .helpe-social a { color: #94a3b8; text-decoration: none; }
    .footer-bottom .helpe-social a:hover { color: var(--white); }

    /* ── RESPONSIVE ───────────────────────────────────────── */
    @media (max-width: 1024px) {
      .offers-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    }
    @media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr; gap: 32px; } .footer-bottom { flex-direction: column; text-align: center; } }
    @media (max-width: 600px) { .compare-table { font-size: 13px; } .compare-table th, .compare-table td { padding: 10px 12px; } .cta-actions { flex-direction: column; align-items: center; } }

    button.helpe-btn-stripe-checkout { font-family: inherit; cursor: pointer; border: none; }
    button.helpe-btn-stripe-checkout:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

    .helpe-checkout-email-label {
      display: block; font-size: 13px; font-weight: 600; color: var(--dark);
      margin-bottom: 8px; text-align: left;
    }
    .helpe-checkout-email {
      width: 100%; padding: 12px 16px; margin-bottom: 12px;
      border: 1px solid var(--border); border-radius: 10px;
      font-family: inherit; font-size: 15px; color: var(--dark);
      background: var(--white); transition: border-color .2s ease, box-shadow .2s ease;
    }
    .helpe-checkout-email:focus {
      outline: none; border-color: var(--blue);
      box-shadow: 0 0 0 3px rgba(26,111,181,.15);
    }
    .helpe-checkout-email.helpe-checkout-email--error { border-color: #dc2626; }

/* HelpE — bouton « Ma formation » (barre de navigation + menus mobiles) */
.helpe-nav-actions {
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

@media (min-width: 769px) {
  .helpe-nav-actions {
    display: flex;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .helpe-nav-actions {
    display: none !important;
  }
  .hamburger {
    display: flex !important;
  }
  nav {
    padding: 0 16px;
  }
  .nav-inner {
    height: 64px;
  }
  .container {
    padding-left: 16px;
    padding-right: 16px;
    max-width: 100%;
  }
}

a.btn-helpe-formation {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  line-height: 1.2;
  color: #fff !important;
  background: #17a589;
  border: none;
  border-radius: 50px;
  text-decoration: none !important;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(23, 165, 137, 0.35);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

a.btn-helpe-formation:hover {
  background: #139a7a;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(23, 165, 137, 0.45);
}

.mobile-menu a.btn-helpe-formation {
  width: 100%;
  margin-top: 8px;
  box-sizing: border-box;
}

/* Barres internes (formation / espace membre / démo) */
a.btn-helpe-formation--compact {
  padding: 7px 16px;
  font-size: 13px;
  box-shadow: 0 3px 12px rgba(23, 165, 137, 0.28);
}

/* Page login : entête avec bouton site */
.login-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.login-header-inner .logo {
  flex-shrink: 0;
}
