@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;
      --dark:       #1a1f2e;
      --gray:       #64748b;
      --gray-light: #f1f5f9;
      --white:      #ffffff;
      --border:     #e2e8f0;
      --radius:     12px;
      --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: 14px 32px;
      border-radius: 50px;
      font-weight: 600;
      font-size: 15px;
      cursor: pointer;
      text-decoration: none;
      transition: all .25s ease;
      border: none;
    }
    .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-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
    .btn-outline:hover { background: var(--blue-light); }
    .btn-white { background: var(--white); color: var(--blue); box-shadow: 0 4px 16px rgba(0,0,0,.12); }
    .btn-white:hover { background: var(--blue-light); transform: translateY(-2px); }

    /* ── 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 { 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 COMPACT ─────────────────────────────────────── */
    .page-hero {
      background: linear-gradient(135deg, #f0f7ff 0%, #e8f4f8 50%, #f0faf7 100%);
      padding: 72px 0 64px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .page-hero::before {
      content: '';
      position: absolute;
      width: 500px;
      height: 500px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(26,111,181,.07) 0%, transparent 70%);
      right: -80px;
      top: -80px;
      pointer-events: none;
    }
    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--green-light);
      color: var(--green);
      font-size: 13px;
      font-weight: 600;
      padding: 6px 16px;
      border-radius: 50px;
      margin-bottom: 20px;
    }
    .hero-badge::before { content: '●'; font-size: 8px; }
    .page-hero h1 {
      font-size: clamp(26px, 4vw, 42px);
      font-weight: 800;
      line-height: 1.2;
      color: var(--dark);
      margin-bottom: 16px;
      max-width: 680px;
      margin-left: auto;
      margin-right: auto;
    }
    .page-hero h1 em { font-style: normal; color: var(--blue); }
    .page-hero p {
      font-size: 17px;
      color: var(--gray);
      max-width: 520px;
      margin: 0 auto 32px;
      line-height: 1.7;
    }
    .hero-pills {
      display: flex;
      gap: 12px;
      justify-content: center;
      flex-wrap: wrap;
    }
    .page-hero .hero-cta {
      margin-top: 28px;
      font-size: 16px;
      padding: 14px 32px;
    }
    .hero-pill {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 50px;
      padding: 7px 18px;
      font-size: 13px;
      font-weight: 500;
      color: var(--dark);
      box-shadow: 0 2px 8px rgba(0,0,0,.05);
    }

    /* ── LAYOUT PRINCIPAL ────────────────────────────────── */
    .diagnostic-section {
      padding: 72px 0 88px;
    }
    .diagnostic-inner {
      display: grid;
      grid-template-columns: 1fr 480px;
      gap: 64px;
      align-items: start;
    }

    /* ── COLONNE GAUCHE — INFOS ──────────────────────────── */
    .diag-info h2 {
      font-size: 26px;
      font-weight: 800;
      color: var(--dark);
      margin-bottom: 16px;
      line-height: 1.3;
    }
    .diag-info > p {
      font-size: 15px;
      color: var(--gray);
      margin-bottom: 32px;
      line-height: 1.75;
    }

    .diag-steps { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
    .diag-step {
      display: flex;
      gap: 16px;
      align-items: flex-start;
    }
    .diag-step-num {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: var(--blue);
      color: var(--white);
      font-size: 14px;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      margin-top: 2px;
    }
    .diag-step-body strong {
      display: block;
      font-size: 15px;
      font-weight: 700;
      color: var(--dark);
      margin-bottom: 4px;
    }
    .diag-step-body p {
      font-size: 14px;
      color: var(--gray);
      margin: 0;
      line-height: 1.6;
    }

    .diag-trust {
      background: var(--blue-light);
      border-left: 4px solid var(--blue);
      border-radius: 0 12px 12px 0;
      padding: 18px 22px;
      font-size: 14px;
      color: var(--dark);
      line-height: 1.7;
      margin-bottom: 32px;
    }
    .diag-trust strong { color: var(--blue); }

    .diag-testimonial {
      background: var(--gray-light);
      border-radius: 12px;
      padding: 22px 24px;
    }
    .diag-testimonial-text {
      font-size: 14px;
      color: var(--dark);
      font-style: italic;
      line-height: 1.7;
      margin-bottom: 14px;
    }
    .diag-testimonial-author {
      font-size: 13px;
      font-weight: 600;
      color: var(--blue);
    }
    .diag-testimonials-stack {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .diag-testimonial-note {
      font-size: 12px;
      color: var(--gray);
      line-height: 1.55;
      margin: 4px 0 0;
    }
    .diag-recognize {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 22px 24px;
      margin-bottom: 32px;
    }
    .diag-recognize h2 {
      font-size: 20px;
      font-weight: 800;
      color: var(--dark);
      margin-bottom: 14px;
      line-height: 1.3;
    }
    .diag-recognize ul {
      margin: 0 0 14px;
      padding-left: 20px;
      color: var(--dark);
      font-size: 14px;
      line-height: 1.65;
    }
    .diag-recognize li { margin-bottom: 6px; }
    .diag-recognize > p {
      font-size: 14px;
      color: var(--gray);
      margin: 0;
      line-height: 1.65;
    }
    .stars { color: #f59e0b; font-size: 14px; margin-bottom: 8px; }

    /* Landing pilote Google Ads (diagnostic-pub.html) */
    .diag-pub-lp .lp-minimal-nav .nav-inner {
      justify-content: space-between;
      max-width: 1100px;
      margin: 0 auto;
      padding: 16px 24px;
    }
    .diag-pub-lp .footer-lp-minimal {
      padding: 28px 0;
      background: var(--dark);
      color: rgba(255,255,255,.75);
      font-size: 13px;
    }
    .diag-pub-lp .footer-lp-inner {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }
    .diag-pub-lp .footer-lp-links {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
    }
    .diag-pub-lp .footer-lp-links a {
      color: rgba(255,255,255,.85);
      font-weight: 500;
      text-decoration: none;
    }
    .diag-pub-lp .footer-lp-links a:hover { color: #60a5fa; }
    .diag-pub-lp .reassurance-inner--compact {
      grid-template-columns: repeat(3, 1fr);
    }
    .calendly-lazy-placeholder:empty::before {
      content: 'Chargement du calendrier…';
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100%;
      font-size: 14px;
      color: var(--gray);
    }

    /* ── COLONNE DROITE — FORMULAIRE ─────────────────────── */
    .form-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 20px;
      box-shadow: var(--shadow-md);
      padding: 40px 36px;
      position: sticky;
      top: 88px;
    }
    .form-card-header {
      text-align: center;
      margin-bottom: 28px;
    }
    .form-card-header .form-icon {
      width: 56px;
      height: 56px;
      border-radius: 16px;
      background: var(--blue-light);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 26px;
      margin: 0 auto 16px;
    }
    .form-card-header h3 {
      font-size: 20px;
      font-weight: 800;
      color: var(--dark);
      margin-bottom: 6px;
    }
    .form-card-header p {
      font-size: 13.5px;
      color: var(--gray);
      line-height: 1.6;
    }
    .form-free-badge {
      display: inline-block;
      background: var(--green-light);
      color: var(--green);
      font-size: 12px;
      font-weight: 700;
      padding: 3px 12px;
      border-radius: 50px;
      margin-top: 8px;
    }

    /* Champs du formulaire */
    .form-group { margin-bottom: 18px; }
    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
    }
    label {
      display: block;
      font-size: 13px;
      font-weight: 600;
      color: var(--dark);
      margin-bottom: 7px;
    }
    label .required { color: var(--blue); margin-left: 2px; }
    input, select, textarea {
      width: 100%;
      padding: 12px 16px;
      border: 1.5px solid var(--border);
      border-radius: 10px;
      font-family: 'Inter', sans-serif;
      font-size: 14px;
      color: var(--dark);
      background: var(--white);
      transition: border-color .2s, box-shadow .2s;
      outline: none;
    }
    input:focus, select:focus, textarea:focus {
      border-color: var(--blue);
      box-shadow: 0 0 0 3px rgba(26,111,181,.12);
    }
    input::placeholder, textarea::placeholder { color: #b0bec5; }
    select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; cursor: pointer; }
    textarea { resize: vertical; min-height: 90px; }

    .form-divider {
      height: 1px;
      background: var(--border);
      margin: 22px 0;
    }

    /* Bouton submit */
    .btn-submit {
      width: 100%;
      padding: 16px 32px;
      background: var(--blue);
      color: var(--white);
      border: none;
      border-radius: 50px;
      font-family: 'Inter', sans-serif;
      font-size: 16px;
      font-weight: 700;
      cursor: pointer;
      transition: all .25s ease;
      box-shadow: 0 4px 16px rgba(26,111,181,.35);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
    .btn-submit:hover {
      background: var(--blue-dark);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(26,111,181,.45);
    }
    .btn-submit:active { transform: translateY(0); }

    .form-guarantee {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      margin-top: 16px;
      font-size: 12px;
      color: var(--gray);
      flex-wrap: wrap;
    }
    .form-guarantee span::before { content: '✓ '; color: var(--green); font-weight: 700; }

    /* ── CONFIRMATION ─────────────────────────────────────── */
    .confirmation {
      display: none;
      text-align: center;
      padding: 24px 0 8px;
    }
    .confirmation-icon {
      width: 72px;
      height: 72px;
      border-radius: 50%;
      background: var(--green-light);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 34px;
      margin: 0 auto 20px;
    }
    .confirmation h3 {
      font-size: 22px;
      font-weight: 800;
      color: var(--dark);
      margin-bottom: 12px;
    }
    .confirmation p {
      font-size: 14px;
      color: var(--gray);
      line-height: 1.7;
      margin-bottom: 6px;
    }
    .confirmation .next-steps {
      background: var(--gray-light);
      border-radius: 12px;
      padding: 18px 20px;
      text-align: left;
      margin: 20px 0 0;
    }
    .confirmation .next-steps p {
      font-size: 13.5px;
      color: var(--dark);
      margin: 0;
      line-height: 1.7;
    }
    .confirmation .next-steps strong { color: var(--blue); }

    /* ── SECTION RÉASSURANCE ─────────────────────────────── */
    .reassurance {
      background: var(--gray-light);
      padding: 56px 0;
      border-top: 1px solid var(--border);
    }
    .reassurance-inner {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 32px;
      text-align: center;
    }
    .reassurance-item {}
    .reassurance-icon { font-size: 36px; margin-bottom: 12px; }
    .reassurance-title { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
    .reassurance-text { font-size: 14px; color: var(--gray); line-height: 1.65; }

    #prise-de-rendez-vous { scroll-margin-top: 88px; }

    /* ── QUESTIONNAIRE PRÉ-DIAGNOSTIC ─────────────────────── */
    .diag-form-progress {
      margin-bottom: 24px;
    }
    .diag-form-progress-top {
      display: flex;
      justify-content: space-between;
      font-size: 12px;
      font-weight: 600;
      color: var(--gray);
      margin-bottom: 8px;
    }
    .diag-progress-track {
      height: 6px;
      background: var(--gray-light);
      border-radius: 99px;
      overflow: hidden;
    }
    #diag-progress-fill {
      height: 100%;
      width: 33%;
      background: linear-gradient(90deg, var(--blue), #60a5fa);
      border-radius: 99px;
      transition: width .3s ease;
    }
    #diag-form-step-title {
      font-size: 16px;
      font-weight: 700;
      color: var(--dark);
      margin-bottom: 18px;
    }
    .diag-form-step[hidden] { display: none !important; }
    .diag-form-actions {
      display: flex;
      gap: 12px;
      margin-top: 8px;
      flex-wrap: wrap;
    }
    .diag-form-btn {
      flex: 1;
      min-width: 120px;
      padding: 14px 20px;
      border-radius: 50px;
      font-family: inherit;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      border: none;
      transition: all .2s;
    }
    .diag-form-btn-next,
    .diag-form-btn-submit {
      background: var(--blue);
      color: var(--white);
      box-shadow: 0 4px 14px rgba(26,111,181,.3);
    }
    .diag-form-btn-next:hover,
    .diag-form-btn-submit:hover {
      background: var(--blue-dark);
    }
    .diag-form-btn-prev {
      background: var(--white);
      color: var(--dark);
      border: 1.5px solid var(--border);
    }
    .diag-form-btn-hidden { display: none !important; }
    .diag-field-error {
      border-color: #ef4444 !important;
      box-shadow: 0 0 0 3px rgba(239,68,68,.12) !important;
    }
    .diag-form-error {
      color: #b91c1c;
      font-size: 13px;
      margin-top: 10px;
      text-align: center;
    }
    .diag-form-hint {
      font-size: 12px;
      color: var(--gray);
      margin-top: 14px;
      line-height: 1.55;
      text-align: center;
    }
    .diag-calendly-greeting {
      font-size: 14px;
      color: var(--dark);
      line-height: 1.65;
      margin-bottom: 16px;
      padding: 14px 16px;
      background: var(--green-light);
      border-radius: 12px;
      border: 1px solid rgba(23,165,137,.2);
    }
    .diag-calendly-greeting strong { color: var(--green); }

    .diag-calendly-note {
      font-size: 13px;
      color: var(--gray);
      margin-top: 16px;
      line-height: 1.65;
    }
    .diag-calendly-note a { color: var(--blue); font-weight: 600; }

    /* ── FOOTER ───────────────────────────────────────────── */
    footer {
      background: var(--dark);
      color: #94a3b8;
      padding: 48px 0 32px;
    }
    .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 { font-size: 13px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: .6px; 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 { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; flex-wrap: wrap; gap: 12px; }
    .footer-bottom a { color: #64748b; 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: 900px) {
      .diagnostic-inner { grid-template-columns: 1fr; }
      .form-card { position: static; }
    }
    @media (max-width: 768px) {
      .nav-links, .helpe-nav-actions { display: none; }
      .hamburger { display: flex; }
      .footer-inner { grid-template-columns: 1fr; gap: 32px; }
      .footer-bottom { flex-direction: column; text-align: center; }
      .reassurance-inner { grid-template-columns: 1fr; gap: 28px; }
    }
    @media (max-width: 600px) {
      .page-hero { padding: 52px 0 48px; }
      .diagnostic-section { padding: 48px 0 64px; }
      .form-row { grid-template-columns: 1fr; }
      .form-card { padding: 28px 20px; }
      .hero-pills { flex-direction: column; align-items: center; }
    }

/* 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;
}
