/* ============================================
   ALBA — Landing sections styles
   ============================================ */

/* Proof band — social proof counters */
.proof-band {
  background: var(--bg);
  color: var(--on-bg);
  padding: 56px 0 72px;
  border-top: 1px solid var(--line);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.proof-stat {
  padding: 0 12px;
  position: relative;
}
.proof-stat + .proof-stat::before {
  content: "";
  position: absolute;
  left: 0; top: 15%;
  height: 70%;
  width: 1px;
  background: var(--line);
}
.proof-val {
  font-family: var(--font-display);
  font-size: calc(clamp(38px, 4.4vw, 60px) * var(--echelle-titres));
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--accent);
}
.proof-label {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(var(--on-bg-rgb), 0.6);
}
@media (max-width: 820px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .proof-stat:nth-child(3)::before { display: none; }
}

/* Mid-page CTA band */
.cta-band {
  background: var(--surface-2);
  padding: 56px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: calc(clamp(26px, 3vw, 36px) * var(--echelle-titres));
  letter-spacing: -0.01em;
  color: var(--ink);
}
.cta-band-sub {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--muted-2);
}
.cta-band-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cta-band .btn-ghost { border-color: var(--line-dark); color: var(--ink); }

/* HERO */
.hero {
  position: relative;
  background: var(--bg);
  color: var(--on-bg);
  padding: 140px 0 100px;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  text-align: center;
  z-index: 2;
}
.hero h1 {
  margin: 24px auto 0;
  max-width: 880px;
  font-size: calc(clamp(48px, 7vw, 96px) * var(--echelle-titres));
}
.hero-sub {
  margin: 28px auto 0;
  max-width: 580px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(var(--on-bg-rgb), 0.8);
}
.hero-actions {
  margin-top: 36px;
  display: inline-flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
/* Le bouton « Tester en 1 clic » est enveloppé dans un <form> (il poste, il ne
   navigue pas — voir components.jsx). `display: contents` efface le formulaire
   de la mise en page : le <button> redevient enfant direct du conteneur en
   flex, donc `gap`, `flex-wrap` et la règle mobile `width: 100%` continuent de
   s'appliquer comme si de rien n'était.

   Le repli `.essai-express > .btn { width: 100% }` sur mobile n'est PAS
   redondant : si un navigateur ancien ignore `display: contents`, le formulaire
   redevient un bloc et le bouton doit quand même remplir la largeur. */
.essai-express { display: contents; }

/* Pendant l'ouverture de l'espace. Le bouton n'est PAS `disabled` — désactiver
   un bouton de soumission pendant que l'événement `submit` se propage annule la
   soumission dans plusieurs navigateurs. Le verrou est en JavaScript ; ceci ne
   fait que le montrer, et décourager le tap suivant. */
.est-en-ouverture {
  cursor: progress;
  opacity: 0.82;
}
.essai-rouet {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-top-color: transparent;
  animation: essai-tourne 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes essai-tourne { to { transform: rotate(360deg); } }
/* Un rouet qui tourne indéfiniment est une animation d'attente, pas un effet :
   on le fige plutôt que de le supprimer, sinon il ne reste rien pour dire que
   quelque chose se passe. */
@media (prefers-reduced-motion: reduce) {
  .essai-rouet { animation-duration: 0s; opacity: 0.6; }
}

/* Ce que promet l'essai, dit tout de suite : 7 jours puis suppression, aucune
   adresse demandée. Le taire ferait découvrir la limite au visiteur au pire
   moment — quand il a commencé à s'installer dedans. */
.hero-essai-note {
  margin: 14px auto 0;
  max-width: 460px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(var(--on-bg-rgb), 0.62);
}

/* Message de retour quand l'essai n'a pas pu s'ouvrir. Bandeau sous la barre de
   navigation, pas une fenêtre modale : le visiteur vient d'être renvoyé ici, il
   n'a pas besoin d'un obstacle de plus. */
.essai-message {
  position: relative;
  z-index: 60;
  max-width: 760px;
  margin: 96px auto 0;
  padding: 14px 44px 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  background: var(--bg-2);
  color: var(--on-bg);
}
.essai-message > svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.essai-message p { margin: 0; font-size: 14px; line-height: 1.5; }
.essai-message-lien {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.essai-message-fermer {
  position: absolute;
  top: 8px; right: 10px;
  width: 26px; height: 26px;
  border: 0;
  background: transparent;
  color: rgba(var(--on-bg-rgb), 0.55);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
}
.essai-message-fermer:hover { color: var(--on-bg); background: rgba(var(--on-bg-rgb), 0.07); }

@media (max-width: 720px) {
  .essai-message {
    margin: 88px 16px 0;
    flex-wrap: wrap;
    padding: 14px 40px 14px 16px;
  }
}

/* `.hero-meta` (« Premier projet offert · Sans engagement · Setup en 10 min »)
   a été retiré du hero : deux promesses différentes se suivaient sous les
   boutons. Ses règles partent avec lui, ici et dans styles.css, pour qu'elles
   ne traînent pas à attendre un élément qui ne reviendra pas. */

.hero-mockup-wrap {
  margin: 44px auto 0;
  max-width: 1080px;
  position: relative;
  perspective: 2000px;
}
.hero-mockup {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 60px 140px -40px rgba(0,0,0,0.7), 0 30px 60px -20px rgba(0,0,0,0.4);
  transform-style: preserve-3d;
  border: 1px solid rgba(255,255,255,0.06);
}
.hero-mockup .mockup { box-shadow: none; }

.hero-glow {
  position: absolute;
  width: 60%;
  height: 200px;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(201, 168, 106, 0.4), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

/* Logos band */
.logos {
  background: var(--bg);
  color: var(--on-bg);
  padding: 60px 0 80px;
  border-top: 1px solid var(--line);
  position: relative;
}
.logos-eyebrow {
  text-align: center;
  font-family: var(--font-display);
  font-size: calc(clamp(22px, 2.4vw, 30px) * var(--echelle-titres));
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(var(--on-bg-rgb), 0.9);
  margin-bottom: 40px;
}
/* Meme raison que pour .display em : l'italique de SF n'a pas le contraste de
   celui de Cormorant. L'emphase passe par la couleur et la graisse. */
.logos-eyebrow em {
  font-style: normal;
  font-weight: 400;
  color: var(--accent);
}
.logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.logo-cell {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 20px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.02em;
  color: rgba(var(--on-bg-rgb), 0.72);
  transition: color .3s, background .3s;
  text-align: center;
}
.logo-cell:hover {
  color: var(--on-bg);
  background: rgba(255,255,255,0.02);
}
.logo-cell .mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.logo-cell .italic { font-style: italic; }

@media (max-width: 900px) {
  .logos-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Section header (cream) */
.s-head { text-align: center; margin: 0 auto 60px; max-width: 720px; }
.s-head .eyebrow { justify-content: center; display: inline-flex; }
.s-head h2 {
  margin: 18px 0 16px;
  font-size: calc(clamp(36px, 4.6vw, 56px) * var(--echelle-titres));
  color: var(--ink);
}
.s-head p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted-2);
  margin: 0 auto;
  max-width: 560px;
}
.section-dark .s-head h2 { color: var(--on-bg); }
.section-dark .s-head p { color: rgba(var(--on-bg-rgb), 0.78); }

/* Pain points "Fini les..." */
.pains {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  overflow: hidden;
}
.pain {
  background: var(--surface);
  padding: 36px 32px;
  position: relative;
  transition: background .3s;
}
.pain:hover { background: #fff; }
.pain-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.pain-strike {
  margin: 16px 0 12px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--muted-2);
  text-decoration: line-through;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1.5px;
}
.pain-fix {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}
.pain-icon {
  position: absolute;
  top: 32px; right: 32px;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}

@media (max-width: 900px) {
  .pains { grid-template-columns: 1fr; }
}

/* Features (tabbed) */
.features {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 56px;
  align-items: start;
}
.features-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 1px solid var(--line-dark);
}
.f-tab {
  text-align: left;
  background: transparent;
  border: 0;
  padding: 18px 24px;
  margin-left: -1px;
  border-left: 1px solid transparent;
  cursor: pointer;
  display: block;
  width: 100%;
  transition: background .25s, border-color .25s;
}
.f-tab:hover { background: rgba(11, 18, 36, 0.02); }
.f-tab.is-active {
  background: var(--surface);
  border-left-color: var(--accent);
}
.f-tab-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 8px;
}
.f-tab.is-active .f-tab-eyebrow { color: var(--accent); }
.f-tab-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 8px 0 6px;
  color: var(--ink);
}
.f-tab-desc {
  font-size: 13px;
  color: var(--muted-2);
  line-height: 1.55;
  display: none;
}
.f-tab.is-active .f-tab-desc { display: block; }

.features-stage {
  position: sticky;
  top: 100px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  min-height: 420px;
}
.f-stage-pane { display: none; }
.f-stage-pane.is-active { display: block; animation: fade-up .5s ease both; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .features { grid-template-columns: 1fr; gap: 24px; }
  .features-stage { position: static; }
}

/* Sous 900 px, sections.jsx sert la capture réelle de l'application mobile au
   lieu de la maquette d'écran d'ordinateur, qui s'y retrouvait illisible.
   Le cadre de carte de .features-stage n'a alors plus lieu d'être — une carte
   qui contient un téléphone — et son fond blanc écrasait le crème de la
   section. On l'efface, et la capture porte elle-même son cadre d'appareil. */
@media (max-width: 900px) {
  .features-stage {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    min-height: 0;
  }
  .f-shot { display: flex; justify-content: center; padding: 4px 0; }
  .f-shot img {
    display: block;
    width: min(340px, 100%);
    height: auto;
    border-radius: 26px;
    /* Même vocabulaire que .phone-frame de la section « Partout où vous
       travaillez » : liseré sombre, angles arrondis, ombre portée basse. */
    border: 7px solid #1A2540;
    background: #0A0F1E;
    box-shadow: 0 34px 70px -28px rgba(11, 18, 36, 0.55);
  }
}

/* Visite guidée — sections produit */
.product-tour {
  display: flex;
  flex-direction: column;
  gap: 100px;
}
.tour-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.tour-row.reverse { grid-template-columns: 1.2fr 1fr; }
.tour-row.reverse .tour-text { order: 2; }
.tour-text h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: calc(clamp(30px, 3.4vw, 44px) * var(--echelle-titres));
  letter-spacing: -0.02em;
  margin: 16px 0 18px;
  line-height: 1.05;
}
.tour-text p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted-2);
  margin: 0 0 22px;
}
.tour-bullets { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.tour-bullets li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}
.tour-bullets li svg {
  flex-shrink: 0;
  margin-top: 2px;
  width: 18px; height: 18px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  padding: 3px;
}
.tour-stage {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}

@media (max-width: 980px) {
  .tour-row, .tour-row.reverse { grid-template-columns: 1fr; gap: 32px; }
  .tour-row.reverse .tour-text { order: 0; }
}

/* Comment ça marche — étapes */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.steps::before {
  content: "";
  position: absolute;
  top: 70px; left: 8%; right: 8%;
  height: 1px;
  background: var(--accent-line);
  z-index: 0;
}
.step {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.02);
}
.step:last-child { border-right: 0; }
.step-num {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
}
.step h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  color: var(--on-bg);
}
.step p { font-size: 13px; color: rgba(var(--on-bg-rgb),0.75); line-height: 1.55; margin: 0; }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .steps::before { display: none; }
}

/* Bénéfices détaillés (compare cards) */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.benefit {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  position: relative;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .25s;
}
.benefit:hover {
  transform: translateY(-4px);
  border-color: var(--accent-line);
}
.benefit-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--bg);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 22px;
}
.benefit h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.benefit p { font-size: 14px; line-height: 1.6; color: var(--muted-2); margin: 0 0 18px; }
.benefit-stat {
  display: flex; align-items: baseline; gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
}
.benefit-stat b {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.benefit-stat span { font-size: 12px; color: var(--muted); }

@media (max-width: 900px) {
  /* Bénéfices — carrousel horizontal à balayage */
  .benefits {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding: 4px 24px 18px;
    margin: 0 calc(-1 * var(--gutter));
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, black 24px, black calc(100% - 24px), transparent);
    mask-image: linear-gradient(90deg, transparent, black 24px, black calc(100% - 24px), transparent);
  }
  .benefits::-webkit-scrollbar { display: none; }
  .benefit {
    flex: 0 0 82%;
    max-width: 340px;
    scroll-snap-align: center;
  }
  .benefit:hover { transform: none; }
}

/* Témoignages */
.testimonials {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
}
.testi {
  padding: 32px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line-dark);
  display: flex; flex-direction: column;
}
.testi.featured {
  background: var(--bg);
  color: var(--on-bg);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.testi.featured::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(201, 168, 106, 0.15), transparent 60%),
    linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.02) 100%);
  pointer-events: none;
}
.testi-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 64px;
  line-height: 0.6;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 400;
}
.testi-quote {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
  color: inherit;
  position: relative;
}
.testi.featured .testi-quote { font-size: 26px; }
.testi-foot {
  display: flex; align-items: center; gap: 12px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  position: relative;
}
.testi.featured .testi-foot { border-top-color: rgba(255,255,255,0.08); }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-contrast);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  flex-shrink: 0;
}
.testi-name { font-size: 13px; font-weight: 500; }
.testi-role { font-size: 11px; color: var(--muted); font-family: var(--font-mono); letter-spacing: 0.04em; }
.testi.featured .testi-role { color: rgba(var(--on-bg-rgb),0.66); }

@media (max-width: 900px) {
  .testimonials { grid-template-columns: 1fr; }
}

/* Pricing */
/* Launch offer banner */
.pricing-offer {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 auto 24px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 500;
}
.po-badge {
  display: inline-grid;
  place-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-contrast);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Toggles row (mensuel/annuel + stockage) */
.pricing-toggles {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.pricing-toggles .pricing-toggle { margin: 0; }

/* Storage → projects equivalence */
.pricing-toggle .tg-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  opacity: 0.62;
  margin-top: 2px;
}
.pricing-go-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(var(--on-bg-rgb), 0.55);
  margin: 18px auto 40px;
  max-width: 520px;
  text-align: center;
  line-height: 1.6;
}

.pricing-toggle {
  display: inline-flex;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  margin: 0 auto 40px;
}
.pricing-toggle button {
  padding: 9px 20px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: rgba(var(--on-bg-rgb),0.78);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all .25s;
  display: inline-flex; align-items: center; gap: 8px;
}
.pricing-toggle button.is-active {
  background: var(--accent);
  color: var(--accent-contrast);
}
.pricing-toggle .badge {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  background: rgba(74, 222, 128, 0.18);
  color: #6EE7A1;
  padding: 2px 6px;
  border-radius: 4px;
}
.pricing-toggle button.is-active .badge { background: rgba(26, 20, 7, 0.15); color: var(--accent-contrast); }

.pricing-card {
  max-width: 540px;
  margin: 0 auto;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 40px;
  position: relative;
  text-align: center;
  overflow: hidden;
}
.pricing-card::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.pricing-tag {
  display: inline-flex;
  align-items: center; gap: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}
.pricing-name {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.01em;
  font-weight: 500;
  color: var(--on-bg);
  margin-bottom: 6px;
}
.pricing-desc { font-size: 14px; color: rgba(var(--on-bg-rgb),0.75); margin-bottom: 32px; }
.pricing-amt {
  display: flex; align-items: baseline; justify-content: center; gap: 8px;
  margin-bottom: 4px;
}
.pricing-amt .v {
  font-family: var(--font-display);
  font-size: 96px;
  font-weight: 400;
  letter-spacing: -0.04em;
  color: var(--on-bg);
  line-height: 1;
}
.pricing-amt .c {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--accent);
}
.pricing-amt .p {
  font-size: 13px;
  color: rgba(var(--on-bg-rgb),0.72);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.pricing-strike {
  font-size: 13px;
  color: rgba(var(--on-bg-rgb),0.75);
  text-decoration: line-through;
  font-family: var(--font-mono);
  margin-bottom: 28px;
}
.pricing-includes {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  text-align: left;
}
.pricing-includes li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px;
  color: rgba(var(--on-bg-rgb),0.92);
}
.pricing-includes li svg {
  flex-shrink: 0;
  width: 18px; height: 18px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  padding: 3px;
}
.pricing-cta {
  width: 100%;
  justify-content: center;
}
/* Message d'échec du tunnel de paiement. Sous le bouton, pas au-dessus : on ne
   déplace pas le bouton quand l'erreur apparaît, sinon le second clic tombe à
   côté. `role="alert"` le fait annoncer par les lecteurs d'écran. */
.pricing-erreur {
  margin-top: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(192, 57, 43, 0.28);
  border-radius: 10px;
  background: rgba(192, 57, 43, 0.06);
  font-size: 13px;
  line-height: 1.45;
  color: #C0392B;
  text-align: center;
}

/* Seconde porte : créer un compte sans payer. Volontairement discrète — ce
   n'est plus l'argument de la page — mais présente, parce qu'un visiteur qui ne
   veut pas payer aujourd'hui ne doit pas se heurter à un mur. */
.pricing-porte-2 {
  display: block;
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  color: rgba(var(--on-bg-rgb), 0.55);
  text-decoration: none;
  border-bottom: 0;
  transition: color .2s;
}
.pricing-porte-2:hover { color: var(--accent); }

.pricing-foot {
  margin-top: 18px;
  font-size: 11px;
  color: rgba(var(--on-bg-rgb),0.75);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

/* FAQ */
.faq {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.q {
  border-bottom: 1px solid var(--line-dark);
  padding: 22px 0;
  cursor: pointer;
  transition: padding .3s;
}
.q-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.q-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.q-toggle {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  display: grid; place-items: center;
  flex-shrink: 0;
  background: transparent;
  transition: background .25s, border-color .25s, transform .35s;
  color: var(--ink-2);
}
.q.open .q-toggle {
  background: var(--accent);
  color: var(--accent-contrast);
  border-color: var(--accent);
  transform: rotate(45deg);
}
.q-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s cubic-bezier(.4,0,.2,1);
}
.q.open .q-body { grid-template-rows: 1fr; }
.q-body > div {
  overflow: hidden;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted-2);
  padding-top: 0;
  transition: padding-top .25s;
  max-width: 640px;
}
.q.open .q-body > div { padding-top: 16px; }

/* Contact form */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}
.contact-side h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: calc(clamp(36px, 4.4vw, 52px) * var(--echelle-titres));
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 18px 0 18px;
}
.contact-side p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted-2);
  margin: 0 0 32px;
}
.contact-info {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 14px;
}
.contact-info li {
  display: flex; gap: 12px; align-items: center;
  font-size: 14px;
  color: var(--ink-2);
}
.contact-info li svg {
  width: 36px; height: 36px;
  padding: 9px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}

.form {
  background: var(--surface);
  border: 1px solid var(--line-dark);
  border-radius: 22px;
  padding: 36px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; position: relative; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field textarea,
.field select {
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--line-dark);
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field.error input,
.field.error textarea {
  border-color: #E04848;
  box-shadow: 0 0 0 3px rgba(224, 72, 72, 0.12);
}
.field-err {
  font-size: 11px;
  color: #E04848;
  font-family: var(--font-mono);
}
.form-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.form-note {
  font-size: 11px;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  max-width: 280px;
}
.form-success {
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.32);
  color: #2F7D52;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}

/* Symétrique de .form-success : mêmes dimensions et même grammaire visuelle,
   seule la teinte change. Ce bloc n'existait pas — le formulaire ne pouvant
   pas échouer, puisqu'il n'envoyait rien. */
.form-error {
  background: rgba(220, 38, 38, 0.07);
  border: 1px solid rgba(220, 38, 38, 0.28);
  color: #A3312B;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .contact { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
}

/* Final CTA */
.final-cta {
  background: var(--bg);
  color: var(--on-bg);
  text-align: center;
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.final-cta h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: calc(clamp(48px, 6vw, 88px) * var(--echelle-titres));
  letter-spacing: -0.03em;
  line-height: 1.02;
  max-width: 800px;
  margin: 0 auto 24px;
}
.final-cta p {
  font-size: 18px;
  color: rgba(var(--on-bg-rgb), 0.78);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.5;
}
.final-cta .actions { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.final-cta .accent-line {
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-line), transparent);
  opacity: 0.5;
  pointer-events: none;
}

/* Footer */
.foot {
  background: var(--bg);
  color: rgba(var(--on-bg-rgb),0.75);
  border-top: 1px solid var(--line);
  padding: 60px 0 40px;
}
.foot-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.foot-brand { color: var(--on-bg); font-family: var(--font-display); font-size: 24px; letter-spacing: 0.02em; margin-bottom: 12px; }
.foot-tag { font-size: 13px; line-height: 1.5; max-width: 280px; }
.foot-col h5 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(var(--on-bg-rgb),0.66);
  margin: 0 0 16px;
  font-weight: 500;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { font-size: 13px; color: rgba(var(--on-bg-rgb),0.82); transition: color .2s; }
.foot-col a:hover { color: var(--accent); }
.foot-bot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-family: var(--font-mono);
  color: rgba(var(--on-bg-rgb),0.75);
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .foot-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-bot { flex-direction: column; gap: 12px; text-align: center; }
}

/* Tweaks panel — small overrides */
.tw-section + .tw-section { margin-top: 14px; }


/* ============================================
   MOBILE — sections
   ============================================ */
@media (max-width: 720px) {
  /* Pricing */
  .pricing-amt .v { font-size: 64px; }
  .pricing-amt .c { font-size: 26px; }
  .pricing-card { padding: 28px 20px; }
  .pricing-includes { grid-template-columns: 1fr; gap: 10px; }
  .pricing-toggles { gap: 8px; }
  .pricing-toggle button { padding: 8px 14px; font-size: 12px; }
  .pricing-go-note { padding: 0 16px; font-size: 10px; }

  /* FAQ */
  .q-title { font-size: 18px; }
  .q { padding: 18px 0; }

  /* Contact form */
  .form { padding: 22px 18px; }
  .contact-side h2 { font-size: 30px; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-foot .btn { width: 100%; justify-content: center; }
  .form-note { max-width: none; text-align: center; }

  /* Tour */
  .tour-text h3 { font-size: 28px; }
  .tour-text p { font-size: 14.5px; }

  /* Steps */
  .step { padding: 26px 22px; }

  /* Benefits / testimonials */
  .benefit { padding: 24px 20px; }
  .testi { padding: 24px 20px; }
  .testi-quote { font-size: 19px; }
  .testi.featured .testi-quote { font-size: 21px; }

  /* Features tabs: stage first, tabs scrollable */
  .features { gap: 16px; }
  .features-tabs {
    flex-direction: row;
    overflow-x: auto;
    border-left: 0;
    border-bottom: 1px solid var(--line-dark);
    gap: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .features-tabs::-webkit-scrollbar { display: none; }
  .f-tab {
    flex: 0 0 auto;
    width: auto;
    max-width: 240px;
    border-left: 0;
    border-bottom: 2px solid transparent;
    padding: 12px 16px;
  }
  .f-tab.is-active { border-left-color: transparent; border-bottom-color: var(--accent); background: transparent; }
  .f-tab-desc { display: none !important; }
  .f-tab-title { font-size: 16px; margin: 6px 0 0; }
}


/* ============ TRUST BAND — sécurité & données ============ */
.trust-band {
  padding: 64px 0;
  background: var(--bg-2);
  color: var(--on-bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(var(--on-bg-rgb), 0.6);
  text-align: center;
  margin-bottom: 36px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-icon {
  width: 38px; height: 38px; flex: none;
  border-radius: 10px;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.trust-item h4 { font-size: 14.5px; font-weight: 600; margin: 0 0 5px; color: var(--on-bg); }
.trust-item p { font-size: 12.5px; line-height: 1.6; color: rgba(var(--on-bg-rgb), 0.68); margin: 0; }
@media (max-width: 980px) { .trust-grid { grid-template-columns: 1fr 1fr; gap: 22px; } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: 1fr; } .trust-band { padding: 44px 0; } }

/* ============ CONTACT — mode toggle (essai gratuit / démo) ============ */
.form-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.form-mode button {
  text-align: left;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.form-mode button:hover { border-color: var(--accent); }
.form-mode button.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-mode .fm-t { display: block; font-weight: 600; font-size: 13.5px; }
.form-mode .fm-s {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}
@media (max-width: 560px) { .form-mode { grid-template-columns: 1fr; } }


/* ============ PRICING — two-column layout ============ */
.pricing-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: start;
}
.pricing-config .display {
  margin: 14px 0 0;
  font-size: calc(clamp(36px, 4.6vw, 56px) * var(--echelle-titres));
  line-height: 1.05;
  color: var(--on-bg);
}
.pricing-intro {
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(var(--on-bg-rgb), 0.75);
  max-width: 48ch;
}
.pricing-config .pricing-offer { margin: 24px 0 8px; }
.p-config-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(var(--on-bg-rgb), 0.6);
  margin: 28px 0 12px;
}
.pricing-config .pricing-toggle { margin: 0; }
.p-tiers { display: flex; flex-direction: column; gap: 10px; }
.p-tier {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--on-bg);
  text-align: left;
  cursor: pointer;
  transition: border-color .25s, background .25s;
}
.p-tier:hover { border-color: var(--accent-line); }
.p-tier.is-active { border-color: var(--accent); background: var(--accent-soft); }
.p-tier-radio {
  width: 16px; height: 16px; flex: none;
  border-radius: 50%;
  border: 1.5px solid rgba(var(--on-bg-rgb), 0.4);
  position: relative;
  transition: border-color .25s;
}
.p-tier.is-active .p-tier-radio { border-color: var(--accent); }
.p-tier.is-active .p-tier-radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--accent);
}
.p-tier-main { flex: 1; display: flex; flex-direction: column; }
.p-tier-main b { font-size: 14.5px; font-weight: 600; }
.p-tier-main span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  color: rgba(var(--on-bg-rgb), 0.6);
  margin-top: 3px;
}
.p-tier-price { font-size: 16px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.p-tier-price i {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 400;
  color: rgba(var(--on-bg-rgb), 0.6);
  margin-left: 2px;
}
.pricing-config .pricing-go-note { text-align: left; margin: 16px 0 0; padding: 0; max-width: 52ch; }
.pricing-side .pricing-card { max-width: none; margin: 0; position: sticky; top: 96px; }
@media (max-width: 980px) {
  .pricing-layout { grid-template-columns: 1fr; gap: 44px; }
  .pricing-side .pricing-card { position: static; }
}

/* Team seats stepper */
.p-seats { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.p-seat-btn {
  width: 34px; height: 34px; flex: none;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
  color: var(--on-bg);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color .25s, background .25s;
}
.p-seat-btn:hover { border-color: var(--accent); background: var(--accent-soft); }
.p-seat-val {
  display: flex; align-items: baseline; gap: 8px;
  justify-content: center;
  min-width: 140px;
  padding: 0 4px;
}
.p-seat-val b { font-size: 18px; }
.p-seat-val span { font-size: 12px; color: rgba(var(--on-bg-rgb), 0.7); }
.p-seat-note {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(var(--on-bg-rgb), 0.6);
}
.pricing-seats-line {
  font-size: 12px;
  color: rgba(var(--on-bg-rgb), 0.7);
  text-align: center;
  margin: 0 0 24px;
}

/* Économie annuelle — remplace la ligne barrée */
.pricing-card .pricing-amt { margin-bottom: 18px; }
.pricing-save {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  text-align: left;
  width: fit-content;
  margin: 0 auto 24px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}
.pricing-save .ps-badge {
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  background: var(--accent);
  color: var(--accent-contrast);
  border-radius: 999px;
  padding: 4px 10px;
}
.pricing-save .ps-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--on-bg);
}
.pricing-save .ps-text i {
  display: block;
  font-style: normal;
  font-weight: 400;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(var(--on-bg-rgb), 0.65);
  margin-top: 3px;
}

/* En-tête du formulaire de démo (remplace le sélecteur 2 modes) */
.form-lead { margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line-dark); }
.form-lead .fl-t { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 500; }
.form-lead .fl-s { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.form-lead .fl-link { display: inline-block; margin-top: 12px; font-size: 12.5px; color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; }
.form-lead .fl-link:hover { border-bottom-color: var(--accent); }

/* ============================================
   Bandeau de consentement aux traceurs
   ============================================
   Il ne s'affiche que si un traceur publicitaire est déclaré dans config.js.
   Aujourd'hui il n'y en a aucun : ces règles ne servent encore rien, et c'est
   normal — elles attendent le pixel de la rentrée.

   Le point qui compte n'est pas esthétique. Les deux boutons doivent avoir
   EXACTEMENT le même poids : même classe, même taille, même couleur, côte à
   côte. Un « refuser » plus discret que l'« accepter » est un consentement
   extorqué, et c'est précisément ce que la CNIL sanctionne. Si vous retouchez
   ce bloc, ne donnez pas d'accent à l'un des deux.
   ============================================ */
.consentement {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 900;
  max-width: 720px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--bg);
  box-shadow: 0 24px 60px -20px rgba(11, 18, 36, 0.35);
}
.consentement-texte { flex: 1; }
.consentement-texte p {
  margin: 0 0 6px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--on-bg);
}
.consentement-texte a {
  font-size: 12.5px;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.consentement-choix {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
/* Même classe .btn-ghost pour les deux : aucun des deux n'est mis en avant. */
.consentement-choix .btn { padding: 11px 18px; font-size: 13px; }

@media (max-width: 720px) {
  .consentement {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
  }
  /* En colonne, les deux boutons gardent la même largeur : c'est là que la
     tentation de rétrécir « Tout refuser » est la plus forte. */
  .consentement-choix .btn { flex: 1; justify-content: center; }
}
