/* ── Pro page — hérite du style de styles.css ── */
@import url('styles.css');

/* ── HERO LOGO ── */
.hero-logo {
  height: 52px;
  margin-bottom: 24px;
  display: block;
}

/* ── PRICE TAG ── */
.hero-price { margin: 20px 0 28px; }
.price-tag {
  display: inline-flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid rgba(201,51,37,0.15);
  border-radius: 20px;
  padding: 16px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.price-launch {
  font-size: 11px;
  font-weight: 800;
  color: #c93325;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.price-amount {
  font-size: 44px;
  font-weight: 900;
  color: #111827;
  line-height: 1;
}
.price-period {
  font-size: 20px;
  font-weight: 600;
  color: #6B7280;
}
.price-future {
  font-size: 12px;
  color: #9CA3AF;
  margin-top: 4px;
}

/* ── HERO CTA (landing Pro) : padding généreux + pilules, le 2px était illisible ── */
.hero .hero-cta {
  gap: 14px;
  align-items: stretch;
}
.hero .hero-cta .download-btn {
  border-radius: 9999px;
  min-height: 54px;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(17, 17, 17, 0.08);
}
.hero .hero-cta .download-btn.primary {
  background: linear-gradient(145deg, #1a1a1a 0%, #000 100%);
  border: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}
.hero .hero-cta .download-btn.primary:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}
.hero .hero-cta .download-btn.secondary {
  background: #fff;
  border: 2px solid rgba(17, 17, 17, 0.14);
  color: #111827;
  box-shadow: 0 2px 10px rgba(17, 17, 17, 0.06);
}
.hero .hero-cta .download-btn.secondary:hover {
  background: #fafafa;
  border-color: rgba(17, 17, 17, 0.28);
  box-shadow: 0 6px 18px rgba(17, 17, 17, 0.1);
}
.btn-content-simple {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: inherit;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  text-align: center;
  box-sizing: border-box;
}

/* ── TRUST ── */
.trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #6B7280;
  font-size: 13px;
  font-weight: 600;
}

/* ── PRO CARD MOCKUP ── */
.pro-card-mockup {
  background: #fff;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  width: 280px;
  position: relative;
}
.pro-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.pro-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #FDF8EE;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.pro-card-name { font-size: 15px; font-weight: 800; color: #111; }
.pro-certified { font-size: 12px; color: #c93325; font-weight: 700; margin-top: 2px; }
.pro-card-photos {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 60px 60px;
  gap: 6px;
  margin-bottom: 14px;
}
.pro-photo {
  border-radius: 8px;
  background: #EDE8E0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  display: block;
}
.pro-photo.p1 { grid-row: span 2; }
.pro-photo.p2,
.pro-photo.p3 { min-height: 60px; }
.pro-card-stats {
  display: flex;
  justify-content: space-around;
  padding: 12px 0;
  border-top: 1px solid #F3F4F6;
  border-bottom: 1px solid #F3F4F6;
  margin-bottom: 12px;
}
.pro-stat { text-align: center; }
.pro-stat-val { display: block; font-size: 16px; font-weight: 900; color: #111; }
.pro-stat-lbl { display: block; font-size: 10px; color: #9CA3AF; font-weight: 500; }
.pro-news-pill {
  background: #FDF8EE;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 600;
  color: #374151;
}
.pro-pin-card {
  position: absolute;
  top: -16px;
  right: -16px;
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  white-space: nowrap;
}

/* ── PRO FEATURES GRID ── */
.pro-features-grid {
  grid-template-columns: repeat(3, 1fr) !important;
}

/* ── PRICING CTA ── */
.pricing-launch-tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.cta-content h2 {
  font-size: 64px !important;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1;
}
.pricing-slash { font-size: 28px; font-weight: 600; opacity: 0.8; }
.pricing-checklist {
  list-style: none;
  text-align: left;
  display: inline-block;
  margin: 20px auto 28px;
}
.pricing-checklist li {
  color: rgba(255,255,255,0.9);
  font-size: 15px;
  font-weight: 600;
  padding: 5px 0;
}
.pricing-guarantee {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}

/* ══════════════════════════════════════
   FUNNEL
   ══════════════════════════════════════ */
.funnel-section {
  padding: 60px 0 80px;
  position: relative;
  z-index: 1;
}
.funnel-card {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  padding: 0;
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
  overflow: hidden;
}

/* Progress */
.funnel-progress {
  height: 4px;
  background: #F3F4F6;
  border-radius: 2px 2px 0 0;
}
.funnel-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #c93325, #ff5744);
  border-radius: 2px;
  transition: width 0.4s ease;
}
.funnel-steps-indicator {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 18px 0 4px;
}
.funnel-step-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
  background: #F3F4F6; color: #9CA3AF;
  transition: all 0.3s;
}
.funnel-step-dot.active {
  background: #c93325; color: #fff;
}

/* Steps viewport */
.funnel-viewport {
  position: relative;
  min-height: 340px;
}
.funnel-step {
  display: none;
  padding: 24px 32px 32px;
  animation: fadeSlideIn 0.35s ease;
}
.funnel-step.active { display: block; }
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

.funnel-step-header { margin-bottom: 20px; }
.funnel-step-number {
  display: inline-block;
  font-size: 11px; font-weight: 800;
  color: #c93325; background: rgba(201,51,37,0.08);
  padding: 3px 10px; border-radius: 999px;
  margin-bottom: 8px;
}
.funnel-step-header h3 { font-size: 22px; font-weight: 900; color: #111; margin-bottom: 4px; }
.funnel-step-header p { font-size: 14px; color: #6B7280; }

/* Type selection */
.funnel-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.funnel-type-option input { display: none; }
.funnel-type-card {
  border: 2px solid #E5E7EB;
  border-radius: 14px;
  padding: 16px 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.funnel-type-card:hover { border-color: #c93325; }
.funnel-type-option input:checked + .funnel-type-card {
  border-color: #c93325;
  background: rgba(201,51,37,0.04);
}
.funnel-type-emoji { display: block; font-size: 28px; margin-bottom: 6px; }
.funnel-type-label { font-size: 13px; font-weight: 700; color: #374151; }

/* Fields */
.funnel-field { margin-bottom: 14px; }
.funnel-field label {
  display: block;
  font-size: 12px; font-weight: 700; color: #374151;
  margin-bottom: 5px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.funnel-field input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px; color: #111;
  outline: none;
  transition: border-color 0.2s;
}
.funnel-field input:focus { border-color: #c93325; }
.funnel-field input.shake {
  animation: shakeInput 0.4s ease;
  border-color: #c93325;
}
@keyframes shakeInput {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

/* Buttons */
.funnel-btn-next, .funnel-btn-pay {
  width: 100%;
  padding: 14px;
  background: #c93325;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 16px; font-weight: 800;
  border: none; border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.funnel-btn-next:hover, .funnel-btn-pay:hover { background: #a01e13; }
.funnel-btn-next:active, .funnel-btn-pay:active { transform: scale(0.98); }
.funnel-btn-next:disabled, .funnel-btn-pay:disabled { background: #ddd; cursor: not-allowed; }

.funnel-btn-back {
  padding: 14px 20px;
  background: none;
  border: 1.5px solid #E5E7EB;
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px; font-weight: 700;
  color: #6B7280;
  cursor: pointer;
  transition: border-color 0.2s;
  white-space: nowrap;
}
.funnel-btn-back:hover { border-color: #9CA3AF; }

.funnel-nav-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
}
.funnel-nav-row .funnel-btn-next,
.funnel-nav-row .funnel-btn-pay { flex: 1; }

/* Auth toggle */
.funnel-auth-toggle {
  display: flex;
  background: #F3F4F6;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 18px;
}
.funnel-auth-tab {
  flex: 1;
  padding: 10px;
  border: none; background: none;
  font-family: 'Outfit', sans-serif;
  font-size: 14px; font-weight: 700;
  color: #6B7280;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.funnel-auth-tab.active { background: #fff; color: #111; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.funnel-auth-error {
  color: #c93325;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  margin-top: 10px;
  min-height: 18px;
}

/* Recap */
.funnel-recap {
  background: #FAFAFA;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 18px;
}
.funnel-recap-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #F0F0F0;
}
.funnel-recap-row:last-child { border-bottom: none; }
.funnel-recap-label { font-size: 13px; color: #9CA3AF; font-weight: 600; }
.funnel-recap-value { font-size: 13px; color: #111; font-weight: 700; text-align: right; max-width: 60%; }

/* Final pricing */
.funnel-pricing-final { text-align: center; margin-bottom: 18px; }
.funnel-pricing-badge {
  display: inline-block;
  background: rgba(201,51,37,0.08);
  color: #c93325;
  font-size: 11px; font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.funnel-pricing-row { display: flex; align-items: center; justify-content: center; gap: 12px; }
.funnel-pricing-old {
  font-size: 18px; color: #9CA3AF;
  text-decoration: line-through; font-weight: 600;
}
.funnel-pricing-new {
  font-size: 38px; font-weight: 900; color: #111; line-height: 1;
}
.funnel-pricing-new span { font-size: 16px; font-weight: 600; color: #6B7280; }
.funnel-pricing-note { font-size: 12px; color: #9CA3AF; margin-top: 6px; }

/* ── RESPONSIVE ── */

/* Tablet */
@media (max-width: 1024px) {
  /* Hero centré sur tablet (hérité de styles.css mais on renforce) */
  .hero-logo { display: block; margin-left: auto; margin-right: auto; }
  .price-tag { margin: 0 auto; }
  .trust-items { justify-content: center; }

  /* Mockup pro centré */
  .hero-phone { display: flex; justify-content: center; }
  .pro-card-mockup { width: 100%; max-width: 320px; }
}

/* Mobile */
@media (max-width: 768px) {
  .hero .hero-cta .download-btn {
    opacity: 1;
  }
  .hero .hero-cta .btn-content-simple {
    padding: 15px 22px;
    font-size: 14px;
  }
  .pro-features-grid { grid-template-columns: 1fr 1fr !important; }
  .hero-logo { height: 40px; }
  .cta-content h2 { font-size: 48px !important; }
  .hero-phone { display: none; }
  .price-tag { width: 100%; border-radius: 16px; padding: 14px 18px; }
  .price-amount { font-size: 36px; }
  .pricing-checklist { margin: 16px 0 20px; width: 100%; }
  .pro-index-banner { flex-direction: column; text-align: center; }
  .pro-index-banner a { align-self: center; }

  /* Funnel mobile */
  .funnel-step { padding: 20px 20px 28px; }
  .funnel-type-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .funnel-type-card { padding: 12px 6px; }
  .funnel-type-emoji { font-size: 24px; }
  .funnel-pricing-new { font-size: 32px; }
}

/* Petit mobile */
@media (max-width: 480px) {
  .pro-features-grid { grid-template-columns: 1fr !important; }
  .hero-logo { height: 34px; }
  .cta-content h2 { font-size: 38px !important; }
  .price-amount { font-size: 32px; }
  .pricing-checklist li { font-size: 14px; }
  .hero-description { font-size: 16px !important; }
}

/* ── Pro page : langue (sans auto-traduction navigateur) ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.navbar .nav-container {
  flex-wrap: wrap;
  gap: 10px 14px;
  row-gap: 8px;
}
.pro-lang-select {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1.5px solid rgba(17, 17, 17, 0.12);
  background: #fff;
  color: #111;
  cursor: pointer;
  min-width: 64px;
}
.pro-lang-select:focus {
  outline: none;
  border-color: #c93325;
}

/* Encadré avant paiement */
.funnel-pay-hints {
  background: rgba(201, 51, 37, 0.06);
  border: 1px solid rgba(201, 51, 37, 0.14);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.funnel-pay-hint-main {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  line-height: 1.45;
  margin: 0 0 10px;
}
.funnel-pay-hint-roi {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  line-height: 1.45;
  margin: 0;
}

/* Ancrage formulaire sous la nav fixe + scroll clavier mobile */
#inscription {
  scroll-margin-top: 80px;
}
@media (max-width: 768px) {
  #inscription {
    scroll-margin-top: 72px;
  }
  .funnel-viewport {
    min-height: 0;
  }
}
