/* ============================================================
   AIPilot — landing page
   Squelette repris de cliPet. Le fond sombre d'origine est conservé ;
   ce qui change, c'est la palette posée dessus (carotte + platine/charbon)
   et le verre (backdrop-filter) sur tout ce qui flotte.
   Aucune typo pixel — la page est en système/SF Pro de bout en bout.
   ============================================================ */

:root {
  /* Fonds — le noir d'origine, inchangé */
  --bg:          #0a0a0a;
  --bg-soft:     #0d0d0d;

  /* Surfaces de verre : du charbon translucide, jamais une couleur opaque.
     C'est le charcoal-brown de la palette, posé en voile sur le fond noir. */
  --card:        rgba(65, 63, 61, 0.42);
  --card-hover:  rgba(65, 63, 61, 0.62);
  --border:      rgba(240, 240, 240, 0.10);
  --border-soft: rgba(240, 240, 240, 0.06);
  --glass-blur:  blur(18px) saturate(150%);

  /* Texte — platine et alabâtre, jamais de blanc pur */
  --text:        #f0f0f0;   /* platinum */
  --text-muted:  rgba(220, 219, 220, 0.64);   /* alabaster grey 2 */
  --text-faint:  rgba(233, 233, 233, 0.42);   /* alabaster grey */

  /* Accent — carotte */
  --accent:      #f89401;
  --accent-2:    #d97a00;   /* même teinte, assombrie : pour les dégradés */
  --accent-soft: rgba(248, 148, 1, 0.13);

  --success:     #8db878;

  --btn-bg:      #f89401;
  --btn-fg:      #ffffff;
  --ghost-border:rgba(240, 240, 240, 0.16);

  --radius:      14px;
  --radius-lg:   22px;
  --shadow:      0 24px 70px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 80px rgba(248, 148, 1, 0.16);

  --maxw:        1080px;
  --gap:         22px;

  --sans:  -apple-system, system-ui, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

/* ---------- Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  background-image: radial-gradient(rgba(240, 240, 240, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-font-smoothing: antialiased;
  /* position:relative -> les décors absolus (.page-light, .hero::before) sont
     rognés par overflow-x:hidden et ne créent plus de scroll horizontal fantôme */
  position: relative;
  overflow-x: hidden;
  /* Curseur : la silhouette du pointeur macOS (celle de Claude), remplie en
     carotte, liseré blanc + ombre portée pour rester lisible sur le fond noir
     comme sur les panneaux de verre. Le hotspot reste sur la pointe. */
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cfilter id='s' x='-40%25' y='-40%25' width='200%25' height='200%25'%3E%3CfeDropShadow dx='0' dy='1' stdDeviation='1.1' flood-color='%23000' flood-opacity='0.45'/%3E%3C/filter%3E%3Cpath d='M5 3.4 5 22.2 10 17.6 13.2 24.3 16.4 22.8 13.3 16.4 20.4 16Z' fill='%23f89401' stroke='%23ffffff' stroke-width='1.6' stroke-linejoin='round' filter='url(%23s)'/%3E%3C/svg%3E") 5 4, auto;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2 {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0;
}
h1 { font-size: clamp(40px, 6.4vw, 74px); line-height: 1.04; }
h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.12; }
h3 { font-family: var(--sans); font-size: 19px; font-weight: 650; margin: 0; }
p  { margin: 0; color: var(--text-muted); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.accent { color: var(--accent); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.nav.scrolled {
  background: rgba(20, 19, 19, 0.6);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom-color: var(--border);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  letter-spacing: 0.06em;
}
.logo-mark {
  width: 24px; height: 24px; flex: none;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  position: relative;
  box-shadow: 0 4px 14px rgba(248, 148, 1, 0.35);
}
.logo-mark::after {
  content: "";
  position: absolute; inset: 7px;
  border-radius: 50%;
  background: var(--bg);
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-muted); font-size: 15px; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
/* Sélecteur de langue (menu déroulant, largeur fixe -> pas de décalage) */
.lang { position: relative; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 6px 9px;
  cursor: inherit;
  transition: color .15s, background .15s;
}
.lang-btn:hover { color: var(--text); background: rgba(240, 240, 240, 0.08); }
.lang-btn .globe { font-size: 12px; filter: grayscale(1) opacity(0.8); }
.lang-btn #langCur { min-width: 1.6em; text-align: center; }
.lang-btn .chev { font-size: 10px; transition: transform .2s; }
.lang.open .lang-btn .chev { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  list-style: none;
  margin: 0;
  padding: 6px;
  background: rgba(18, 18, 20, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 60;
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu li {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text-muted);
  padding: 9px 12px;
  border-radius: 8px;
  cursor: inherit;
  transition: background .12s, color .12s;
}
.lang-menu li:hover { background: rgba(240, 240, 240, 0.08); color: var(--text); }
.lang-menu li[aria-selected="true"] {
  color: var(--accent);
  background: var(--accent-soft);
}

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--btn-fg);
  box-shadow: 0 8px 22px rgba(248, 148, 1, 0.28);
}
.btn-primary:hover { box-shadow: 0 14px 34px rgba(248, 148, 1, 0.38); }
/* Bouton de verre : c'est le fond qui transparaît, pas une couleur posée */
.btn-ghost {
  background: rgba(65, 63, 61, 0.45);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: var(--text);
  border-color: var(--ghost-border);
}
.btn-ghost:hover { background: rgba(65, 63, 61, 0.72); }
.btn-sm { padding: 9px 18px; font-size: 14px; border-radius: 9px; }
/* Bouton nav intégré (sombre, discret) */
.btn-nav {
  background: rgba(65, 63, 61, 0.5);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
.btn-nav:hover { background: rgba(65, 63, 61, 0.78); }
.btn .apple { font-size: 16px; line-height: 1; }

/* ============================================================
   HERO
   ============================================================ */
/* Rayons de lumière depuis le haut (god rays) — plein écran, derrière le contenu */
.page-light {
  position: absolute;          /* ancrée en haut -> s'efface quand on scroll */
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 170%;
  height: 1050px;              /* concentré sur le hero, défile hors écran */
  pointer-events: none;
  z-index: -1;
  background:
    repeating-conic-gradient(from 0deg at 50% -10%,
      rgba(255, 255, 255, 0.11) 0deg 2.6deg,
      transparent 2.6deg 9deg);
  -webkit-mask-image: radial-gradient(72% 85% at 50% -3%, #000 0%, rgba(0,0,0,0.55) 48%, transparent 85%);
  mask-image: radial-gradient(72% 85% at 50% -3%, #000 0%, rgba(0,0,0,0.55) 48%, transparent 85%);
  filter: blur(5px);
  opacity: 1;
}
.page-light::after {                 /* halo lumineux au point d'origine */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(46% 40% at 50% -3%, rgba(255, 255, 255, 0.22), transparent 68%),
    radial-gradient(70% 55% at 50% 0%, rgba(248, 148, 1, 0.10), transparent 70%);
}

/* Fond interactif : les points s'allument autour du curseur */
.dot-spotlight {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(248, 148, 1, 0.6) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(circle 170px at var(--mx, -500px) var(--my, -500px), #000 0%, transparent 72%);
  mask-image: radial-gradient(circle 170px at var(--mx, -500px) var(--my, -500px), #000 0%, transparent 72%);
  opacity: 0.7;
  transition: opacity 0.4s ease;
}
.cursor-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle 260px at var(--mx, -500px) var(--my, -500px), rgba(248, 148, 1, 0.13), transparent 70%);
}

.hero { position: relative; padding: 86px 0 40px; text-align: center; }
.hero > .wrap { position: relative; z-index: 1; }
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -20% 30%;
  background: radial-gradient(ellipse at 50% 30%, rgba(248, 148, 1, 0.14), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
/* Mot dynamique du titre (façon Vibe Island) */
.dyn {
  color: var(--accent);
  display: inline-block;
  transition: opacity .3s ease, transform .3s ease, filter .3s ease;
  text-shadow: 0 6px 26px rgba(248, 148, 1, 0.35);
}
.dyn.swap { opacity: 0; transform: translateY(-0.22em); filter: blur(5px); }

.hero .lead {
  font-size: clamp(18px, 2.4vw, 21px);
  color: var(--text-muted);
  max-width: 600px;
  margin: 22px auto 0;
}
.hero .lead strong { color: var(--text); font-weight: 600; }
.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 34px;
  flex-wrap: wrap;
}

/* — Playground interactif (le chat suit la souris) — */
.stage {
  position: relative;
  /* Écran modéré, proportions 16:10 d'un vrai écran */
  margin: 56px auto 0;
  width: 100%;
  max-width: 1000px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow), var(--shadow-glow);
}
.stage-bar {
  height: 30px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  background: rgba(65, 63, 61, 0.55);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border);
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.01em;
  color: var(--text-faint);
}
.stage-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.stage-bar .dot.r { background: #ff5f57; }
.stage-bar .dot.y { background: #febc2e; }
.stage-bar .dot.g { background: #28c840; }
.stage-bar .title { margin-left: 10px; }
.stage-bar .clock { margin-left: auto; }
/* — Écran Mac simulé à l'intérieur de la fenêtre — */
.mac-screen {
  position: relative;
  overflow: hidden;
}
/* Le ratio suit la capture elle-même : aucun recadrage, aucune bande noire. */
.mac-screen { aspect-ratio: 3024 / 1964; }
.app-shot {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}


/* ============================================================
   NAVIGATEUR DE PRÉSENTATION — maquette AIPilot
   Remplace le panneau presse-papier de cliPet : une fausse fenêtre
   Blender, l'annotation néon dessinée dessus, et le panneau de chat
   en verre. Tout en DOM/CSS pour rester remplaçable facilement.
   ============================================================ */

/* — Panneau de chat AIPilot (miroir du Liquid Glass de l'app) — */
.pilot-panel {
  position: absolute;
  z-index: 4;
  right: 3.5%; bottom: 4.5%;
  /* En % de la scène : le panneau garde la même part d'écran à toutes les
     tailles, comme la vraie fenêtre posée sur un Mac. */
  width: 42%;
  max-width: 430px;
  min-width: 260px;
  border-radius: 16px;
  background: rgba(65, 63, 61, 0.62);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  border: 1px solid rgba(240, 240, 240, 0.22);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  color: var(--text);
  font-family: var(--sans);
  text-align: left;
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px) scale(.97);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2, .9, .3, 1.1);
}
.pilot-panel.show { opacity: 1; transform: none; }
.pp-head {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(240, 240, 240, 0.14);
}
.pp-mark {
  width: 14px; height: 14px; border-radius: 5px; flex: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.pp-title { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.pilot-panel .grow { flex: 1; }
.pp-badge {
  font-size: 9px; letter-spacing: .4px;
  padding: 2px 7px; border-radius: 20px;
  color: var(--accent);
  border: 1px solid rgba(248, 148, 1, 0.45);
  background: rgba(248, 148, 1, 0.14);
}
.pp-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 9px; }
.pp-msg {
  font-size: 13px; line-height: 1.45;
  padding: 9px 11px; border-radius: 12px;
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
}
.pp-msg.in { opacity: 1; transform: none; }
.pp-msg.user {
  align-self: flex-end; max-width: 88%;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.pp-msg.bot {
  align-self: flex-start; max-width: 96%;
  background: rgba(240, 240, 240, 0.1);
  border: 1px solid rgba(240, 240, 240, 0.14);
}
.pp-msg.bot b { color: var(--accent); font-weight: 650; }
/* La réponte reste masquée pendant les trois points, puis prend leur place. */
.pp-answer { display: none; }
.pp-msg.bot.answered .pp-answer { display: block; }
.pp-msg.bot.answered .pp-typing { display: none; }
/* La capture annotée : c'est le livrable de l'app, elle passe avant le texte. */
.pp-anno-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 9px;
  border: 1px solid rgba(248, 148, 1, 0.4);
  margin-bottom: 9px;
}
.pp-text { display: block; }
.pp-typing { display: inline-flex; gap: 4px; align-items: center; height: 12px; }
.pp-typing i {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(240, 240, 240, 0.6);
  animation: ppDot 1.1s ease-in-out infinite;
}
.pp-typing i:nth-child(2) { animation-delay: .15s; }
.pp-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ppDot { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }

/* La vignette « fenêtre capturée » */
.pp-shot {
  align-self: center;
  display: flex; align-items: center; gap: 6px;
  padding: 3px 10px 3px 8px;
  border-radius: 20px;
  font-size: 10.5px; font-weight: 600;
  color: var(--accent);
  border: 1px solid rgba(248, 148, 1, 0.4);
  background: rgba(248, 148, 1, 0.12);
  opacity: 0; transform: scale(.94);
  transition: opacity .35s ease, transform .35s ease;
}
/* La pastille de capture porte sa propre coche : pas d'icône à charger. */
.pp-shot::before {
  content: "";
  width: 5px; height: 9px; flex: none;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(42deg) translateY(-1px);
}
.pp-shot.in { opacity: 1; transform: none; }
.pp-input {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid rgba(240, 240, 240, 0.14);
  font-size: 12px; color: var(--text-faint);
}
.pp-input .pp-ph { flex: 1; }
.pp-send {
  width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  position: relative;
}
.pp-send::after {
  content: ""; position: absolute; left: 6px; top: 5px;
  width: 5px; height: 5px;
  border-top: 1.6px solid #fff; border-right: 1.6px solid #fff;
  transform: rotate(-45deg);
}

/* — Icônes des features (SVG en masque : une seule règle, neuf glyphes) — */
.fi {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
.fi-target { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 1v3M12 20v3M1 12h3M20 12h3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 1v3M12 20v3M1 12h3M20 12h3'/%3E%3C/svg%3E"); }
.fi-capture { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='4' width='19' height='13' rx='2'/%3E%3Cpath d='M8 21h8M12 17v4'/%3E%3Cpath d='M7 13l3-3 2.5 2.5L16 9l1.5 1.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='4' width='19' height='13' rx='2'/%3E%3Cpath d='M8 21h8M12 17v4'/%3E%3Cpath d='M7 13l3-3 2.5 2.5L16 9l1.5 1.5'/%3E%3C/svg%3E"); }
.fi-bolt { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 4 14h6l-1 8 9-12h-6z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 4 14h6l-1 8 9-12h-6z'/%3E%3C/svg%3E"); }
.fi-brain { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 3.5A3 3 0 0 0 6.6 7 3 3 0 0 0 5 12.6 3 3 0 0 0 7.6 18 3 3 0 0 0 12 20V4a2.5 2.5 0 0 0-2.5-.5z'/%3E%3Cpath d='M14.5 3.5A3 3 0 0 1 17.4 7 3 3 0 0 1 19 12.6 3 3 0 0 1 16.4 18 3 3 0 0 1 12 20'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 3.5A3 3 0 0 0 6.6 7 3 3 0 0 0 5 12.6 3 3 0 0 0 7.6 18 3 3 0 0 0 12 20V4a2.5 2.5 0 0 0-2.5-.5z'/%3E%3Cpath d='M14.5 3.5A3 3 0 0 1 17.4 7 3 3 0 0 1 19 12.6 3 3 0 0 1 16.4 18 3 3 0 0 1 12 20'/%3E%3C/svg%3E"); }
.fi-key { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5.5' width='19' height='13' rx='2.5'/%3E%3Cpath d='M6.5 9.5h.01M10 9.5h.01M13.5 9.5h.01M17 9.5h.01M6.5 14.5h11'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5.5' width='19' height='13' rx='2.5'/%3E%3Cpath d='M6.5 9.5h.01M10 9.5h.01M13.5 9.5h.01M17 9.5h.01M6.5 14.5h11'/%3E%3C/svg%3E"); }
.fi-glass { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='13' rx='3'/%3E%3Cpath d='M6.5 8.5h6M6.5 12h9'/%3E%3Cpath d='M3 20h18'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='13' rx='3'/%3E%3Cpath d='M6.5 8.5h6M6.5 12h9'/%3E%3Cpath d='M3 20h18'/%3E%3C/svg%3E"); }
.fi-globe { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.6 2.5 15.4 0 18-2.5-2.6-2.5-15.4 0-18z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.6 2.5 15.4 0 18-2.5-2.6-2.5-15.4 0-18z'/%3E%3C/svg%3E"); }
.fi-chip { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6.5' y='6.5' width='11' height='11' rx='2'/%3E%3Cpath d='M10 3v3.5M14 3v3.5M10 17.5V21M14 17.5V21M3 10h3.5M3 14h3.5M17.5 10H21M17.5 14H21'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6.5' y='6.5' width='11' height='11' rx='2'/%3E%3Cpath d='M10 3v3.5M14 3v3.5M10 17.5V21M14 17.5V21M3 10h3.5M3 14h3.5M17.5 10H21M17.5 14H21'/%3E%3C/svg%3E"); }
.fi-lock { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.5' y='10' width='15' height='10.5' rx='2.5'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.5' y='10' width='15' height='10.5' rx='2.5'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
.stage-hint {
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--text-faint);
  margin-top: 18px;
}
.stage-hint .accent { color: var(--accent); }

/* Bandeau “compatible avec” */
.compat {
  margin-top: 44px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  color: var(--text-faint);
  text-transform: uppercase;
}

/* ============================================================
   SECTIONS génériques
   ============================================================ */
section.block { padding: 96px 0; }
.section-head { max-width: 620px; margin: 0 auto 54px; }
.section-head p { margin-top: 14px; }
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ============================================================
   GRILLE DE FEATURES
   ============================================================ */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.feature {
  background: var(--card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: background .2s ease, transform .2s ease, border-color .2s, box-shadow .2s;
}
.feature:hover {
  background: var(--card-hover);
  transform: translateY(-3px);
  border-color: rgba(248, 148, 1, 0.35);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
}
.feature .ico {
  width: 40px; height: 40px;
  margin: 0 auto 18px;
  display: grid; place-items: center;
}
.feature .ico .fi { width: 34px; height: 34px; display: block; }
.feature h3 { margin-bottom: 9px; }
.feature p { font-size: 15px; line-height: 1.55; }

/* ============================================================
   AVIS — carrousel
   Une carte à la fois, la piste glisse en translateX. Le viewport
   déborde volontairement (les cartes voisines dépassent, atténuées) :
   c'est ce qui fait comprendre qu'il y en a d'autres sans flèche clignotante.
   ============================================================ */
.carousel {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 52px;
}
.car-viewport { overflow: hidden; border-radius: var(--radius-lg); }
.car-track {
  display: flex;
  list-style: none;
  margin: 0; padding: 0;
  transition: transform .55s cubic-bezier(.3, .9, .3, 1);
}
.review {
  flex: 0 0 100%;
  padding: 38px 40px 32px;
  text-align: center;
  background: var(--card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
  opacity: .35;
  transition: opacity .45s ease;
}
.review.current { opacity: 1; }
.stars { color: var(--accent); font-size: 15px; letter-spacing: 3px; }
.review .quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 2.4vw, 25px);
  line-height: 1.4;
  color: var(--text);
  margin: 16px auto 26px;
  max-width: 34ch;
}
.who { display: flex; align-items: center; justify-content: center; gap: 12px; }
.who .av {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 15px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.who .col { display: flex; flex-direction: column; text-align: left; line-height: 1.3; }
.who b { font-size: 15px; font-weight: 650; }
.who .col span { font-size: 13px; color: var(--text-faint); }

/* Flèches : deux chevrons CSS, pas d'icône à charger */
.car-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  cursor: inherit;
  transition: background .18s ease, border-color .18s ease;
}
.car-nav:hover { background: var(--card-hover); border-color: rgba(248, 148, 1, 0.45); }
.car-nav::before {
  content: "";
  position: absolute; top: 50%; left: 50%;
  width: 9px; height: 9px;
  border-top: 2px solid var(--text);
  border-right: 2px solid var(--text);
}
.car-nav.prev { left: 0; }
.car-nav.next { right: 0; }
.car-nav.prev::before { transform: translate(-35%, -50%) rotate(-135deg); }
.car-nav.next::before { transform: translate(-65%, -50%) rotate(45deg); }

.car-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.car-dots button {
  width: 7px; height: 7px; padding: 0;
  border: none; border-radius: 50%;
  background: rgba(240, 240, 240, 0.22);
  cursor: inherit;
  transition: background .2s ease, width .2s ease;
}
.car-dots button[aria-selected="true"] { background: var(--accent); width: 20px; border-radius: 4px; }

/* ============================================================
   PRICING
   ============================================================ */
.price-card {
  max-width: 440px;
  margin: 0 auto;
  background: rgba(65, 63, 61, 0.45);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 38px;
  text-align: center;
  box-shadow: var(--shadow);
}
.price {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 58px;
  line-height: 1;
  margin: 6px 0 2px;
}
.price .per { font-size: 20px; font-weight: 500; letter-spacing: 0; color: var(--text-faint); }
.price .old {
  font-size: 26px;
  color: var(--text-faint);
  text-decoration: line-through;
  margin-left: 12px;
}
.price-sub { font-size: 14px; color: var(--text-faint); margin-bottom: 26px; }
.checks { list-style: none; margin: 0 0 28px; padding: 0; text-align: left; }
.checks li {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 8px 0; font-size: 15px; color: var(--text);
}
.checks li::before {
  content: "✓"; color: var(--success); font-weight: 700; flex: none;
}
.price-card .btn-primary { width: 100%; justify-content: center; }
.buy-label { font-size: 13px; color: var(--text-faint); margin: 16px 0 10px; }
.buy-row { display: flex; gap: 10px; }
.buy-row .btn { flex: 1; justify-content: center; }
.price-note { font-size: 13px; color: var(--text-faint); margin-top: 16px; }
.price-note a { color: var(--text-muted); text-decoration: underline; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 720px; margin: 0 auto; }
.qa {
  background: rgba(65, 63, 61, 0.34);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  padding: 0 20px;
  transition: background .2s ease;
}
.qa[open] { background: rgba(65, 63, 61, 0.55); }
.qa summary { list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::marker { content: ""; }
.qa button {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 550;
  text-align: left;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: inherit;
}
.qa .plus { color: var(--accent); font-weight: 400; font-size: 22px; transition: transform .25s; flex: none; }
.qa[open] .plus { transform: rotate(45deg); }
.qa .answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}
.qa[open] .answer { max-height: 320px; padding-bottom: 22px; }
.qa .answer p { font-size: 15px; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.final {
  text-align: center;
  padding: 110px 0;
  position: relative;
}
.final::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(248, 148, 1, 0.16), transparent 65%);
  z-index: -1;
}
.final p { max-width: 480px; margin: 16px auto 32px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 40px;
}
.footer .grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer .brand { font-family: var(--serif); font-size: 30px; font-style: italic; }
.footer .brand + p { margin-top: 10px; font-size: 15px; }
.footer h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  margin: 0 0 16px;
}
.footer .col a { display: block; color: var(--text-muted); font-size: 15px; padding: 6px 0; transition: color .15s; }
.footer .col a:hover { color: var(--text); }
.footer .social { display: flex; gap: 14px; margin-top: 18px; }
.footer .social a { color: var(--text-faint); }
.footer .social a:hover { color: var(--text); }
.copyright {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  font-size: 13px;
  color: var(--text-faint);
}

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE  (mobile only — la version desktop reste intacte)
   ============================================================ */
@media (max-width: 860px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer .grid { grid-template-columns: 1fr 1fr; }
  .footer .brand-col { grid-column: 1 / -1; }
  section.block { padding: 72px 0; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }

  /* Nav : on masque les liens d'ancrage, on garde logo + langue + Download */
  .nav-links { gap: 12px; }
  .nav-links a:not(.btn) { display: none; }
  .nav .wrap { height: 58px; }

  /* Hero plus compact */
  .hero { padding: 56px 0 30px; }
  .hero .lead { margin-top: 18px; }
  .cta-row { flex-direction: column; align-items: stretch; margin-top: 28px; }
  .cta-row .btn { justify-content: center; }
  .stage { margin-top: 38px; }
  .compat { margin-top: 32px; font-size: 11px; }

  .stage-bar { padding: 0 10px; }
  .stage-bar .title { display: none; }

  /* Maquette : panneau plus étroit, outliner masqué pour respirer */
  .pilot-panel { width: 66%; right: 3%; bottom: 4%; }
  .pp-body { padding: 8px 9px; gap: 6px; }
  .pp-msg { font-size: 10px; }
  .pp-title { font-size: 11px; }
  .pp-anno-img { margin-bottom: 6px; }

  /* Sections */
  .features { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 40px; }
  section.block { padding: 60px 0; }

  /* Avis : les flèches mangeraient toute la largeur -> on ne garde que les points */
  .carousel { padding: 0; }
  .car-nav { display: none; }
  .review { padding: 30px 22px 26px; }

  /* Pricing */
  .price-card { padding: 32px 22px; }
  .price { font-size: 48px; }
  .buy-row { flex-direction: column; }

  /* FAQ + CTA final */
  .qa button { font-size: 16px; padding: 20px 0; }
  .final { padding: 80px 0; }

  /* Footer */
  .footer { padding: 52px 0 32px; }
  .footer .grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 380px) {
  .wrap { padding: 0 14px; }
  .logo { font-size: 15px; gap: 8px; }
  .logo canvas { width: 22px; height: 22px; }
  .btn-sm { padding: 8px 14px; font-size: 13px; }
  .price { font-size: 42px; }
  .price-card { padding: 28px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
