/* =========================================================
   HOME.CSS â€” Landing page Elyaste (front-page)
   Hero, features, how, tÃ©moignages, FAQ, pricing, contact, demo
   ========================================================= */

/* HERO */
.hero {
  position: relative;
}
.hero-break { display: none; }

/* Orbes */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: orbDrift var(--dur) ease-in-out infinite alternate;
}
.orb-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(147,51,234,0.55) 0%, transparent 70%);
  top: -80px; left: -120px;
  --dur: 9s;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(109,40,217,0.4) 0%, transparent 70%);
  top: 20%; right: -100px;
  --dur: 12s;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(192,132,252,0.3) 0%, transparent 70%);
  bottom: 30%; left: 30%;
  --dur: 7s;
}
@keyframes orbDrift {
  0%   { transform: translateY(0px) scale(1); }
  100% { transform: translateY(30px) scale(1.08); }
}
.hero-sticky {
    position: relative;
	  height: auto;
	  overflow: hidden;
	  padding: 4rem 1.5rem 6rem;
	  display: flex;
	  flex-direction: column;
	  align-items: center;
	background: linear-gradient(160deg, #3b0764 0%, #6d28d9 40%, #a78bfa 70%, #f1effd 100%);
}
.hero-sticky::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167,139,250,0.3) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Phase 1 : texte centrÃ© */
.hero-content {
    position: relative;
	text-align: center;
  width: min(680px, 90vw);
  z-index: 2;
}
  
/* Badge hero */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  padding: 6px 14px 6px 10px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.2rem;
  letter-spacing: 0.02em;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #a78bfa;
  box-shadow: 0 0 6px #a78bfa;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 { font-size: clamp(40px, 5.5vw, 72px); font-weight: 800; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 1.25rem; color: #ffffff; }
.accent { color: #e9d5ff; }
.hero-sub { font-size: 17px; color: rgba(255,255,255,0.75); max-width: 520px; margin: 0 auto 2rem; font-weight: 500; line-height: 1.65; }
.hero-ctas { display: flex; gap: 1rem; align-items: center; justify-content: center; margin-bottom: 1.25rem; flex-wrap: wrap; }
.btn-primary { font-family: var(--font); font-size: 15px; font-weight: 700; padding: 14px 32px; border-radius: 100px; background: #ffffff; color: var(--black); text-decoration: none; border: none; cursor: pointer; transition: opacity .2s, transform .2s; display: inline-block; box-shadow: 0 4px 24px rgba(0,0,0,0.15); }
.btn-primary:hover { opacity: .92; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
.btn-ghost { font-size: 15px; color: rgba(255,255,255,0.75); text-decoration: none; font-weight: 700; transition: color .2s; }
.btn-ghost:hover { color: #ffffff; }
.hero-proof { display: flex; gap: .75rem; align-items: center; justify-content: center; font-size: 13px; color: rgba(255,255,255,0.55); flex-wrap: wrap; font-weight: 600; }
.dot { width: 5px; height: 5px; border-radius: 50%; background: #4ade80; display: inline-block; }



/* SOCIAL ICONS HERO */
@keyframes float {
  0%, 100% { transform: rotate(var(--rot, 0deg)) translateY(0px); }
  50% { transform: rotate(var(--rot, 0deg)) translateY(-10px); }
}
@keyframes wobble {
  0%, 100% { transform: rotate(-4deg) translateY(0px); }
  25%       { transform: rotate(4deg)  translateY(-6px); }
  50%       { transform: rotate(-3deg) translateY(0px); }
  75%       { transform: rotate(3deg)  translateY(-4px); }
}

/* IcÃ´nes sociales hero phase 2 */
.hero-social {
  position: absolute;
  opacity: 0;
  z-index: 8;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.25));
  animation: float var(--dur) ease-in-out infinite;
  animation-delay: var(--delay);
  will-change: opacity;
}
.hs-insta    { --dur: 4.2s; --delay: 0s;   width: 68px; top: 14%;    left: calc(50% - 470px); --rot: -10deg; }
.hs-tiktok   { --dur: 3.8s; --delay: 0.5s; width: 62px; top: 10%;    left: calc(50% + 110px); --rot: 8deg; }
.hs-facebook { --dur: 4.6s; --delay: 0.9s; width: 64px; top: 30%;    left: calc(50% - 480px); --rot: 7deg; }
.hs-linkedin { --dur: 4.0s; --delay: 1.3s; width: 66px; top: 26%;    left: calc(50% + 120px); --rot: -9deg; }

/* SECTIONS */
.section-tag { display: inline-block; font-size: 16px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--black); margin-bottom: 1rem; }
.section-tag.center { display: block; text-align: center; width: fit-content; margin-left: auto; margin-right: auto; }
h2 { font-size: clamp(30px, 4vw, 50px); font-weight: 800; letter-spacing: -1px; line-height: 1.15; color: var(--blue); margin-bottom: 1rem; }
.h2-dark { color: var(--black); }
h2.center { text-align: center; }

/* ILS NOUS FONT CONFIANCE â€” MARQUEE */
.trusted {
  padding: 5rem 0 4rem;
  background: var(--white);
}
.trusted h2 { color: #0f0f0f; }

.logo-marquee-wrap {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.logo-marquee {
  display: flex;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.logo-track {
  display: flex;
  gap: 12px;
  animation: marquee-left 28s linear infinite;
  will-change: transform;
}

.logo-marquee-r .logo-track {
  animation: marquee-right 32s linear infinite;
}

@keyframes marquee-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marquee-right {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.logo-marquee:hover .logo-track { animation-play-state: paused; }

.logo-card {
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-family: var(--font);
  font-size: 15px;
  color: var(--black);
  box-shadow: 0 2px 8px rgba(60,40,120,0.05);
  transition: box-shadow .2s, border-color .2s;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.logo-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
}

.logo-card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 18px rgba(124,58,237,0.12);
}

/* FEATURES */
.features { padding: 6rem 0; background: var(--gray-100); margin-top: -2px; }
.features h2 { margin-bottom: 3rem; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feature-card {
  background: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform .25s, box-shadow .25s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(124,58,237,0.12); }

/* Flip card */
.feature-card-flip {
  perspective: 1000px;
  cursor: pointer;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  padding: 0;
}
.feature-card-flip::before { display: none; }
.feature-card-flip:hover { transform: none; box-shadow: none; }
.feature-card-flip:hover .card-inner { transform: translateY(-6px); }
.feature-card-flip.flipped:hover .card-inner { transform: rotateY(180deg) translateY(-6px); }
.card-inner {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--radius);
  height: 100%;
}
.feature-card-flip.flipped .card-inner { transform: rotateY(180deg); }
.card-front {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius);
  padding: 2rem;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  overflow: hidden;
  position: relative;
  height: 100%;
}
.card-front::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
}
.card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: rotateY(180deg);
  border-radius: var(--radius);
  padding: 2rem;
  background: linear-gradient(135deg, #f5f3ff, #ede9fe);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card-back::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
}
.card-back p {
  font-size: 18px;
  font-weight: 700;
  color: #6d28d9;
  text-align: center;
  line-height: 1.4;
}
@media (max-width: 768px) {
  .feature-card-flip { cursor: default; }
  .feature-card-flip .card-inner { transform: none !important; }
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
/* Teinte alternÃ©e sur 3 couleurs */
.feature-card:nth-child(3n+1) .feature-icon { background: #ede9fe; color: #7c3aed; }
.feature-card:nth-child(3n+2) .feature-icon { background: #e0e7ff; color: #4f46e5; }
.feature-card:nth-child(3n+3) .feature-icon { background: #f3e8ff; color: #9333ea; }
.feature-card h3 { font-size: 16px; font-weight: 800; color: var(--black); margin-bottom: .5rem; }
.feature-card p { font-size: 13px; color: var(--gray-600); line-height: 1.65; }

/* HOW */
.how { padding: 6rem 0; background: var(--white); }
.how h2 { margin-bottom: 3rem; }
.steps { display: flex; align-items: stretch; gap: 1rem; }
.step { flex: 1; padding: 2rem; background: var(--gray-100); border-radius: var(--radius); transition: transform .25s, box-shadow .25s; }
.step:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.step-num { font-size: 36px; font-weight: 800; color: var(--coral); line-height: 1; margin-bottom: 1rem; }
.step h3 { font-size: 16px; font-weight: 800; color: var(--blue); margin-bottom: .5rem; }
.step p { font-size: 13px; color: var(--gray-600); line-height: 1.65; }
.step-arrow { font-size: 24px; color: var(--gray-200); flex-shrink: 0; align-self: center; }

/* AVANT / APRES */
.before-after { padding: 6rem 0; background: var(--gray-100); }
.before-after h2 { margin-bottom: 3rem; }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.ba-card { border-radius: var(--radius); padding: 2rem; }
.ba-before { background: #fff0f0; }
.ba-after { background: #f0fff8; }
.ba-header { display: flex; align-items: center; gap: .6rem; font-size: 15px; font-weight: 800; margin-bottom: 1.5rem; }
.ba-before .ba-header { color: #c0392b; }
.ba-after .ba-header { color: #1a6b3c; }
.ba-list { list-style: none; display: flex; flex-direction: column; gap: .85rem; }
.ba-list li { font-size: 14px; font-weight: 600; line-height: 1.5; padding-left: 1rem; position: relative; }
.ba-before .ba-list li { color: #7a3030; }
.ba-before .ba-list li::before { content: 'â€“'; position: absolute; left: 0; color: #c0392b; font-weight: 800; }
.ba-after .ba-list li { color: #1a4a30; }
.ba-after .ba-list li::before { content: 'âœ“'; position: absolute; left: 0; color: #1a6b3c; font-weight: 800; }

/* TEMOIGNAGES */
.testi-outer {
  background: white;
  border-radius: 28px;
  padding: 3.5rem 2rem 2.5rem;
  max-width: 860px;
  margin: 0 auto;
  overflow: hidden;
}
.testi-outer h2 { margin-bottom: 0; }
.testi-stack-wrap { margin-top: 2.5rem; }
.testi-stack {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testi-card-new {
  position: absolute;
  width: 300px;
  background: white;
  border-radius: 20px;
  padding: 2rem 1.75rem;
  text-align: center;
  border: 1px solid var(--gray-200);
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform .45s cubic-bezier(.4,0,.2,1), opacity .45s ease, box-shadow .45s ease;
  will-change: transform, opacity;
}
.testi-card-new.prev {
  transform: translateX(-230px) rotate(-8deg) scale(0.82);
  opacity: 0.4;
  z-index: 1;
}
.testi-card-new.active {
  transform: translateX(0) rotate(0deg) scale(1);
  opacity: 1;
  z-index: 3;
  box-shadow: 0 20px 48px rgba(124,58,237,0.13);
}
.testi-card-new.next {
  transform: translateX(230px) rotate(8deg) scale(0.82);
  opacity: 0.4;
  z-index: 1;
}
.testi-card-new.hidden { opacity: 0; pointer-events: none; z-index: 0; }
.testi-av {
  width: 64px; height: 64px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  color: white;
  font-size: 22px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.testi-av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.testi-name { font-size: 16px; font-weight: 800; color: var(--black); margin-bottom: 2px; }
.testi-role { font-size: 12px; color: var(--gray-400); font-weight: 600; margin-bottom: .85rem; }
.testi-stars { display: flex; align-items: center; justify-content: center; gap: 3px; margin-bottom: 1rem; }
.testi-stars span { font-size: 13px; font-weight: 800; color: var(--black); margin-left: 4px; }
.testi-quote-new { font-size: 13px; color: var(--gray-600); line-height: 1.7; font-weight: 500; font-style: italic; }
.testi-dots {
  display: flex; gap: 8px; justify-content: center;
  margin-top: 2rem;
}
.testi-dot {
  width: 10px; height: 10px;
  border-radius: 100px;
  border: none;
  background: var(--gray-200);
  cursor: pointer;
  transition: all .3s ease;
  padding: 0;
}
.testi-dot.active { width: 32px; background: var(--blue); }

/* TEMOIGNAGES â€” photo wall */
.testimonials {
  padding: 7rem 0;
  background: var(--white);
  overflow: hidden;
}
.twall-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.twall-side {
  flex: 1;
  display: flex;
  gap: 12px;
  min-width: 0;
}
.twall-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.twall-col-offset {
  margin-top: 48px;
}
.twall-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  padding: 1.1rem 1.1rem 1rem;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  box-shadow: 0 2px 12px rgba(60,40,120,0.06);
  transition: box-shadow .2s, transform .2s;
}
.twall-card:hover {
  box-shadow: 0 6px 24px rgba(124,58,237,0.12);
  transform: translateY(-2px);
}
.twall-av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.twall-body { flex: 1; min-width: 0; }
.twall-stars {
  color: #f59e0b;
  font-size: 11px;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.twall-quote {
  font-size: 12.5px;
  color: var(--gray-600);
  line-height: 1.55;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 6px;
}
.twall-name {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--black);
}
.twall-name span {
  font-weight: 500;
  color: var(--gray-400);
}
.twall-center {
  flex: 0 0 260px;
  text-align: center;
  padding: 1rem;
}
.twall-center h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.twall-center p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.twall-score {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gray-100);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
}
.twall-score-stars { color: #f59e0b; font-size: 13px; }

@media (max-width: 900px) {
  .twall-wrap { flex-direction: column; gap: 2.5rem; }
  .twall-side { max-width: 480px; width: 100%; }
  .twall-side:last-child { display: none; }
  .twall-center { flex: none; width: 100%; order: -1; text-align: left; }
  .twall-center .section-tag.center { text-align: left; margin-left: 0; margin-right: 0; width: auto; }
}

/* FAQ */
.faq { padding: 6rem 0; background: var(--gray-100); }
.faq h2 { margin-bottom: 3rem; }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq-item { background: var(--white); border-radius: 16px; overflow: hidden; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; background: none; border: none; font-family: var(--font); font-size: 15px; font-weight: 800; color: var(--black); cursor: pointer; text-align: left; }
.faq-question svg { flex-shrink: 0; transition: transform .3s; color: var(--coral); }
.faq-question span { flex: 1; min-width: 0; white-space: normal; }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer { font-size: 14px; color: var(--gray-600); line-height: 1.7; font-weight: 500; max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; padding: 0 1.5rem; }
.faq-item.open .faq-answer { max-height: 200px; padding: 0 1.5rem 1.25rem; }

/* PRICING */
.pricing {
  padding: 6rem 0;
  background: var(--white);
  position: relative;
}
.pricing h2 { margin-bottom: 2.5rem; color: var(--black); }
.pricing .section-tag { color: var(--blue); background: var(--blue-light); }
.pricing-note { color: var(--gray-400); text-align: center; font-size: 14px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: center; margin-bottom: 1.5rem; position: relative; z-index: 1; }

.plan {
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: 24px;
  padding: 2rem;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  cursor: default;
  box-shadow: 0 2px 12px rgba(124,58,237,0.06);
  position: relative;
  overflow: hidden;
}
.plan::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
  opacity: 0;
  transition: opacity .25s;
}
.plan:hover::before { opacity: 1; }
.plan:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(124,58,237,0.18);
  border-color: #c4b5fd;
}
.plan-featured {
  background: linear-gradient(145deg, #7c3aed 0%, #5b21b6 100%);
  border: none;
  box-shadow: 0 8px 18px -6px rgba(124,58,237,0.4);
  z-index: 2;
}
.plan-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -6px rgba(124,58,237,0.45);
}
.plan-badge { font-size: 11px; font-weight: 800; background: rgba(255,255,255,0.25); color: white; padding: 5px 14px; border-radius: 100px; display: inline-block; margin-bottom: 1rem; border: 1px solid rgba(255,255,255,0.4); }
.plan-name { font-size: 22px; font-weight: 800; color: var(--black); margin-bottom: 4px; }
.plan-featured .plan-name { color: white; }
.plan-tagline { font-size: 13px; color: var(--gray-400); margin-bottom: 1.25rem; font-weight: 600; }
.plan-featured .plan-tagline { color: rgba(255,255,255,0.7); }
.plan-price { font-size: 48px; font-weight: 800; color: var(--black); letter-spacing: -2px; margin-bottom: 1.25rem; }
.plan-featured .plan-price { color: white; }
.plan-price span { font-size: 16px; font-weight: 600; color: var(--gray-400); letter-spacing: 0; }
.plan-featured .plan-price span { color: rgba(255,255,255,0.6); }
.plan-features { list-style: none; margin-bottom: 1.5rem; }
.plan-features li { font-size: 13px; color: var(--gray-600); padding: 7px 0; border-bottom: 1px solid var(--gray-200); display: flex; align-items: center; gap: 8px; font-weight: 600; }
.plan-featured .plan-features li { color: rgba(255,255,255,0.9); border-bottom-color: rgba(255,255,255,0.15); }
.plan-features li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-light); flex-shrink: 0; background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%237c3aed' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }
.plan-featured .plan-features li::before { background: rgba(255,255,255,0.2); background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }
.plan-features li.no { opacity: .4; }
.plan-features li.no::before { background: var(--gray-100); background-image: url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' fill='none'%3E%3Cpath d='M1 1L7 7M7 1L1 7' stroke='%238b84b0' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }
.plan-featured .plan-features li.no::before { background: rgba(255,255,255,0.08); background-image: url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' fill='none'%3E%3Cpath d='M1 1L7 7M7 1L1 7' stroke='%23ffffff' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }
.btn-plan { display: block; text-align: center; text-decoration: none !important; font-family: var(--font); font-size: 14px; font-weight: 800; padding: 12px; border-radius: 100px; border: 1.5px solid var(--gray-200); color: var(--black); transition: all .2s; background: white; }
.btn-plan:hover { background: var(--blue-light); border-color: #c4b5fd; color: var(--blue); transform: translateY(-1px); text-decoration: none; }
.btn-plan.primary { background: white; border-color: white; color: #7c3aed; box-shadow: 0 4px 20px rgba(0,0,0,0.18); }
.btn-plan.primary:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.22); transform: translateY(-2px);  text-decoration: none; }
.plan-note { font-size: 11px; color: var(--gray-400); text-align: center; margin-top: 10px; font-style: italic; }
.plan-featured .plan-note { color: rgba(255,255,255,0.5); }

/* PRICING V2 */
.pricing-sub { font-size: 16px; color: var(--gray-400); font-weight: 500; margin-bottom: 2.5rem; line-height: 1.6; }

.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 3rem; background: var(--gray-100); border-radius: 100px; padding: 4px; width: fit-content; margin-left: auto; margin-right: auto; }
.toggle-btn { font-family: var(--font); font-size: 14px; font-weight: 700; padding: 8px 20px; border-radius: 100px; border: none; background: none; color: var(--gray-400); cursor: pointer; transition: all .2s; display: flex; align-items: center; gap: 6px; }
.toggle-btn.active { background: #7c3aed; color: white; box-shadow: 0 2px 12px rgba(124,58,237,0.3); }
.toggle-badge { font-size: 11px; font-weight: 800; background: #ede9fe; color: #7c3aed; padding: 2px 7px; border-radius: 100px; }
.toggle-btn.active .toggle-badge { background: rgba(255,255,255,0.25); color: white; }

.plans-v2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: center; margin-bottom: 2.5rem; }

.plan-v2 { background: white; border: 1.5px solid var(--gray-200); border-radius: 24px; padding: 2rem; transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; }
.plan-v2:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(124,58,237,0.12); border-color: #c4b5fd; }

.plan-v2-featured { border: 2px solid #7c3aed; box-shadow: 0 12px 48px rgba(124,58,237,0.2); transform: scale(1.03); }
.plan-v2-featured:hover { transform: scale(1.03) translateY(-4px); box-shadow: 0 20px 56px rgba(124,58,237,0.28); }

.plan-v2-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 800; background: #7c3aed; color: white; padding: 5px 12px; border-radius: 100px; margin-bottom: 1rem; }

.plan-v2-name { font-size: 22px; font-weight: 800; color: var(--black); margin-bottom: 6px; }
.plan-v2-baseline { font-size: 13px; color: var(--gray-400); font-weight: 500; line-height: 1.5; margin-bottom: 1.5rem; }

.plan-v2-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 1.5rem; flex-wrap: wrap; }
.price-amount { font-size: 46px; font-weight: 800; color: var(--black); letter-spacing: -2px; line-height: 1; }
.price-period { font-size: 15px; font-weight: 600; color: var(--gray-400); }
.price-old { font-size: 14px; color: var(--gray-400); text-decoration: line-through; margin-left: 4px; font-weight: 500; }

.plan-v2-features { list-style: none; margin-bottom: 2rem; display: flex; flex-direction: column; gap: 0; }
.plan-v2-features li { font-size: 13px; color: var(--gray-600); padding: 8px 0; border-bottom: 1px solid var(--gray-100); display: flex; align-items: center; gap: 10px; font-weight: 600; }
.plan-v2-features li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-light); flex-shrink: 0; background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%237c3aed' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }

.btn-plan-v2 { display: block; text-align: center; text-decoration: none; font-family: var(--font); font-size: 14px; font-weight: 800; padding: 13px; border-radius: 100px; border: 1.5px solid #7c3aed; color: #7c3aed; background: white; transition: all .2s; }
.btn-plan-v2:hover { background: var(--blue-light); transform: translateY(-1px); }
.btn-plan-v2-primary { background: #7c3aed; color: white; border-color: #7c3aed; box-shadow: 0 4px 20px rgba(124,58,237,0.35); }
.btn-plan-v2-primary:hover { background: #6d28d9; box-shadow: 0 8px 28px rgba(124,58,237,0.45); transform: translateY(-2px); }

.pricing-guarantee { display: flex; align-items: flex-start; gap: 1.25rem; background: var(--gray-100); border-radius: 20px; padding: 1.75rem 2rem; max-width: 700px; margin: 0 auto; }
.pricing-guarantee svg { flex-shrink: 0; margin-top: 2px; }
.guarantee-title { font-size: 15px; font-weight: 800; color: var(--black); margin-bottom: 6px; }
.guarantee-text { font-size: 14px; color: var(--gray-400); line-height: 1.65; font-weight: 500; }

/* CONTACT */
.contact { padding: 6rem 0; background: var(--white); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: center; }
.contact-left h2 { margin-bottom: 1rem; }
.contact-desc { font-size: 15px; color: var(--gray-600); line-height: 1.7; margin-bottom: 2rem; font-weight: 500; }
.contact-perks { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.contact-perks li { display: flex; align-items: flex-start; gap: 1rem; }
.perk-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--coral-light); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.contact-perks li div { display: flex; flex-direction: column; }
.contact-perks li strong { font-size: 14px; font-weight: 800; color: var(--blue); }
.contact-perks li span { font-size: 13px; color: var(--gray-400); font-weight: 600; }
.contact-right { background: var(--gray-100); border-radius: 24px; padding: 2.5rem; }
.contact-form { width: 100%; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 13px; font-weight: 800; color: var(--black); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 18px; border: 2px solid var(--gray-200); border-radius: 14px; font-family: var(--font); font-size: 14px; color: var(--black); transition: border-color .2s; background: var(--white); font-weight: 600; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--blue); }

/* Custom select */
.custom-select { position: relative; user-select: none; }
.custom-select-trigger {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 12px 18px;
  border: 2px solid var(--gray-200); border-radius: 14px;
  font-family: var(--font); font-size: 14px; font-weight: 600;
  color: var(--black); background: var(--white);
  cursor: pointer; transition: border-color .2s;
}
.custom-select.open .custom-select-trigger { border-color: var(--blue); }
.custom-select-trigger svg { flex-shrink: 0; color: var(--gray-400); transition: transform .2s; }
.custom-select.open .custom-select-trigger svg { transform: rotate(180deg); }
.custom-select-dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: white; border: 2px solid var(--blue);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 8px 24px rgba(124,58,237,0.12);
  z-index: 100; display: none;
}
.custom-select.open .custom-select-dropdown { display: block; }
.custom-select-option {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 18px; cursor: pointer;
  transition: background .15s;
}
.custom-select-option:hover { background: var(--gray-100); }
.custom-select-option.selected { background: var(--blue-light); }
.cso-label { font-size: 14px; font-weight: 700; color: var(--black); }
.cso-price { font-size: 13px; font-weight: 600; color: var(--blue); }
.form-group textarea { resize: vertical; }
.contact-form .btn-primary { width: 100%; font-size: 15px; padding: 15px; }
.input-error { border-color: #ef4444 !important; }
.field-error { display: block; font-size: 12px; font-weight: 700; color: #ef4444; margin-top: 5px; }


/* ANIMATIONS AU SCROLL */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.from-left {
  transform: translateX(-32px);
}
.reveal.from-right {
  transform: translateX(32px);
}
.reveal.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* RESPONSIVE HOME */
@media (max-width: 768px) {

  /* â”€â”€ Hero mobile : layout vertical statique â”€â”€ */
  .hero { height: auto; }
  .hero-sticky {
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 1.5rem 2.5rem;
    overflow: hidden;
  }
  .hero-content {
    position: relative;
    top: auto; left: auto;
    transform: none;
    width: 100%;
    opacity: 1 !important;
  }
  .hero h1 { font-size: clamp(32px, 8vw, 44px); }
  .hero-sub { font-size: 15px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-scroll-right { display: none; }
  .hero-social { display: none; }
  .hero-card { display: none; }
  .macbook {
    position: relative;
    bottom: auto; left: auto;
    transform: none !important;
    width: min(320px, 90vw);
    margin: 2rem auto -40px;
    flex-shrink: 0;
  }

  /* Sections */
  .features { padding: 4rem 0; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: .85rem; }
  .feature-card-more { display: none; }
  .how { padding: 4rem 0; }
  .steps { flex-direction: column; }
  .step-arrow { display: none; }
  .pricing { padding: 4rem 0; }
  .plans {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 0 1.25rem 1rem;
    margin: 0 -1.25rem 1.5rem;
    grid-template-columns: unset;
    scrollbar-width: none;
  }
  .plans::-webkit-scrollbar { display: none; }
  .plan {
    flex: 0 0 82vw;
    max-width: 320px;
    scroll-snap-align: center;
  }
  .demo-wrapper { grid-template-columns: 1fr; }
  .demo-ext { position: static; }
  .ba-grid, .testi-grid { grid-template-columns: 1fr; }

  /* Features mobile */
  .feature-card { padding: 1.4rem 1.2rem; }
  .feature-icon { width: 42px; height: 42px; border-radius: 11px; margin-bottom: .8rem; }
  .feature-card h3 { font-size: 14px; }
  .feature-card p { font-size: 12px; }

  /* Contact */
  .contact { padding: 4rem 0; }
  .testimonials { padding: 4rem 0; }
  .faq { padding: 4rem 0; }
  .before-after { padding: 4rem 0; }
  .demo { padding: 4rem 0; }
  .contact-inner { grid-template-columns: 1fr; gap: 2rem; }
  .contact-right { padding: 1.75rem; }
  .form-row { grid-template-columns: 1fr; }

  /* Titres */
  h2 { font-size: 28px; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .twall-side { flex-direction: column; }
  .twall-col-offset { margin-top: 0; }
}