/* =============================================================
   Pixel.MG — Styles publics (Mobile-first)
   Design : Clair & Premium | Bleu #1A56DB | Vert #00D4AA
   ============================================================= */

/* --- Variables CSS --- */
:root {
  --primary:        #2563EB;
  --primary-dark:   #1D4ED8;
  --primary-light:  #EBF2FF;
  --accent:         #00D4AA;
  --accent-dark:    #00A889;
  --dark:           #0F1729;
  --gray-1:         #F8F9FD;
  --gray-2:         #E8ECF4;
  --text-main:      #0F1729;
  --text-muted:     #5B6785;
  --white:          #FFFFFF;
  --shadow-sm:      0 1px 3px rgba(15,23,41,.08);
  --shadow-md:      0 4px 16px rgba(15,23,41,.12);
  --shadow-lg:      0 8px 32px rgba(15,23,41,.16);
  --shadow-xl:      0 20px 60px rgba(37,99,235,.18);
  --radius-sm:      8px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --radius-xl:      32px;
  --transition:     .25s cubic-bezier(.4,0,.2,1);
  --font-title:     'Plus Jakarta Sans', sans-serif;
  --font-body:      'DM Sans', sans-serif;
  --max-width:      1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--white);
  line-height: 1.65;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--dark);
}

ul { list-style: none; }

/* --- Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent  { color: var(--accent); }
.text-muted   { color: var(--text-muted); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,86,219,.35);
}

.btn-accent {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,212,170,.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: transparent;
}
.btn-ghost:hover { color: var(--primary); }

.btn-lg { padding: 18px 36px; font-size: 17px; border-radius: 10px; }
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* --- Section Base --- */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 120px 0; }

.section-label {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.header.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.header__logo-mark {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 16px;
  font-family: var(--font-title);
}

.header__logo-text {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 20px;
  color: var(--dark);
  letter-spacing: -0.03em;
}

.header__logo-text span { color: var(--primary); }

.header__nav {
  display: none;
  align-items: center;
  gap: 32px;
}

.header__nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.header__nav a:hover { color: var(--dark); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--gray-2);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.lang-switcher:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 999;
  padding: 80px 24px 40px;
  flex-direction: column;
  gap: 8px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-2);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: linear-gradient(135deg, #F8F9FD 0%, #EBF2FF 50%, #F8F9FD 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,86,219,.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,170,.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  animation: fadeUp .6s .1s forwards;
}

.hero__badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,212,170,.25);
  animation: pulse 2s infinite;
}

.hero__title {
  font-size: clamp(32px, 6vw, 60px);
  margin-bottom: 20px;
  color: var(--dark);
  opacity: 0;
  animation: fadeUp .7s .2s forwards;
}

.hero__title mark {
  background: none;
  color: var(--primary);
}

.hero__subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp .7s .35s forwards;
}

.hero__ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  animation: fadeUp .7s .5s forwards;
}

.hero__scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  color: var(--text-muted);
  font-size: 13px;
  opacity: 0;
  animation: fadeUp .7s .65s forwards;
}

.scroll-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--gray-2);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 2s infinite;
}

/* ============================================================
   SOCIAL PROOF BANNER
   ============================================================ */
.proof-banner {
  background: var(--dark);
  padding: 40px 0;
}

.proof-banner__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  text-align: center;
}

.proof-item__number {
  font-family: var(--font-title);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.proof-item__number .counter { display: inline-block; }

.proof-item__label {
  font-size: 13px;
  color: rgba(255,255,255,.6);
}

/* ============================================================
   PROBLEM / SOLUTION
   ============================================================ */
.problem-solution {
  background: var(--white);
}

.problem-solution__grid {
  display: grid;
  gap: 48px;
}

.problem-box {
  background: var(--gray-1);
  border-radius: var(--radius-lg);
  padding: 40px;
  border-left: 4px solid #FF4757;
}

.problem-box__icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.problem-box p {
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.75;
}

.problem-box p:last-child { margin-bottom: 0; }

.solution-box {
  background: linear-gradient(135deg, var(--primary-light) 0%, #dce8ff 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  border-left: 4px solid var(--primary);
}

.solution-box__icon {
  font-size: 36px;
  margin-bottom: 16px;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--gray-1); }

.services__grid {
  display: grid;
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-2);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background var(--transition);
}

.service-card:hover .service-card__icon { background: var(--primary); }

.service-card__icon svg { transition: fill var(--transition); }
.service-card:hover .service-card__icon svg path,
.service-card:hover .service-card__icon svg rect,
.service-card:hover .service-card__icon svg circle { fill: var(--white); }

.service-card__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.service-card__title {
  font-size: 20px;
  margin-bottom: 12px;
}

.service-card__desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-card__item {
  background: var(--gray-1);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--gray-2);
}

/* ============================================================
   CASE STUDIES
   ============================================================ */
.cases { background: var(--white); }

.cases__grid {
  display: grid;
  gap: 24px;
}

.case-card {
  background: var(--gray-1);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--gray-2);
  transition: all var(--transition);
}

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

.case-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.case-card__avatar {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-family: var(--font-title);
  font-size: 18px;
  flex-shrink: 0;
}

.case-card__name { font-size: 16px; font-weight: 700; }
.case-card__location { font-size: 13px; color: var(--text-muted); }

.case-card__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.case-stat__number {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.case-stat__label {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how { background: var(--gray-1); }

.steps {
  display: grid;
  gap: 32px;
  position: relative;
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.step__number {
  font-family: var(--font-title);
  font-size: 48px;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  min-width: 64px;
  position: relative;
}

.step__number::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.step__content { padding-top: 4px; }
.step__title { font-size: 22px; margin-bottom: 10px; }
.step__desc { color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   OFFERS
   ============================================================ */
.offers { background: var(--white); }

.offers__grid {
  display: grid;
  gap: 24px;
}

.offer-card {
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  border: 2px solid var(--gray-2);
  transition: all var(--transition);
  position: relative;
}

.offer-card--diy { background: var(--white); }

.offer-card--dfy {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-color: transparent;
  color: var(--white);
}

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

.offer-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.offer-card--diy .offer-card__badge {
  background: var(--primary-light);
  color: var(--primary);
}

.offer-card--dfy .offer-card__badge {
  background: rgba(255,255,255,.2);
  color: var(--white);
}

.offer-card__title {
  font-size: 28px;
  margin-bottom: 4px;
}
.offer-card--dfy .offer-card__title { color: var(--white); }

.offer-card__subtitle {
  font-size: 14px;
  margin-bottom: 16px;
  opacity: .7;
}

.offer-card__desc {
  font-size: 15px;
  margin-bottom: 28px;
  line-height: 1.7;
  opacity: .85;
}

.offer-card__list {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.offer-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
}

.offer-card__list li::before {
  content: '✓';
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
}

.offer-card--dfy .offer-card__list li { opacity: .9; }

.offer-card__bonus {
  background: rgba(0,212,170,.15);
  border: 1px solid rgba(0,212,170,.4);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 13px;
  margin-bottom: 12px;
  color: var(--white);
}

.offer-card__limit {
  font-size: 12px;
  opacity: .6;
  margin-top: 12px;
  text-align: center;
}

/* ============================================================
   SCARCITY
   ============================================================ */
.scarcity {
  background: var(--dark);
  padding: 72px 0;
}

.scarcity__inner { text-align: center; max-width: 640px; margin: 0 auto; }

.scarcity__title {
  font-size: clamp(22px, 4vw, 32px);
  color: var(--white);
  margin-bottom: 12px;
}

.scarcity__desc {
  color: rgba(255,255,255,.6);
  font-size: 16px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.scarcity__spots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.spot {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all var(--transition);
}

.spot--taken {
  background: var(--primary);
  border-color: var(--primary);
}

.spot--free {
  background: rgba(0,212,170,.15);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 700;
}

.scarcity__counter {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 28px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--gray-1); }

.faq__list { max-width: 760px; margin: 0 auto; }

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  border: 1px solid var(--gray-2);
  overflow: hidden;
}

.faq-item__question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
}

.faq-item__question:hover { color: var(--primary); }

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--gray-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  font-size: 14px;
}

.faq-item.open .faq-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-item__answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 15px;
}

.faq-item.open .faq-item__answer { display: block; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.final-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
}

.final-cta__inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }

.final-cta__title {
  font-size: clamp(24px, 4vw, 38px);
  color: var(--white);
  margin-bottom: 16px;
}

.final-cta__desc {
  font-size: 18px;
  color: rgba(255,255,255,.8);
  margin-bottom: 36px;
  line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.6);
  padding: 48px 0 28px;
}

.footer__top {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__logo-mark {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 14px;
  font-family: var(--font-title);
}

.footer__logo-text {
  font-family: var(--font-title);
  font-weight: 800;
  color: var(--white);
  font-size: 18px;
}

.footer__tagline { font-size: 13px; margin-top: 6px; }

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 13px;
}

.footer__links a {
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); }

.footer__bottom {
  font-size: 12px;
  text-align: center;
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  text-decoration: none;
  transition: all var(--transition);
  animation: waPulse 3s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,.5);
}

.whatsapp-btn svg { fill: var(--white); }

/* ============================================================
   QUALIFICATION FORM
   ============================================================ */
.qual-page {
  background: var(--gray-1);
  padding-top: 80px;
  padding-bottom: 60px;
}

.qual-header {
  text-align: center;
  padding: 20px 0 24px;
}

.qual-header__title { font-size: clamp(24px, 4vw, 36px); margin-bottom: 12px; }
.qual-header__subtitle { color: var(--text-muted); font-size: 16px; max-width: 520px; margin: 0 auto; }

/* Progress bar */
.progress-wrap {
  max-width: 560px;
  margin: 0 auto 32px;
  padding: 0 20px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.progress-bar-track {
  width: 100%;
  height: 6px;
  background: var(--gray-2);
  border-radius: 100px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 100px;
  transition: width .5s cubic-bezier(.4,0,.2,1);
}

/* Form card */
.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-2);
  overflow: hidden;
}

/* Steps animation */
.form-step {
  display: none;
  animation: slideIn .35s ease forwards;
}
.form-step.active { display: block; }
.form-step.slide-out { animation: slideOut .3s ease forwards; }

.form-step__title {
  font-size: 22px;
  margin-bottom: 28px;
  color: var(--dark);
}

/* Form fields */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-label .required {
  color: #EF4444;
  margin-left: 3px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-2);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%235B6785'%3E%3Cpath d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,86,219,.12);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,.1);
}

.form-textarea { min-height: 100px; resize: vertical; }

.form-error {
  font-size: 12px;
  color: #EF4444;
  margin-top: 4px;
  display: none;
}
.form-error.visible { display: block; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Radio & checkbox */
.radio-group,
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radio-option,
.checkbox-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.radio-option input[type="radio"],
.checkbox-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 2px solid var(--gray-2);
  border-radius: 50%;
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all var(--transition);
  cursor: pointer;
}

.checkbox-option input[type="checkbox"] { border-radius: 4px; }

.radio-option input[type="radio"]:checked,
.checkbox-option input[type="checkbox"]:checked {
  background: var(--primary);
  border-color: var(--primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23fff'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.radio-option label,
.checkbox-option label {
  font-size: 14px;
  color: var(--text-main);
  cursor: pointer;
  line-height: 1.5;
}

/* Multi-select chips */
.chips-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-option { position: relative; }
.chip-option input { position: absolute; opacity: 0; }
.chip-option label {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1.5px solid var(--gray-2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-muted);
  background: var(--white);
}
.chip-option input:checked + label {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}

/* Form nav buttons */
.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-2);
}

/* RGPD */
.rgpd-group {
  background: var(--gray-1);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 16px;
}

/* ============================================================
   MERCI PAGE
   ============================================================ */
.merci-page {
  min-height: 100vh;
  background: var(--gray-1);
  padding-top: 80px;
  padding-bottom: 80px;
}

.merci-hero {
  text-align: center;
  padding: 48px 0 16px;
}

.merci-hero__emoji { font-size: 56px; margin-bottom: 16px; }
.merci-hero__title { font-size: clamp(24px, 4vw, 36px); margin-bottom: 12px; }
.merci-hero__msg { color: var(--text-muted); max-width: 580px; margin: 0 auto; line-height: 1.7; }

.merci-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  max-width: 680px;
  margin: 32px auto;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-2);
}

.plan-section { margin-bottom: 28px; }

.plan-section__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-list { display: flex; flex-direction: column; gap: 8px; }

.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  padding: 10px 14px;
  background: var(--gray-1);
  border-radius: var(--radius-sm);
}

.plan-list li::before {
  content: '✅';
  flex-shrink: 0;
}

.tools-wrap { display: flex; flex-wrap: wrap; gap: 8px; }

.tool-badge {
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
}

.kpi-list { display: grid; gap: 8px; }

.kpi-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  padding: 10px 14px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
}

.merci-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0;
}

.merci-share {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 24px;
}

.merci-share a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: var(--white);
  padding: 10px 20px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  margin-top: 10px;
  transition: all var(--transition);
}

.merci-share a:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,.4); }

/* Segment badge */
.segment-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}

.segment-badge--hot { background: #FEF3F2; color: #B91C1C; }
.segment-badge--warm { background: #FFFBEB; color: #92400E; }
.segment-badge--cold { background: var(--primary-light); color: var(--primary); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(0,212,170,.25); }
  50%       { box-shadow: 0 0 0 8px rgba(0,212,170,.08); }
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
  50%       { box-shadow: 0 4px 32px rgba(37,211,102,.7), 0 0 0 12px rgba(37,211,102,.08); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(-30px); }
}

/* Observe animation (JS adds .visible) */
.observe {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}
.observe.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   RESPONSIVE — Tablette (768px+)
   ============================================================ */
@media (min-width: 768px) {
  .section { padding: 96px 0; }

  .header__nav { display: flex; }
  .menu-toggle { display: none; }

  .hero__ctas { flex-direction: row; }

  .proof-banner__grid { grid-template-columns: repeat(4, 1fr); }

  .problem-solution__grid { grid-template-columns: 1fr 1fr; }

  .services__grid { grid-template-columns: repeat(3, 1fr); }

  .cases__grid { grid-template-columns: repeat(3, 1fr); }

  .steps { grid-template-columns: 1fr; }

  .offers__grid { grid-template-columns: 1fr 1fr; }

  .form-card { padding: 48px 48px; }

  .merci-card { padding: 48px; }

  .merci-ctas { flex-direction: row; }

  .footer__top { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}

/* ============================================================
   RESPONSIVE — Desktop (1024px+)
   ============================================================ */
@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
  }
  .step { flex-direction: column; }
  .step__number::after { display: none; }
}

/* ============================================================
   RESPONSIVE — Large (1280px+)
   ============================================================ */
@media (min-width: 1280px) {
  .hero__title { font-size: 64px; }
}

/* ============================================================
   STEP NUMBERS — Subtle styling
   ============================================================ */
.step__number {
  opacity: 0.55;
  font-size: 2.5rem;
}

/* ============================================================
   ADMIN INLINE EDITOR
   ============================================================ */

/* Mode admin : header poussé sous la barre */
body.admin-mode .header { top: 40px; }
body.admin-mode { padding-top: 40px; }

/* Barre fixe en haut de page (mode édition) */
#admin-edit-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  height: 40px;
  background: #000;
  color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 130px 0 16px;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  gap: 8px;
}
#admin-edit-bar .admin-edit-bar__icon { font-size: 15px; flex-shrink: 0; }
#admin-edit-bar .admin-edit-bar__label { font-weight: 600; color: #00D4AA; white-space: nowrap; }
#admin-edit-bar .admin-edit-bar__hint { color: #94a3b8; font-size: 12px; white-space: nowrap; }
#admin-edit-bar .admin-edit-bar__link {
  position: absolute;
  right: 16px;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  padding: 4px 12px;
  background: #2563EB;
  border-radius: 4px;
  transition: background .15s;
}
#admin-edit-bar .admin-edit-bar__link:hover { background: #1d4ed8; }

/* Champs éditables — sélecteur CSS direct (pas besoin de JS) */
[data-editable] {
  outline: 2px dashed rgba(37, 99, 235, 0.4);
  outline-offset: 3px;
  cursor: pointer;
  border-radius: 3px;
  transition: outline-color .15s, background .15s;
}
[data-editable]:hover {
  outline-color: #2563EB;
  background: rgba(37, 99, 235, 0.06);
}
/* Compatibilité classe JS */
.editable-field {
  outline: 2px dashed rgba(37, 99, 235, 0.4);
  outline-offset: 3px;
  cursor: pointer;
  border-radius: 3px;
}
.editable-field:hover {
  outline-color: #2563EB;
  background: rgba(37, 99, 235, 0.06);
}

/* Conteneur éditeur inline */
.inline-editor-wrap {
  position: relative;
  z-index: 100;
}
.inline-editor-textarea {
  width: 100%;
  min-height: 72px;
  padding: 8px 10px;
  font-size: inherit;
  font-family: inherit;
  line-height: 1.5;
  border: 2px solid #2563EB;
  border-radius: 6px;
  resize: vertical;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  outline: none;
  background: #fff;
  color: #0F1729;
}
.inline-editor-actions {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}
.inline-editor-save {
  background: #2563EB;
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}
.inline-editor-save:hover { background: #1d4ed8; }
.inline-editor-save:disabled { opacity: 0.6; cursor: wait; }
.inline-editor-cancel {
  background: #6b7280;
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
}
.inline-editor-cancel:hover { background: #4b5563; }
.inline-editor-hint {
  font-size: 11px;
  color: #6b7280;
  margin: 4px 0 6px;
}

