/* ============================================================
   MassiWeb — style.css
   Thème : sombre premium (hero/footer) + sections claires
   Accent : dégradé indigo (#6366F1) → cyan (#22D3EE)
   ============================================================ */

:root {
  --dark-1: #0B1220;
  --dark-2: #0F172A;
  --light-1: #FFFFFF;
  --light-2: #F8FAFC;
  --indigo: #6366F1;
  --cyan: #22D3EE;
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;
  --text-dark: #0F172A;
  --text-body: #475569;
  --text-light: #CBD5E1;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --gradient: linear-gradient(135deg, var(--indigo), var(--cyan));
  --radius: 16px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 18px 48px rgba(15, 23, 42, 0.16);
  --font-title: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --header-h: 74px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--light-1);
  line-height: 1.65;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--text-dark);
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

section[id], footer[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
section { scroll-margin-top: calc(var(--header-h) + 16px); }

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

.container-narrow { width: min(840px, 92%); }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--dark-1);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-xl { padding: 1.15rem 2.4rem; font-size: 1.15rem; }
.btn-block { width: 100%; margin-top: auto; }
.btn-nav { padding: 0.6rem 1.25rem; font-size: 0.92rem; box-shadow: none; }

/* ---------- Focus clavier visible ---------- */
.btn:focus-visible,
.nav-link:focus-visible,
.faq-question:focus-visible,
.whatsapp-float:focus-visible,
.footer-links a:focus-visible,
.footer-phone:focus-visible,
.burger:focus-visible {
  outline: 3px solid var(--indigo);
  outline-offset: 3px;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(11, 18, 32, 0.35);
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.header.scrolled {
  background: rgba(11, 18, 32, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.45rem;
  color: #fff;
  letter-spacing: -0.02em;
}
.logo-accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav { display: flex; align-items: center; gap: 1.5rem; }

.nav-list { display: flex; align-items: center; gap: 1.4rem; }

.nav-link {
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.25s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { width: 100%; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: none;
  padding: 8px;
}
.burger span {
  display: block;
  width: 100%; height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--dark-1) 0%, var(--dark-2) 100%);
  padding: calc(var(--header-h) + 64px) 0 96px;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.35;
  pointer-events: none;
}
.hero-blob-1 {
  width: 480px; height: 480px;
  background: var(--indigo);
  top: -140px; left: -120px;
}
.hero-blob-2 {
  width: 420px; height: 420px;
  background: var(--cyan);
  bottom: -160px; right: -100px;
  opacity: 0.22;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--text-light);
  max-width: 36rem;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
}
.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
}
.hero-badges .check { color: var(--whatsapp); font-weight: 700; }

.hero-payment {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 0.6rem;
  margin-top: 1.5rem;
  padding: 0.6rem 1.2rem;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(34, 211, 238, 0.18);
}
.hero-payment-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}
.hero-payment-logo {
  display: block;
  height: 22px;
  width: auto;
}

.hero-visual { position: relative; }

.code-window {
  border-radius: var(--radius);
  overflow: hidden;
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  transform: rotate(1.5deg);
  transition: transform 0.4s ease;
}
.code-window:hover { transform: rotate(0deg) scale(1.01); }

.code-window-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1rem;
  background: #0F172A;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-red { background: #F87171; }
.dot-yellow { background: #FBBF24; }
.dot-green { background: #34D399; }
.code-window-title {
  margin-left: 0.6rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-family: monospace;
}

.hero-img { width: 100%; height: 340px; object-fit: cover; }

.hero-card-float {
  position: absolute;
  bottom: -22px;
  left: -18px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #fff;
  color: var(--text-dark);
  border-radius: 14px;
  padding: 0.8rem 1.15rem;
  font-size: 0.85rem;
  line-height: 1.35;
  box-shadow: var(--shadow-lg);
  animation: floaty 5s ease-in-out infinite;
}
.hero-card-float small { color: var(--text-body); }
.hero-card-float-icon { font-size: 1.5rem; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Bandeau chiffres ---------- */
.stats {
  background: var(--dark-2);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3.2rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.93rem;
  color: var(--text-light);
}

/* ---------- Sections génériques ---------- */
.section { padding: 6rem 0; }
.section-light { background: var(--light-1); }
.section-grey { background: var(--light-2); }

.section-head {
  text-align: center;
  max-width: 46rem;
  margin: 0 auto 3.5rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: "";
  display: block;
  width: 64px; height: 4px;
  border-radius: 4px;
  background: var(--gradient);
  margin: 0.8rem auto 0;
}

.section-subtitle { font-size: 1.08rem; color: var(--text-body); }

.grid { display: grid; gap: 1.6rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--light-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(99, 102, 241, 0.35);
}

/* ---------- Services ---------- */
.service-card { display: flex; flex-direction: column; }

.service-icon {
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35);
  margin-bottom: 1.2rem;
}

.service-card h3 { font-size: 1.18rem; margin-bottom: 0.7rem; }
.service-card p { font-size: 0.96rem; margin-bottom: 1.1rem; }

.service-list { margin-top: auto; display: grid; gap: 0.45rem; }
.service-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.92rem;
  color: var(--text-body);
}
.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--whatsapp-dark);
  font-weight: 700;
}

/* ---------- Pourquoi nous ---------- */
.why-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}

.why-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.why-icon {
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--indigo);
  background: rgba(99, 102, 241, 0.1);
  margin-bottom: 1rem;
}

.why-card h3 { font-size: 1.05rem; margin-bottom: 0.6rem; }
.why-card p { font-size: 0.92rem; }

/* ---------- Processus ---------- */
.process-step {
  position: relative;
  background: var(--light-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.1rem 1.7rem 1.7rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.process-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.process-num {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 8px 18px rgba(99, 102, 241, 0.35);
  margin-bottom: 1.1rem;
}

.process-step h3 { font-size: 1.06rem; margin-bottom: 0.6rem; }
.process-step p { font-size: 0.92rem; }

/* ---------- Tarifs ---------- */
.pricing-grid { align-items: stretch; }

.pricing-card {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 2.2rem 1.9rem;
}

.pricing-featured {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--light-1), var(--light-1)) padding-box,
    var(--gradient) border-box;
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
  z-index: 1;
}
.pricing-featured:hover { transform: scale(1.04) translateY(-6px); }

.pricing-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: #4F46E5;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

.pricing-name { font-size: 1.25rem; margin-bottom: 0.8rem; }

.pricing-price {
  font-family: var(--font-title);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.7rem;
  line-height: 1.3;
}
.pricing-from {
  display: block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body);
}
.pricing-eur { font-size: 1rem; font-weight: 600; color: var(--text-body); }

.pricing-desc { font-size: 0.94rem; margin-bottom: 1.3rem; }

.pricing-list { display: grid; gap: 0.55rem; margin-bottom: 1.8rem; }
.pricing-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.92rem;
}
.pricing-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--whatsapp-dark);
  font-weight: 700;
}

.payment-banner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  max-width: 780px;
  margin: 3rem auto 0;
  padding: 1.4rem 1.7rem;
  background: linear-gradient(var(--light-1), var(--light-1)) padding-box,
              var(--gradient) border-box;
  border: 2px solid transparent;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.payment-banner-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #4F46E5;
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
}
.payment-banner-text {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text-body);
}
.payment-banner-text strong {
  color: var(--text-dark);
}
.payment-accent {
  color: #4F46E5;
  font-weight: 700;
}
@media (max-width: 480px) {
  .payment-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.4rem 1.2rem;
  }
}

.pricing-note {
  text-align: center;
  margin-top: 1.6rem;
  font-size: 0.95rem;
  color: var(--text-body);
  font-weight: 500;
}

/* ---------- Équipe ---------- */
.team-card { text-align: center; }

.team-photo {
  width: 116px; height: 116px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.1rem;
  border: 4px solid transparent;
  background: var(--gradient) border-box;
  box-shadow: 0 10px 24px rgba(99, 102, 241, 0.25);
}

.team-card h3 { font-size: 1.08rem; margin-bottom: 0.25rem; }

.team-role {
  font-size: 0.875rem;
  font-weight: 600;
  color: #4F46E5;
  margin-bottom: 0.7rem;
}

.team-bio { font-size: 0.9rem; }

/* ---------- Témoignages ---------- */
.testimonial-card { display: flex; flex-direction: column; }

.stars {
  color: #D97706;
  font-size: 1.15rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.9rem;
}

.testimonial-text {
  font-size: 0.96rem;
  font-style: italic;
  color: var(--text-body);
  margin-bottom: 1.2rem;
}

.testimonial-author { margin-top: auto; font-size: 0.92rem; }
.testimonial-author strong { color: var(--text-dark); }
.testimonial-author span { color: var(--text-body); font-size: 0.875rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 0.9rem; }

.faq-item {
  background: var(--light-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item.open {
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  background: none;
  border: none;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-title);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-dark);
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--indigo);
  transition: transform 0.35s ease;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer p {
  padding: 0 1.4rem 1.3rem;
  font-size: 0.96rem;
}

/* ---------- CTA final ---------- */
.cta-final {
  position: relative;
  text-align: center;
  padding: 6.5rem 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(99, 102, 241, 0.28), transparent 55%),
    radial-gradient(ellipse at 85% 100%, rgba(34, 211, 238, 0.18), transparent 55%),
    linear-gradient(160deg, var(--dark-1), var(--dark-2));
  overflow: hidden;
}

.cta-blob {
  position: absolute;
  width: 540px; height: 540px;
  border-radius: 50%;
  background: var(--indigo);
  filter: blur(140px);
  opacity: 0.22;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-final .container { position: relative; }

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}

.cta-text {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 40rem;
  margin: 0 auto 2.2rem;
}

.cta-under {
  margin-top: 1.2rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark-1);
  color: var(--text-light);
  padding-top: 4.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.logo-footer { display: inline-block; margin-bottom: 1rem; }

.footer-about p { font-size: 0.93rem; color: var(--text-muted); max-width: 30rem; }

.footer h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1.1rem;
}

.footer-links ul { display: grid; gap: 0.55rem; }
.footer-links a {
  color: var(--text-muted);
  font-size: 0.93rem;
  transition: color 0.25s ease;
}
.footer-links a:hover { color: var(--cyan); }

.footer-contact p { font-size: 0.93rem; color: var(--text-muted); margin-bottom: 0.4rem; }

.footer-phone {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--whatsapp);
  transition: color 0.25s ease;
}
.footer-phone:hover { color: #fff; }

.footer-contact .footer-payment {
  margin-top: 1rem;
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.4rem 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ---------- Bouton WhatsApp flottant ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1100;
  width: 60px; height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--dark-1);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5);
  transition: transform 0.25s ease, background 0.25s ease;
  animation: pulse-wa 2.4s ease-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  background: var(--whatsapp-dark);
}

@keyframes pulse-wa {
  0%   { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70%  { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5), 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Animations d'apparition (uniquement si JS actif) ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
html.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
  .whatsapp-float, .hero-card-float { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-content { text-align: center; }
  .hero-subtitle { margin-inline: auto; }
  .hero-cta, .hero-badges { justify-content: center; }
  .hero-visual { max-width: 620px; margin: 0 auto; width: 100%; }
  .hero-card-float { left: 8px; }

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

  .why-layout { grid-template-columns: 1fr; }
  .why-image img { min-height: 280px; width: 100%; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .pricing-featured { transform: none; }
  .pricing-featured:hover { transform: translateY(-6px); }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }

  .burger { display: flex; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(11, 18, 32, 0.97);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    padding: 1rem 4% 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link {
    display: block;
    padding: 0.85rem 0.4rem;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .nav-link::after { display: none; }

  .btn-nav { margin-top: 1.1rem; justify-content: center; }
}

@media (max-width: 768px) {
  :root { --header-h: 66px; }

  .section { padding: 4.5rem 0; }
  .hero { padding: calc(var(--header-h) + 44px) 0 76px; }
  .hero-img { height: 260px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
}

@media (max-width: 480px) {
  .grid-3, .grid-4, .why-grid { grid-template-columns: 1fr; }

  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-card-float { display: none; }
  .hero-img { height: 210px; }

  .btn-xl { padding: 1rem 1.4rem; font-size: 1rem; }
  .btn-lg, .btn-xl, .btn-block { white-space: normal; }

  .card { padding: 1.5rem; }
  .whatsapp-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .footer-bottom { padding-bottom: calc(1.4rem + 76px); }

  .stats-grid { gap: 1.3rem; }
  .stat-label { font-size: 0.875rem; }
}
