*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --dark:  #1a1921;
  --blue:  #1c53fe;
  --white: #ffffff;
  --grey:  rgba(255,255,255,0.8);
  --muted: rgba(255,255,255,0.45);
  --text-dark: #333333;
  --text-muted: #757575;
  /* Gradient exact du site haccp-facile.com */
  --grad: linear-gradient(262deg, rgba(255,221,40,1) 0%, rgba(255,153,0,1) 25%, rgba(255,56,56,1) 50%, rgba(13,38,171,1) 69%, rgba(28,255,170,1) 100%);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  background: #0e0d14;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 32px; }

/* ─── BARRE URGENCE ──────────────────────────────── */
.topbar {
  background: var(--blue);
  text-align: center;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.topbar a { color: #ffdd40; font-weight: 700; text-decoration: underline; }

/* ─── NAV (sombre par défaut → blanche au scroll) ── */
.nav {
  position: sticky;
  top: 0; z-index: 100;
  background: var(--dark);
  border-bottom: none;
  box-shadow: none;
  height: 72px;
  padding: 0 40px;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
/* État après scroll */
.nav.scrolled {
  background: #fff;
  border-bottom: 1px solid #eee;
  box-shadow: 0 2px 16px rgba(0,0,0,.1);
}
.nav-logo img { height: 52px; width: auto; display: block; }
/* Logo light (défaut sombre) / dark (après scroll) */
.nav .logo-dark  { display: none; }
.nav .logo-light { display: block; }
.nav.scrolled .logo-dark  { display: block; }
.nav.scrolled .logo-light { display: none; }

.nav-inner {
  max-width: 1400px; margin: 0 auto; width: 100%; height: 100%;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.nav-left { display: flex; align-items: center; }
.nav-links { justify-content: center; }
.nav-links {
  display: flex; align-items: center; gap: 28px;
}
.nav-links a {
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: #fff; }
.nav.scrolled .nav-links a { color: #333; }
.nav.scrolled .nav-links a:hover { color: var(--blue); }

.nav-right { display: flex; align-items: center; gap: 20px; justify-content: flex-end; }

/* ─── BOUTON GRADIENT-OUTLINED (exact vrai site) ── */
.btn-grad {
  position: relative;
  border-radius: 50px;
  background-clip: padding-box;
  border: solid 2px transparent;
  background: transparent;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 2px;
  padding: 0.85em 2em;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background .15s ease-in-out;
  line-height: 1.5;
  white-space: nowrap;
}
/* La bordure dégradée via pseudo-element + mask */
.btn-grad::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50px;
  padding: 2px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  z-index: 1;
}
/* Hover : fond dégradé complet, texte blanc */
.btn-grad:hover {
  background: var(--grad);
  color: #fff !important;
}
/* Version sur fond blanc : texte sombre */
.btn-grad.on-light { color: #333; }
.btn-grad.on-light:hover { color: #fff; }

/* Bouton bleu plein (CTA principal) */
.btn-blue {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.85em 2em;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: opacity .15s;
}
.btn-blue:hover { opacity: .88; }

/* Nav login link */
.nav-login {
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  transition: color .2s;
  white-space: nowrap;
}
.nav-login:hover { color: #fff; }
.nav.scrolled .nav-login { color: #333; }
.nav.scrolled .nav-login:hover { color: var(--blue); }

/* Nav CTA */
.nav-cta {
  background: var(--grad);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 13px 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px; font-weight: 700;
  letter-spacing: .03em;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: opacity .15s;
}
.nav-cta:hover { opacity: .88; }
.nav-cta-label-short { display: none; }

/* ─── HERO (fond sombre) ─────────────────────────── */
.hero {
  background: var(--dark);
  padding: 90px 40px 80px;
}
.hero-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 45fr 55fr;
  gap: 48px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 100px;
  padding: 5px 16px;
  font-size: 11px; font-weight: 700;
  color: rgba(255,255,255,.7);
  margin-bottom: 22px;
  letter-spacing: .06em; text-transform: uppercase;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #1cffaa;
  animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero h1 {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900; line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.hero h1 span {
  /* Gradient sur le texte accent */
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 16px;
  color: var(--grey);
  max-width: 480px;
  margin-bottom: 28px;
  line-height: 1.7;
}
.hero-checks {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 36px;
}
.hero-checks li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--grey); font-weight: 500;
}
.check-ico {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(28,83,254,.25);
  color: #7aabff;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 900; flex-shrink: 0;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: nowrap; align-items: center; }
.hero-note { margin-top: 14px; font-size: 11px; color: var(--muted); }

/* App mockup */
.mockup-wrap {
  position: relative;
  padding-bottom: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.mockup-img {
  max-height: 480px;
  width: auto;
  max-width: 100%;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,.6));
  display: block;
}
.hero-video-box {
  position: relative;
  display: block;
  width: 100%;
}
.hero-video {
  border-radius: 16px;
  max-height: 640px;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
  outline: 0;
  background: transparent;
}
.hero-video-box:fullscreen .hero-video,
.hero-video:fullscreen { border-radius: 0; max-height: 100vh; height: 100vh; width: 100vw; }
.hero-video-btn {
  position: absolute;
  bottom: 16px; right: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 9px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.hero-video-btn:hover { background: rgba(0,0,0,.85); transform: translateY(-1px); }
.hero-video-btn svg { flex-shrink: 0; }
.mockup-win {
  background: #111019;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.55);
}
.m-bar {
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.05);
  padding: 11px 16px; display: flex; align-items: center; gap: 7px;
}
.m-dot { width: 10px; height: 10px; border-radius: 50%; }
.m-body { padding: 20px; }
.m-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.m-lbl { font-size: 10px; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.m-title { font-size: 15px; font-weight: 700; color: #fff; margin-top: 2px; }
.m-badge { background: rgba(28,83,254,.2); border: 1px solid rgba(28,83,254,.4); color: #7aabff; padding: 4px 12px; border-radius: 100px; font-size: 11px; font-weight: 700; }
.m-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.m-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); border-radius: 10px; padding: 12px; }
.m-ico { font-size: 15px; margin-bottom: 4px; }
.m-clbl { font-size: 9px; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; margin-bottom: 3px; }
.m-val { font-size: 20px; font-weight: 900; color: #7aabff; font-family: 'Roboto', sans-serif; }
.m-val.warn { color: #ffaa33; }
.m-csub { font-size: 10px; color: rgba(255,255,255,.3); margin-top: 2px; }
.m-list { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.05); border-radius: 10px; padding: 12px; margin-bottom: 10px; }
.m-ltitle { font-size: 9px; color: rgba(255,255,255,.5); font-weight: 700; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 8px; }
.m-row { display: flex; align-items: center; gap: 8px; padding: 3px 0; border-bottom: 1px solid rgba(255,255,255,.03); font-size: 11px; color: rgba(255,255,255,.6); }
.m-row:last-child { border: none; }
.m-box { width: 14px; height: 14px; border-radius: 3px; display: flex; align-items: center; justify-content: center; font-size: 8px; font-weight: 900; flex-shrink: 0; }
.m-box.done { background: var(--blue); color: #fff; }
.m-box.todo { border: 1px solid rgba(255,255,255,.2); }
.m-temp { display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.05); border-radius: 10px; padding: 9px 12px; }
.m-temp-lbl { font-size: 12px; color: rgba(255,255,255,.6); font-weight: 600; }
.m-temp-val { font-size: 14px; font-weight: 900; color: #ffaa33; font-family: 'Roboto', sans-serif; }
.m-temp-ok { font-size: 10px; background: rgba(28,83,254,.2); color: #7aabff; padding: 2px 8px; border-radius: 100px; font-weight: 700; }
.m-float {
  position: absolute; bottom: 8px; right: -8px;
  background: #1f1e2a; border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,.45);
  min-width: 190px;
}
.m-float-ico { font-size: 18px; }
.m-float-lbl { font-size: 10px; color: rgba(255,255,255,.4); }
.m-float-val { font-size: 12px; font-weight: 700; color: #fff; }

/* ─── ZONE 4 : SECTEURS FLIP CARDS ──────────────── */
.sect-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}
.flip-card {
  height: 200px;
  perspective: 1000px;
  cursor: pointer;
}
.flip-card-inner {
  position: relative; width: 100%; height: 100%;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
  transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner { transform: rotateY(180deg); }
.flip-card-front, .flip-card-back {
  position: absolute; inset: 0;
  border-radius: 30px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 20px;
}
.flip-card-front {
  background: transparent;
  border: 2px solid rgb(255, 255, 255);
}
.flip-card:last-child {
  grid-column: 2 / 4;
  width: calc((100% - 16px) / 2);
  margin: 0 auto;
}
.flip-card-front img {
  width: 72px; height: 72px; object-fit: contain;
  margin-bottom: 12px;
}
.flip-card-front span {
  font-size: 13px; font-weight: 700; color: #fff;
  text-align: center; line-height: 1.3;
}
.flip-card-back {
  background: var(--grad);
  transform: rotateY(180deg);
  text-align: center;
}
.flip-card-back span {
  font-size: 13px; font-weight: 600; color: #fff;
  line-height: 1.55;
}

.stats-block {
  background: var(--dark);
  border-radius: 18px;
  padding: 28px 32px;
}
.stats-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat4-card {
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  padding: 22px 16px; text-align: center;
  background: rgba(255,255,255,.04);
}
.stat4-num {
  font-family: 'Roboto', sans-serif;
  font-size: 34px; font-weight: 900;
  line-height: 1; margin-bottom: 6px;
  color: var(--blue);
}
.stat4-lbl { font-size: 12px; color: rgba(255,255,255,.6); font-weight: 500; }

/* ─── SECTIONS ───────────────────────────────────── */
.section { padding: 88px 40px; }
.section.dark { background: var(--dark); }
.section.light { background: #fff; }

.s-tag {
  display: inline-block;
  border: 1px solid rgba(28,83,254,.4);
  color: var(--blue);
  border-radius: 100px;
  padding: 4px 16px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 16px;
}
.section.dark .s-tag {
  border-color: rgba(255,255,255,.2);
  color: rgba(255,255,255,.65);
}

.s-h2 {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.15;
  letter-spacing: -.01em;
}
.section.dark .s-h2 { color: #fff; }

.s-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 52px;
  line-height: 1.7;
}
.section.dark .s-sub { color: var(--grey); }

/* ─── ZONE 5 : PRÉSENTATION MODULES ─────────────── */
.appz-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.appz-right {
  position: sticky;
  top: 100px;
}
.appz-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.appz-benefits > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 20px 12px;
  border-radius: 16px;
  border: 1.5px solid transparent;
  background: transparent;
  min-width: 0;
  cursor: default;
  overflow: hidden;
  position: relative;
}
/* Ligne centrale — invisible par défaut */
.appz-benefits > div::after {
  content: '';
  position: absolute;
  left: 18%;
  right: 18%;
  top: 50%;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transition: transform .38s cubic-bezier(.22,1,.36,1);
}
.appz-benefits > div:hover::after {
  transform: scaleX(1);
}
/* Picto monte */
.appz-benefits img {
  transition: transform .38s cubic-bezier(.22,1,.36,1);
}
.appz-benefits > div:hover img {
  transform: translateY(-10px);
}
/* Texte descend */
.appz-benefits > div > div {
  transition: transform .38s cubic-bezier(.22,1,.36,1);
}
.appz-benefits > div:hover > div {
  transform: translateY(10px);
}



.appz-benefits img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
  margin-bottom: 16px;
}

.appz-benefits strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #222;
  margin-bottom: 4px;
  margin-top: 16px;
  text-align: center;
}

.appz-benefits span {
  font-size: 12px;
  color: #888;
  line-height: 1.5;
  text-align: center;
  min-height: 32px;
  display: block;
}

/* ─── ZONE 6 : layout 2 colonnes (modules + média) ── */
.mod-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
}
.mod-media {
  position: sticky;
  top: 90px;
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
  border: 0;
  aspect-ratio: 9 / 16;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mod-media video,
.mod-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) {
  .mod-layout { grid-template-columns: 1fr; }
  .mod-media { position: static; aspect-ratio: 16 / 9; max-width: 480px; margin: 0 auto; }
}

/* ─── FEATURES GRID (Zone 5 - fond sombre) ──────── */
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.feat-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  padding: 28px;
  transition: border-color .2s, transform .2s;
}
.feat-card:hover { border-color: rgba(255,255,255,.18); transform: translateY(-3px); }
/* Carte DDPP mise en valeur avec bordure arc-en-ciel */
.feat-card.ddpp-hl {
  background: rgba(255,255,255,.04);
  border: 2px solid transparent;
  position: relative;
}
.feat-card.ddpp-hl::before {
  content: '';
  position: absolute; inset: -2px;
  border-radius: 18px;
  background: var(--grad);
  z-index: -1;
}
.feat-card.ddpp-hl::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 16px;
  background: #1a1921;
  z-index: -1;
}
.feat-ico { font-size: 28px; margin-bottom: 16px; display: block; }
.feat-title {
  font-family: 'Roboto', sans-serif;
  font-size: 16px; font-weight: 700;
  color: #fff; margin-bottom: 8px;
}
.feat-desc { font-size: 14px; color: var(--grey); line-height: 1.65; }

/* ─── ZONE 6 : MODULES ───────────────────────────── */
.mod-section-lbl {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; margin-bottom: 14px;
}
.mod-section-lbl.active { color: var(--blue); }
.mod-section-lbl.locked { color: #aaa; }

.mod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.mod-grid.pro-grid {
  grid-template-columns: repeat(4, 1fr);
}
.mod-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; text-align: center;
  padding: 16px 10px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #fff;
}
.mod-card.locked {
  background: #f9fafb;
  border-color: #ebebeb;
  opacity: 1;
}
.mod-card img {
  width: 52px; height: 52px; object-fit: contain;
}

.mod-name {
  font-size: 11px; font-weight: 600; color: #333; line-height: 1.3;
}
.mod-card.locked .mod-name { color: #aaa; }
.mod-lock { font-size: 10px; color: #ccc; }

/* ─── ÉTAPES ─────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.step {
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  padding: 28px 20px; text-align: center;
  background: rgba(255,255,255,.04);
  transition: border-color .2s;
}
.step:hover { border-color: rgba(255,255,255,.18); }
.step-n {
  font-family: 'Roboto', sans-serif;
  font-size: 48px; font-weight: 900; line-height: 1;
  margin-bottom: 14px; color: var(--blue); opacity: .6;
}
.step-title { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 8px; font-family: 'Roboto', sans-serif; }
.step-desc { font-size: 13px; color: var(--grey); line-height: 1.6; }

/* ─── PRICING ────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr 1fr; /* centre plus large */
  gap: 0;
  align-items: stretch;
  padding-top: 20px; /* espace pour le badge qui dépasse */
}

/* Cartes latérales : légèrement effacées */
.p-card {
  border: 1px solid #e0e3e8;
  border-radius: 24px;
  padding: 32px 26px;
  background: #f9fafb;
  position: relative;
  transition: box-shadow .25s, transform .25s;
  opacity: .88;
}
.p-card:first-child { border-radius: 24px 0 0 24px; border-right: none; }
.p-card:last-child  { border-radius: 0 24px 24px 0; border-left: none; }
.p-card:hover { opacity: 1; transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.09); z-index: 1; }

/* ── WRAPPER gradient = la "bordure" arc-en-ciel ── */
.p-featured-wrap {
  background: var(--grad);
  border-radius: 28px;
  padding: 3px;
  margin: -16px 0;
  position: relative;
  z-index: 2;
  overflow: visible;
  box-shadow: 0 24px 60px rgba(0,0,0,.18);
  transition: transform .25s, box-shadow .25s;
}
.p-featured-wrap:hover { transform: translateY(-5px); box-shadow: 0 36px 72px rgba(0,0,0,.22); }

/* ── CARTE PRO MENSUEL — fond blanc pur ── */
.p-card.featured {
  background: #fff;
  border: none;
  border-radius: 26px !important;
  padding: 44px 32px 36px;
  position: relative;
  opacity: 1;
  z-index: 1;
  box-shadow: none;
  margin: 0;
  transition: none;
}
.p-card.featured:hover { transform: none; box-shadow: none; }

/* Badge flottant — bleu sobre, pas gradient */
.p-badge {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(255,221,40,1) 0%, rgba(255,153,0,1) 20%, rgba(255,56,56,1) 40%, rgba(13,38,171,1) 70%, rgba(28,255,170,1) 100%);
  color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 5px 20px; border-radius: 100px;
  white-space: nowrap; letter-spacing: .1em; text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
}
.p-badge.gold {
  background: linear-gradient(90deg, #f59e0b, #e5a500);
  color: #fff;
}

.p-name { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: #bbb; margin-bottom: 14px; }
.p-card.featured .p-name { color: #aaa; margin-bottom: 18px; }

.p-price {
  font-family: 'Roboto', sans-serif;
  font-size: 48px; font-weight: 900; color: var(--text-dark); line-height: 1; margin-bottom: 4px;
}
.p-card.featured .p-price {
  font-size: 62px;
  display: inline-block;
  background: linear-gradient(90deg, rgba(28,255,170,1) 0%, rgba(13,38,171,1) 25%, rgba(255,56,56,1) 50%, rgba(255,153,0,1) 75%, rgba(255,221,40,1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.p-cur { font-size: 22px; vertical-align: bottom; margin-bottom: 6px; display: inline-block; }
.p-card.featured .p-cur { font-size: 28px; margin-bottom: 8px; }
.p-cents { font-size: 28px; }
.p-card.featured .p-cents { font-size: 36px; }
.p-period { font-size: 12px; color: #bbb; margin-bottom: 6px; }
.p-price-alt {
  font-size: 13px;
  font-weight: 600;
  color: #888;
  letter-spacing: 0;
  margin-left: 6px;
  white-space: nowrap;
}
.p-card.featured .p-period { font-size: 13px; color: #999; margin-bottom: 10px; }
.p-saving { font-size: 12px; color: #e5a500; font-weight: 700; margin-bottom: 4px; }
.p-old { font-size: 11px; color: #bbb; text-decoration: line-through; margin-bottom: 14px; }
.p-sep { border: none; border-top: 1px solid #e8eaed; margin: 18px 0; }
.p-card.featured .p-sep { border-color: #eee; margin: 22px 0; }

/* Tag "sans engagement" mis en valeur sur la featured */
.p-tag-sans-engage {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(28,83,254,.07);
  border: 1px solid rgba(28,83,254,.2);
  color: var(--blue);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: 22px;
}

.p-feats { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.p-feats li { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: #666; }
.p-card.featured .p-feats li { font-size: 14px; color: #444; }
.p-feats li.dim { opacity: .35; }
.pf-ok { width: 18px; height: 18px; border-radius: 50%; background: rgba(28,83,254,.1); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 8px; font-weight: 900; flex-shrink: 0; margin-top: 2px; }
.p-card.featured .pf-ok { width: 20px; height: 20px; background: rgba(28,83,254,.1); color: var(--blue); }
.pf-no { width: 18px; height: 18px; border-radius: 50%; background: #f0f0f0; color: #ccc; display: flex; align-items: center; justify-content: center; font-size: 9px; flex-shrink: 0; margin-top: 2px; }

/* Bouton pricing */
.btn-pricing {
  display: block; text-align: center;
  padding: 13px 18px; border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 700;
  cursor: pointer; text-decoration: none;
  letter-spacing: .03em;
  transition: opacity .15s, transform .15s;
  position: relative;
  background-clip: padding-box;
}
.btn-pricing:hover { transform: translateY(-1px); }

/* Gratuit : bordure dégradée */
.btn-pricing.free { background: transparent; color: #666; border: 2px solid transparent; }
.btn-pricing.free::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50px; padding: 2px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
}
.btn-pricing.free:hover { background: var(--grad); color: #fff; }

/* Pro : gradient arc-en-ciel */
.btn-pricing.pro {
  background: var(--grad);
  color: #fff; border: none;
  padding: 16px 22px;
  font-size: 14px;
  letter-spacing: .06em;
  box-shadow: 0 6px 24px rgba(0,0,0,.15);
}
.btn-pricing.pro:hover { opacity: .88; }

/* Annuel : fond or */
.btn-pricing.annual { background: #e5a500; color: #fff; border: none; }
.btn-pricing.annual:hover { opacity: .9; }


/* ─── TEMOIGNAGES ────────────────────────────────── */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.testi {
  border: 1px solid #e0e3e8;
  border-radius: 16px;
  padding: 24px;
  background: #fff;
  transition: box-shadow .2s, transform .2s;
}
.testi:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.testi-stars { font-size: 14px; letter-spacing: 2px; margin-bottom: 12px; color: #f59e0b; }
.testi-txt { font-size: 14px; color: #444; line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid #eee; }
.t-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Roboto', sans-serif; font-size: 15px; font-weight: 900;
  color: #fff; flex-shrink: 0;
}
.t-name { font-size: 13px; font-weight: 700; color: var(--text-dark); font-family: 'Roboto', sans-serif; }
.t-role { font-size: 12px; color: #aaa; }

/* ─── FAQ ────────────────────────────────────────── */
.faq-list { max-width: 780px; }
.faq-item { border-bottom: 1px solid #eee; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--text-dark);
  gap: 16px; list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-tog {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid #e0e0e0;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: #bbb; flex-shrink: 0;
  transition: all .2s; line-height: 1;
}
details[open] .faq-tog { background: var(--blue); border-color: var(--blue); color: #fff; }
.faq-a { padding: 0 0 18px; font-size: 14px; color: var(--text-muted); line-height: 1.75; max-width: 680px; }

/* ─── CTA FINAL (fond sombre) ────────────────────── */
.cta-final {
  background: var(--dark);
  padding: 100px 40px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(28,83,254,.15) 0%, transparent 65%);
  pointer-events: none;
}
.cta-final h2 {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(28px, 4vw, 48px); font-weight: 900; color: #fff;
  max-width: 680px; margin: 0 auto 16px; line-height: 1.12;
  position: relative; z-index: 2; letter-spacing: -.02em;
}
.cta-final p {
  font-size: 17px; color: var(--grey); max-width: 520px;
  margin: 0 auto 40px; line-height: 1.7; position: relative; z-index: 2;
}
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 2; margin-bottom: 28px; }
.trust-row { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; position: relative; z-index: 2; }
.trust-item { display: flex; align-items: center; gap: 7px; font-size: 13px; color: rgba(255,255,255,.45); }
.trust-item span { color: #7aabff; font-weight: 900; }

/* ─── FOOTER ─────────────────────────────────────── */
.footer {
  background: #0e0d14;
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: none;
  padding: 36px 40px;
  display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center;
}
.footer img { height: 42px; width: auto; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,.35); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: rgba(255,255,255,.7); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.18); }

/* ═══════════════════════════════════════════════════
   RESPONSIVE — refonte propre & lisible
   Breakpoints : 1024 (tablet large) · 768 (tablet) · 560 (mobile) · 380 (xs)
   ═══════════════════════════════════════════════════ */

/* ─── Tablette large (≤1024px) ───────────────────── */
@media (max-width: 1024px) {
  .wrap { padding: 0 24px; }
  .nav { padding: 0 24px; }
  .hero, .section, .cta-final { padding-left: 24px; padding-right: 24px; }

  /* Nav links plus serrés */
  .nav-links { gap: 20px; }

  /* Hero passe en 1 colonne, vidéo dessous */
  .hero { padding: 64px 24px 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-sub { max-width: 100%; }
  .mockup-wrap { padding-bottom: 0; max-width: 640px; margin: 0 auto; width: 100%; }
  .mockup-img, .hero-video { max-height: 460px; }

  /* Grilles principales : 2 colonnes */
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .sect-grid { grid-template-columns: repeat(3, 1fr); }
  .flip-card:last-child { grid-column: auto; width: 100%; margin: 0; }
  .stats-4 { grid-template-columns: repeat(4, 1fr); }
  .appz-benefits { grid-template-columns: repeat(3, 1fr); }
  .mod-grid { grid-template-columns: repeat(3, 1fr); }
  .mod-grid.pro-grid { grid-template-columns: repeat(4, 1fr); }

  /* Notre application : 1 col, média sur le côté */
  .appz-layout { grid-template-columns: 1fr; gap: 40px; }
  .appz-right { position: static; }
  .mod-layout { grid-template-columns: 1fr; gap: 32px; }
  .mod-media { position: static; aspect-ratio: 16 / 9; max-width: 520px; margin: 0 auto; width: 100%; }

  /* Pricing : grille 1 colonne centrée */
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; gap: 28px; padding-top: 28px; }
  .p-featured-wrap { margin: 0; }
  .p-card:first-child { border-radius: 24px; border-right: 1px solid #e0e3e8; }
  .p-card:last-child  { border-radius: 24px; border-left: 1px solid #e0e3e8; padding-top: 42px; }

  /* Section padding global */
  .section { padding: 72px 24px; }
  .cta-final { padding: 80px 24px; }
}

/* ─── Tablette (≤768px) ──────────────────────────── */
@media (max-width: 768px) {
  .wrap { padding: 0 20px; }
  .nav { padding: 0 20px; height: 64px; }
  .hero, .section, .cta-final { padding-left: 20px; padding-right: 20px; }
  .footer { padding: 32px 20px; }

  /* Topbar */
  .topbar { font-size: 12px; padding: 9px 16px; line-height: 1.5; }

  /* Nav : on cache les liens, on garde logo + login + CTA */
  .nav-inner { grid-template-columns: auto 1fr auto; }
  .nav-links { display: none; }
  .nav-logo img { height: 44px; }
  .nav-right { gap: 14px; }
  .nav-cta { font-size: 12px; padding: 10px 18px; letter-spacing: .02em; }

  /* Hero — typo serrée et lisible */
  .hero { padding: 48px 20px 56px; }
  .hero-eyebrow { font-size: 10px; padding: 4px 12px; margin-bottom: 16px; }
  .hero h1 { font-size: clamp(28px, 6vw, 40px); margin-bottom: 16px; }
  .hero-sub { font-size: 15px; margin-bottom: 22px; line-height: 1.6; }
  .hero-checks { gap: 9px; margin-bottom: 28px; }
  .hero-checks li { font-size: 13.5px; }
  .hero-btns { flex-direction: column; align-items: stretch; gap: 12px; width: 100%; }
  .hero-btns > a { width: 100%; text-align: center; box-sizing: border-box; padding: 14px 22px; }
  .hero-note { font-size: 11px; text-align: center; line-height: 1.6; }
  .mockup-img, .hero-video { max-height: 380px; }

  /* Sections */
  .section { padding: 56px 20px; }
  .cta-final { padding: 64px 20px; }
  .s-tag { font-size: 10px; padding: 4px 14px; margin-bottom: 14px; }
  .s-h2 { font-size: clamp(24px, 5vw, 32px); margin-bottom: 12px; }
  .s-sub { font-size: 14.5px; margin-bottom: 36px; }

  /* Features */
  .feat-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .feat-card { padding: 22px 18px; }
  .feat-ico { font-size: 24px; margin-bottom: 12px; }
  .feat-title { font-size: 15px; }
  .feat-desc { font-size: 13.5px; }

  /* Steps */
  .steps { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .step { padding: 24px 18px; }
  .step-n { font-size: 36px; margin-bottom: 10px; }
  .step-title { font-size: 15px; }
  .step-desc { font-size: 13px; }

  /* Secteurs : on désactive le flip 3D au profit d'une carte simple */
  .sect-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 32px; }
  .flip-card { height: auto; cursor: default; perspective: none; }
  .flip-card-inner { transition: none; transform: none !important; }
  .flip-card-front, .flip-card-back {
    position: static; inset: auto;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
  }
  .flip-card-front {
    border-radius: 16px;
    padding: 18px 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.12);
    min-height: 130px;
  }
  .flip-card-front img { width: 48px; height: 48px; margin-bottom: 8px; }
  .flip-card-front span { font-size: 12.5px; }
  .flip-card-back { display: none; }
  .flip-card:last-child { grid-column: auto; width: 100%; margin: 0; }

  /* Stats */
  .stats-block { padding: 22px 18px; }
  .stats-4 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat4-card { padding: 18px 12px; }
  .stat4-num { font-size: 28px; }
  .stat4-lbl { font-size: 11.5px; }

  /* Notre application — bénéfices */
  .appz-benefits { grid-template-columns: repeat(2, 1fr); gap: 4px; }
  .appz-benefits > div { padding: 18px 10px; }
  .appz-benefits img { width: 44px; height: 44px; margin-bottom: 12px; }
  .appz-benefits strong { font-size: 13px; margin-top: 10px; }
  .appz-benefits span { font-size: 12px; min-height: auto; }

  /* Modules */
  .mod-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .mod-grid.pro-grid { grid-template-columns: repeat(3, 1fr); }
  .mod-card { padding: 14px 8px; gap: 8px; border-radius: 12px; }
  .mod-card img { width: 44px; height: 44px; }
  .mod-name { font-size: 11px; line-height: 1.3; }
  .mod-section-lbl { font-size: 11px; margin-bottom: 12px; }

  /* Pricing */
  .p-card { padding: 28px 22px; }
  .p-card.featured { padding: 36px 24px 28px; }
  .p-price { font-size: 42px; }
  .p-card.featured .p-price { font-size: 54px; }
  .p-card.featured .p-cur { font-size: 24px; }
  .p-card.featured .p-cents { font-size: 32px; }
  .p-price-alt { display: block; margin-left: 0; margin-top: 4px; font-size: 12px; }
  .p-feats li { font-size: 13px; }
  .p-card.featured .p-feats li { font-size: 13.5px; }

  /* Testi */
  .testi-grid { grid-template-columns: 1fr; gap: 12px; }
  .testi { padding: 20px; }

  /* FAQ */
  .faq-q { font-size: 14px; padding: 18px 0; gap: 12px; }
  .faq-a { font-size: 13.5px; padding: 0 0 18px; }

  /* CTA final */
  .cta-final h2 { font-size: clamp(24px, 5.5vw, 36px); margin-bottom: 14px; }
  .cta-final p { font-size: 15px; margin-bottom: 32px; }
  .cta-btns { flex-direction: column; align-items: stretch; gap: 12px; max-width: 360px; margin: 0 auto 28px; }
  .cta-btns > a { width: 100%; text-align: center; padding: 14px 22px; box-sizing: border-box; }
  .trust-row { gap: 16px 20px; }
  .trust-item { font-size: 12.5px; }

  /* Footer */
  .footer img { height: 38px; }
  .footer-links { gap: 16px; justify-content: center; }
  .footer-links a { font-size: 12px; }
  .footer-copy { font-size: 11.5px; }
}

/* ─── Mobile (≤560px) ────────────────────────────── */
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .nav { padding: 0 16px; height: 60px; }
  .hero, .section, .cta-final { padding-left: 16px; padding-right: 16px; }
  .footer { padding: 26px 16px; }

  /* Nav compacte */
  .nav-logo img { height: 38px; }
  .nav-login { display: none; }
  .nav-right { gap: 0; }
  .nav-cta { font-size: 11.5px; padding: 9px 16px; letter-spacing: 0; }
  .nav-cta-label-long { display: none; }
  .nav-cta-label-short { display: inline; }
  .topbar { font-size: 11px; padding: 8px 14px; }

  /* Hero */
  .hero { padding: 36px 16px 44px; }
  .hero h1 { font-size: clamp(26px, 8vw, 34px); line-height: 1.15; }
  .hero-sub { font-size: 14px; margin-bottom: 20px; }
  .hero-checks li { font-size: 13px; gap: 9px; }
  .check-ico { width: 16px; height: 16px; font-size: 8px; }
  .mockup-img, .hero-video { max-height: 320px; border-radius: 14px; }
  .hero-video-btn { font-size: 11px; padding: 7px 13px; bottom: 12px; right: 12px; }

  /* Sections */
  .section { padding: 44px 16px; }
  .cta-final { padding: 52px 16px; }
  .s-tag { font-size: 10px; }
  .s-h2 { font-size: clamp(22px, 6.5vw, 28px); margin-bottom: 10px; }
  .s-sub { font-size: 14px; margin-bottom: 28px; line-height: 1.6; }

  /* Features : 1 colonne */
  .feat-grid { grid-template-columns: 1fr; gap: 12px; }
  .feat-card { padding: 20px 18px; }

  /* Steps : 1 colonne */
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step { padding: 20px 18px; border-radius: 14px; }
  .step-n { font-size: 32px; margin-bottom: 8px; }

  /* Secteurs */
  .sect-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .flip-card-front { padding: 16px 12px; min-height: 120px; }
  .flip-card-front img { width: 42px; height: 42px; margin-bottom: 6px; }
  .flip-card-front span { font-size: 12px; }

  /* Stats */
  .stats-block { padding: 20px 14px; border-radius: 14px; }
  .stats-4 { gap: 8px; }
  .stat4-card { padding: 16px 8px; border-radius: 12px; }
  .stat4-num { font-size: 24px; }
  .stat4-lbl { font-size: 11px; line-height: 1.3; }

  /* Notre application */
  .appz-benefits > div { padding: 14px 8px; }
  .appz-benefits img { width: 40px; height: 40px; margin-bottom: 10px; }
  .appz-benefits strong { font-size: 12.5px; margin-top: 8px; }
  .appz-benefits span { font-size: 11.5px; }
  /* Désactive l'animation hover sur tactile */
  .appz-benefits > div::after { display: none; }
  .appz-benefits > div:hover img,
  .appz-benefits > div:hover > div { transform: none; }

  /* Modules */
  .mod-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .mod-grid.pro-grid { grid-template-columns: repeat(2, 1fr); }
  .mod-card { padding: 14px 8px; }
  .mod-card img { width: 42px; height: 42px; }
  .mod-name { font-size: 11px; }

  /* Pricing */
  .pricing-grid { max-width: 100%; gap: 22px; }
  .p-card { padding: 26px 20px; }
  .p-card.featured { padding: 34px 22px 26px; }
  .p-name { font-size: 9.5px; letter-spacing: .14em; }
  .p-price { font-size: 36px; }
  .p-card.featured .p-price { font-size: 46px; }
  .p-card.featured .p-cur { font-size: 22px; }
  .p-card.featured .p-cents { font-size: 28px; }
  .p-period { font-size: 12px; }
  .p-tag-sans-engage { font-size: 10.5px; padding: 4px 12px; margin-bottom: 18px; }
  .p-feats { gap: 9px; }
  .p-feats li { font-size: 13px; }
  .p-card.featured .p-feats li { font-size: 13px; }
  .pf-ok, .pf-no { width: 16px; height: 16px; font-size: 8px; }
  .btn-pricing { font-size: 12.5px; padding: 13px 18px; }
  .btn-pricing.pro { font-size: 13px; padding: 15px 20px; }
  .p-badge { font-size: 9.5px; padding: 4px 16px; top: -14px; }

  /* FAQ */
  .faq-q { font-size: 13.5px; padding: 16px 0; }
  .faq-tog { width: 24px; height: 24px; font-size: 14px; }
  .faq-a { font-size: 13px; line-height: 1.7; padding: 0 0 16px; }

  /* CTA final */
  .cta-final h2 { font-size: clamp(22px, 7vw, 30px); }
  .cta-final p { font-size: 14px; margin-bottom: 28px; }
  .cta-final::before { width: 100%; height: 300px; }
  .trust-row { flex-direction: column; gap: 8px; }
  .trust-item { font-size: 12px; }

  /* Footer */
  .footer { gap: 14px; }
  .footer img { height: 34px; }
  .footer-links { gap: 10px 14px; }
  .footer-links a { font-size: 11.5px; }
  .footer-copy { font-size: 11px; }
}

/* ─── Très petit écran (≤380px) ──────────────────── */
@media (max-width: 380px) {
  .wrap { padding: 0 14px; }
  .nav { padding: 0 14px; }
  .hero, .section, .cta-final { padding-left: 14px; padding-right: 14px; }

  .nav-logo img { height: 34px; }
  .nav-cta { font-size: 11px; padding: 8px 12px; }

  .hero h1 { font-size: 24px; }
  .hero-sub { font-size: 13px; }

  .s-h2 { font-size: 22px; }
  .s-sub { font-size: 13px; }

  .sect-grid { gap: 8px; }
  .flip-card-front { padding: 14px 10px; min-height: 110px; }
  .flip-card-front img { width: 36px; height: 36px; }
  .flip-card-front span { font-size: 11.5px; }

  .stat4-num { font-size: 22px; }
  .stat4-lbl { font-size: 10.5px; }

  .p-card.featured .p-price { font-size: 40px; }
  .p-card.featured .p-cents { font-size: 24px; }
  .p-card.featured .p-cur { font-size: 20px; }
}
