/* =========================================================
   FLOY — Feuille de style principale
   ========================================================= */

/* ---------- 1. Variables (tokens) ---------- */
:root {
  --teal:      #1b5e66;
  --teal-2:    #2E9AA6;
  --taupe:     #a89c88;
  --bg:        #000000;
  /* Boxes teintées taupe (~40% sur fond noir) + bordures taupe — 3e couleur */
  --card:      #433e36;  /* = taupe #a89c88 à ~40% sur noir (solide, pas de cumul si imbriqué) */
  --card-2:    #4f4a41;  /* surfaces internes (mockups), ~47% */
  --border:    rgba(168, 156, 136, 0.28);
  --border-2:  rgba(168, 156, 136, 0.45);
  --text:      #ffffff;
  --muted:     rgba(255, 255, 255, 0.62);
  --muted-2:   rgba(255, 255, 255, 0.42);

  --container: 1280px;
  --radius:    18px;
  --radius-sm: 12px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --section-pad: 72px;
}

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

body {
  font-family: "Figtree", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* ---------- 2 bis. Aucun débordement latéral ----------
   On NE met PAS overflow-x:hidden sur body : ça masque la cause et, sur iOS,
   ça transforme le body en conteneur de défilement (scroll vertical capricieux).
   À la place, chaque grande bande rogne ce qui dépasse d'elle-même.
   'clip' plutôt que 'hidden' : ne crée aucun conteneur de défilement,
   donc ne casse ni le scroll iOS ni position:sticky. Les navigateurs qui ne
   connaissent pas 'clip' l'ignorent : la cause est corrigée en amont (voir main.js). */
.hero, .logos, .section, .footer { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container.narrow { max-width: 780px; }

/* ---------- 3. Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), border-color .25s var(--ease);
}
.btn.full { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-2) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(46,154,166,.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(46,154,166,.45); }
.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--border-2); color: #fff; }
.btn-ghost:hover { transform: translateY(-2px); background: rgba(255,255,255,.08); }
.btn .arrow { font-size: 14px; transition: transform .25s var(--ease); }
.btn-primary:hover .arrow { transform: translate(2px,-2px); }

/* ---------- 4. Navbar ---------- */
.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-block: 16px;
  padding-top: calc(16px + env(safe-area-inset-top, 0px));
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), backdrop-filter .3s var(--ease), border-color .3s var(--ease);
}
.navbar.scrolled { background: rgba(0,0,0,.6); backdrop-filter: blur(12px); border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo-img { height: 38px; width: auto; display: block; }
.navbar .container { max-width: none; padding: 0 42px; }
.nav-links { display: flex; gap: 34px; margin-left: auto; margin-right: 28px; }
.nav-links a { font-size: 15px; color: var(--muted); transition: color .2s var(--ease); }
.nav-links a:hover { color: #fff; }
.nav-menu-cta { display: none; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .3s var(--ease); }

/* ---------- 5. Hero ---------- */
.hero {
  /* 18/08 au soir — Mathieu revient sur la decision du 17/08 : le premier ecran
     ne doit montrer QUE l'accueil. Aucun morceau de la bande d'outils ne doit
     depasser en bas — un bandeau coupe en deux se lit comme un defaut, pas
     comme une invitation a defiler.
     Pourquoi `svh` et pas `vh` : `svh` mesure l'ecran quand les barres du
     navigateur sont VISIBLES, c'est-a-dire ce qu'on voit a l'arrivee. `vh`
     (= `lvh`) mesure l'ecran barres retractees : le hero serait alors plus
     haut que la fenetre reelle et les deux boutons tomberaient sous la ligne
     de flottaison. C'est la seule unite qui garantit "rien ne depasse". */
  position: relative;
  min-height: 100vh;   /* repli pour les navigateurs sans svh */
  min-height: 100svh;
  padding-top: 150px; padding-bottom: 118px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  overflow: hidden;
}
.stars { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.star { position: absolute; border-radius: 50%; background: #fff; animation: twinkle var(--dur,4s) ease-in-out infinite; }
@keyframes twinkle { 0%,100% { opacity: var(--min,.15); } 50% { opacity: var(--max,.7); } }

.hero-glow {
  position: absolute; top: 44%; left: 50%; width: 760px; height: 760px;
  transform: translate(-50%,-50%); z-index: 0; pointer-events: none;
  /* Le fond radial d'origine est retire : depuis le 17/08 le halo est fait de
     couches animees (voir section 30). Ce bloc n'est plus qu'un point d'ancrage. */
}
.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.badge {
  display: inline-block; padding: 7px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--taupe);
  background: rgba(168,156,136,.10); border: 1px solid rgba(168,156,136,.28);
  margin-bottom: 26px;
}
.hero-title { font-size: clamp(2.6rem, 7vw, 5.8rem); font-weight: 800; line-height: 1.04; letter-spacing: -.025em; margin-bottom: 22px;
  text-wrap: balance; }
/* La chute du titre etait en degrade teal. Depuis le 17/08 au soir le halo bleu
   passe DERRIERE elle : bleu sur bleu, le contraste s'effondrait. Le titre
   est donc entierement blanc. Regle generale : quand un decor gagne en
   couleur, le texte doit en perdre — c'est toujours le decor qui cede. */
.hero-title-chute { color: #fff; }
.hero-sub { max-width: 640px; font-size: clamp(1rem,1.4vw,1.18rem); color: var(--muted); margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.scroll-indicator {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 2;
}
.scroll-dot { width: 22px; height: 36px; border: 2px solid var(--border-2); border-radius: 14px; position: relative; }
.scroll-dot::after { content:""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 4px; height: 6px; background: var(--teal-2); border-radius: 4px; animation: scrolldot 1.6s var(--ease) infinite; }
@keyframes scrolldot { 0% { opacity: 0; top: 7px; } 40% { opacity: 1; } 80% { opacity: 0; top: 18px; } 100% { opacity: 0; } }
.scroll-text { font-size: 12px; color: var(--muted-2); letter-spacing: .04em; }

/* ---------- 6. Sections génériques ---------- */
.section { padding-block: var(--section-pad); position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 32px; }
.eyebrow {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--taupe);
  background: rgba(168,156,136,.08); border: 1px solid rgba(168,156,136,.22);
  margin-bottom: 22px;
}
.section-title { font-size: clamp(2rem, 4.5vw, 3.3rem); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; }
.section-title.sm { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.section-sub { margin-top: 18px; color: var(--muted); font-size: 1.05rem; }
.subsection { margin-top: 48px; }

/* cartes de base */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }

/* ---------- 7. Logos strip ---------- */
.logos { padding-block: 70px; border-block: 1px solid var(--border); }
.logos-label { text-align: center; color: var(--muted-2); font-size: 14px; letter-spacing: .05em; margin-bottom: 34px; }

/* Carrousel défilant (marquee) avec fondu sur les bords */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,1) 20%, rgba(0,0,0,1) 80%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,1) 20%, rgba(0,0,0,1) 80%, transparent 100%);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.3333%); } /* un tiers = 1 série sur 3 → boucle sans couture */
}
/* marge à droite (et non gap) pour que la boucle s'aligne parfaitement */
.logo-item {
  flex: none;
  margin-right: 64px;
  font-size: 22px; font-weight: 700;
  color: rgba(255,255,255,.30); letter-spacing: .02em; white-space: nowrap;
  transition: color .3s var(--ease);
}
.logo-item:hover { color: rgba(255,255,255,.6); }

/* ---------- 8. Services ---------- */
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 36px; }
.service-row:last-child { margin-bottom: 0; }
.service-row.reverse .service-visual { order: 2; }
/* Mesure du 17/08 : les maquettes font 215, 160 et 278 px. Un min-height de
   340 px ajoutait donc jusqu'a 180 px de vide par rangee — c'est ce que
   Mathieu voyait. La boite fait desormais la taille de son contenu. */
.service-visual { min-height: 0; padding: 24px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.service-text h3 { font-size: 1.85rem; font-weight: 800; margin: 12px 0 12px; letter-spacing: -.01em; }
.service-text p { color: var(--muted); max-width: 520px; }
.badge-taupe {
  display: inline-block; padding: 6px 14px; border-radius: 8px; font-size: 13px; font-weight: 600;
  color: var(--taupe); background: rgba(168,156,136,.08); border: 1px solid rgba(168,156,136,.22);
}
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tag-row.tiny { margin-top: 0; }
.tag { padding: 7px 14px; border-radius: 8px; font-size: 13px; color: var(--muted); background: rgba(255,255,255,.03); border: 1px solid var(--border); }

/* mockups */
.mock { width: 100%; }
.mock-tasks { display: flex; flex-direction: column; gap: 10px; }
.mock-task { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 10px; background: var(--card-2); border: 1px solid var(--border); font-size: 14px; }
.dot { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--muted-2); display: inline-block; flex: none; }
.dot.ok { background: linear-gradient(135deg,var(--teal),var(--teal-2)); border-color: transparent; position: relative; }
.dot.ok::after { content:"✓"; position: absolute; inset: 0; font-size: 9px; color: #fff; display: flex; align-items: center; justify-content: center; }

.mock-assistant { display: flex; flex-direction: column; gap: 14px; }
.mock-prompt { padding: 16px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.mock-chiprow { display: flex; gap: 8px; flex-wrap: wrap; }
.mchip { padding: 8px 13px; border-radius: 8px; font-size: 13px; background: rgba(255,255,255,.03); border: 1px solid var(--border); color: var(--muted); }

.mock-email { display: flex; flex-direction: column; gap: 14px; }
.mock-email-head { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 10px; background: var(--card-2); border: 1px solid var(--border); font-size: 14px; }
.spinner { width: 14px; height: 14px; border: 2px solid var(--border-2); border-top-color: var(--teal-2); border-radius: 50%; margin-left: auto; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.mock-lead { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--border); font-size: 13px; }
.avatar-mini { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg,var(--teal),var(--teal-2)); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex: none; }
.verified { margin-left: auto; font-size: 11px; padding: 4px 10px; border-radius: 999px; background: rgba(46,154,166,.15); color: var(--teal-2); }
.mock-progress { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted-2); padding: 0 4px; position: relative; }
.mock-progress::before { content:""; position: absolute; top: -8px; left: 6%; right: 6%; height: 2px; background: linear-gradient(90deg,var(--teal),var(--teal-2)); }

/* ---------- 9. Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.step-card { padding: 24px; display: flex; flex-direction: column; }
.step-label { align-self: flex-start; padding: 5px 12px; border-radius: 8px; font-size: 12px; color: var(--muted); background: rgba(255,255,255,.04); border: 1px solid var(--border); margin-bottom: 18px; }
.step-card h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; }
.step-card p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.mock-analyze { margin-top: auto; display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--border); }
.ring { width: 64px; height: 64px; border-radius: 50%; flex: none; background: conic-gradient(var(--teal-2) 0deg 250deg, rgba(255,255,255,.08) 250deg 360deg); mask: radial-gradient(circle 20px at center, transparent 98%, #000 100%); -webkit-mask: radial-gradient(circle 20px at center, transparent 98%, #000 100%); }
.check-list { display: flex; flex-direction: column; gap: 7px; font-size: 13px; color: var(--muted); }
.check-list li { display: flex; align-items: center; gap: 8px; }
/* Étape 2 : petit schéma de flux (remplace l'ancien bloc de code Python) */
.mock-flow { margin-top: auto; display: flex; flex-direction: column; gap: 5px; padding: 16px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--border); }
.flow-step { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.flow-arrow { text-align: center; color: var(--muted-2); font-size: 12px; line-height: 1; }
.mock-integrate { margin-top: auto; position: relative; height: 150px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.orb-core { width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle,var(--teal-2),var(--teal)); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; box-shadow: 0 0 30px rgba(46,154,166,.5); }
.node { position: absolute; padding: 5px 10px; font-size: 11px; border-radius: 7px; background: var(--card); border: 1px solid var(--border); color: var(--muted); }
.node.n1 { top: 16px; left: 22px; } .node.n2 { top: 16px; right: 22px; } .node.n3 { bottom: 16px; left: 22px; } .node.n4 { bottom: 16px; right: 22px; }

/* ---------- 10. Case studies ---------- */
.cases-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
/* Une seule preuve nommee (09/09/2026) : une carte etiree sur trois colonnes
   ressemble a un trou, une carte centree ressemble a un choix. */
.cases-grid.one { grid-template-columns: minmax(0, 620px); justify-content: center; }
.case-logo img { width: 132px; height: auto; display: block; }

.case-card { padding: 24px; position: relative; overflow: hidden; }
.case-logo { font-weight: 700; color: var(--muted-2); margin-bottom: 18px; }
.case-card h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; margin-bottom: 12px; }
.case-card p { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.impact-label { font-size: 12px; color: var(--taupe); letter-spacing: .04em; }
.impact ul { margin-top: 12px; display: flex; flex-direction: column; gap: 9px; font-size: 14px; color: var(--muted); }
.impact li { display: flex; align-items: center; gap: 9px; }

/* ---------- 11. Benefits ---------- */
.benefits-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.benefit-card { padding: 30px; position: relative; overflow: hidden; }
.benefit-glow { position: absolute; top: -40px; right: -40px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle,rgba(46,154,166,.30),transparent 70%); pointer-events: none; }
.benefit-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; position: relative; }
.benefit-card p { color: var(--muted); font-size: .95rem; position: relative; }

/* ---------- 12. Stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.stat { text-align: center; padding: 40px 20px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.stat-num { display: block; font-size: clamp(2.4rem,5vw,3.4rem); font-weight: 800; background: linear-gradient(135deg,#fff,var(--teal-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: var(--muted); font-size: .95rem; }

/* ---------- 13. Values : trois lignes sur une rangée ---------- */
.values-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); }
.values-row li { color: var(--muted); font-size: .95rem; text-align: center; max-width: 340px; margin: 0 auto; }
.values-row strong { display: block; color: #fff; font-weight: 700; margin-bottom: 3px; }

/* ---------- 15. Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; max-width: 880px; margin: 0 auto; }
.team-card { padding: 26px; text-align: center; }
.team-avatar { width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 18px; background: linear-gradient(135deg,var(--teal),var(--teal-2)); display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 800; overflow: hidden; border: 2px solid rgba(46,154,166,.4); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.team-card h3 { font-size: 1.3rem; font-weight: 700; }
.team-role { color: var(--taupe); font-size: .9rem; }
.team-card p { color: var(--muted); font-size: .92rem; margin-top: 12px; }

/* ---------- 16. Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: 1fr 1.22fr 1fr; gap: 20px; align-items: center; }
.pricing-grid.two { grid-template-columns: 1fr 1.12fr; max-width: 880px; margin-inline: auto; }
.price-card { padding: 24px; position: relative; }
.price-card.featured {
  padding: 46px 38px;                 /* plus grande : plus de hauteur et de respiration */
  border-color: rgba(46,154,166,.4);
  background: linear-gradient(180deg, rgba(46,154,166,.10), var(--card));
  box-shadow: 0 0 55px rgba(46,154,166,.18);
  z-index: 1;
}
.price-card.featured h3 { font-size: 1.5rem; }
.price-card.featured .amount { font-size: 2.9rem; }
.price-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 5px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; background: linear-gradient(135deg,var(--teal),var(--teal-2)); }
.price-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 14px; }
.price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 8px; flex-wrap: wrap; }
.price-card { min-width: 0; }
.price .amount { font-size: 2.4rem; font-weight: 800; }
.price .per { color: var(--muted); }
.price-mo { color: var(--teal-2); font-size: .9rem; font-weight: 600; margin: 2px 0 10px; }
.price-desc { color: var(--muted); font-size: .92rem; margin-bottom: 22px; }
.price-feats { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.price-feats li { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--muted); }
/* Ligne "founding client" sous les deux cartes (bloc facile à retirer) */
.founding-note { max-width: 880px; margin: 24px auto 0; text-align: center; color: var(--taupe); font-size: .9rem; line-height: 1.6; }

/* ---------- 17. Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.testi-card { padding: 30px; }
.stars-row { color: var(--teal-2); letter-spacing: 3px; margin-bottom: 16px; }
.testi-card p { font-size: 1.02rem; margin-bottom: 22px; }
.testi-author { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }

/* ---------- 18. FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; color: #fff; font-family: inherit; font-size: 1.05rem; font-weight: 600; padding: 20px 22px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.chev { transition: transform .3s var(--ease); color: var(--muted); }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- 19. Final CTA ---------- */
/* 80 px de marge en haut ET en bas, soit 160 px, pour un titre, une phrase
   et un bouton : c'est ce que Mathieu a vu le 17/08 sur ordinateur. 48 px
   laissent le bloc respirer sans le transformer en page blanche. */
.cta-card { position: relative; text-align: center; padding: 48px 30px; border-radius: 26px; background: var(--card); border: 1px solid var(--border); overflow: hidden; }
.cta-glow { position: absolute; top: -30%; left: 50%; transform: translateX(-50%); width: 600px; height: 400px; background: radial-gradient(ellipse at center, rgba(46,154,166,.35), transparent 70%); pointer-events: none; }
.cta-card h2 { font-size: clamp(2rem,4vw,3rem); font-weight: 800; line-height: 1.1; position: relative; }
.cta-card p { color: var(--muted); margin: 16px 0 30px; position: relative; }
.cta-card .btn { position: relative; }

/* ---------- 20. Contact ---------- */
/* Le créneau cliquable passe avant le formulaire */
.book-first { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 34px; text-align: center; }
.btn-book { font-size: 16px; padding: 15px 30px; }
.book-note { color: var(--muted-2); font-size: 13px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 26px; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-card { padding: 22px; display: flex; align-items: center; gap: 16px; }
.contact-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(46,154,166,.12); color: var(--teal-2); display: flex; align-items: center; justify-content: center; font-size: 18px; flex: none; }
.contact-card small { color: var(--muted-2); font-size: 12px; }
.contact-form { padding: 30px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 10px; background: var(--card-2);
  border: 1px solid var(--border); color: #fff; font-family: inherit; font-size: 15px; resize: vertical;
  transition: border-color .2s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal-2); }
.form-note { margin-top: 14px; font-size: 13px; color: var(--teal-2); }

/* ---------- 21. Footer ---------- */
.footer { border-top: 1px solid var(--border); padding-top: 70px; position: relative; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 50px; padding-bottom: 50px; }
.footer-logo { height: 56px; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); max-width: 340px; margin-bottom: 26px; }
.footer-contact { font-size: 14px; line-height: 2; }
.footer-contact a { color: var(--muted); transition: color .2s var(--ease); }
.footer-contact a:hover { color: #fff; }
.news-label { font-size: 14px; margin-bottom: 12px; }
.news-form { display: flex; gap: 8px; max-width: 360px; }
.news-form input { flex: 1; padding: 12px 14px; border-radius: 10px; background: var(--card-2); border: 1px solid var(--border); color: #fff; font-family: inherit; }
.news-form input:focus { outline: none; border-color: var(--teal-2); }
.footer-cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.footer-col h4 { font-size: 14px; margin-bottom: 18px; color: #fff; }
.footer-col a { display: block; color: var(--muted); font-size: 14px; margin-bottom: 12px; transition: color .2s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--border); padding-block: 24px; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted-2); font-size: 13px; }

/* ---------- 22. Animations (état initial géré par GSAP) ---------- */
/* éléments masqués avant révélation pour éviter le "flash" */
[data-reveal], [data-reveal-left], [data-reveal-right] { will-change: transform, opacity; }

/* ---------- 23. Responsive ---------- */
@media (max-width: 980px) {
  :root { --section-pad: 56px; }
  .service-row, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .service-row.reverse .service-visual { order: 0; }
  .process-grid, .cases-grid, .benefits-grid { grid-template-columns: repeat(2,1fr); }
  .cases-grid.one { grid-template-columns: minmax(0, 1fr); }
  .values-row { grid-template-columns: 1fr; gap: 14px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  :root { --section-pad: 44px; }
  /* ---- Menu mobile ----
     Ancré au BAS DE LA NAVBAR (top:100%) et non à une hauteur devinée :
     c'est ce qui supprime le trou par lequel on voyait la page défiler. */
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    background: rgba(0,0,0,.97); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 4px 22px calc(20px + env(safe-area-inset-bottom, 0px));
    transform: translateY(-110%); visibility: hidden;
    transition: transform .38s var(--ease), visibility 0s .38s; z-index: 40;
  }
  .nav-links.open { transform: translateY(0); visibility: visible; transition: transform .38s var(--ease), visibility 0s 0s; }
  /* Séparateurs ENTRE les liens seulement : plus de barre orpheline sous Contact */
  .nav-links a { padding: 17px 2px; font-size: 1.05rem; font-weight: 600; color: #fff; border-bottom: 0; }
  .nav-links a + a { border-top: 1px solid var(--border); }
  .nav-links a:active { color: var(--teal-2); }

  /* L'espace vide sous Contact devient l'appel à l'action */
  .nav-menu-cta { display: inline-flex !important; width: 100%; margin-top: 20px; border-top: 0 !important; padding: 14px 22px !important; font-size: 15px !important; }

  /* Voile sombre sous le menu : la page ne distrait plus derrière */
  .navbar.menu-open::after {
    content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 100vh;
    background: rgba(0,0,0,.62); z-index: 30; pointer-events: none;
  }
  /* Navbar toujours opaque quand le menu est ouvert, même en haut de page */
  .navbar.menu-open { background: rgba(0,0,0,.97); backdrop-filter: blur(16px); border-bottom-color: transparent; }

  /* Blocage du défilement pendant que le menu est ouvert (ciblé, temporaire) */
  html.menu-open, html.menu-open body { overflow: hidden; }
  .nav-cta { display: none; }
  .logo-img { height: 28px; }
  .navbar .container { padding: 0 20px; }
  /* 18/08 au soir — meme regle que sur ordinateur : le premier ecran du
     telephone ne montre que l'accueil. `align-items: center` remplace
     `flex-start` : avec une hauteur d'ecran imposee, coller le contenu en haut
     creuse un grand vide sous les boutons — c'est precisement ce qu'on avait
     corrige le 16/08. Centre, le vide se repartit et ne se voit plus. */
  .hero { align-items: center; padding-top: calc(102px + env(safe-area-inset-top, 0px)); padding-bottom: 44px;
    min-height: 100vh; min-height: 100svh; }
  .badge { margin-bottom: 20px; }
  /* Taille reglee a la mesure, police reelle : 7,7vw met le francais sur
     3 lignes au lieu de 4 sur un ecran de 390 px. */
  .hero-title { font-size: clamp(1.8rem, 7.7vw, 2.4rem); line-height: 1.1; letter-spacing: -.03em;
    margin-bottom: 18px; }
  .hero-sub { font-size: 1rem; line-height: 1.55; margin-bottom: 26px; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .stats-grid, .process-grid, .cases-grid, .benefits-grid,
  .team-grid, .pricing-grid, .pricing-grid.two, .testi-grid { grid-template-columns: 1fr; }
  /* Sur téléphone, les mockups n'ont plus de hauteur imposée : ils prennent
     la place de leur contenu, rien de plus. Le visuel reste identique,
     c'est le vide autour qui disparaît. */
  .service-visual { min-height: 0; padding: 22px; }
  .step-card, .case-card, .benefit-card, .price-card { padding: 24px; }
  .price .amount { font-size: 2rem; }
  .price-card.featured .amount { font-size: 2.2rem; }
  .hero-glow { width: 440px; height: 440px; }
  .logos { padding-block: 38px; }
  .logos-label { margin-bottom: 20px; font-size: 13px; }
  .footer-cols { grid-template-columns: repeat(2,1fr); }
  .footer-bottom-inner { flex-direction: column; gap: 8px; }
}

/* ---------- 24. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .star, .spinner, .scroll-dot::after, .marquee-track { animation: none; }
}

/* ---------- Selecteur de langue ---------- */
.lang-switch { display: flex; align-items: center; gap: 2px; margin-right: 18px;
  padding: 3px; border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,.03); }
.lang-switch a { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--muted-2);
  padding: 5px 10px; border-radius: 999px; line-height: 1;
  transition: color .2s var(--ease), background .2s var(--ease); }
.lang-switch a:hover { color: #fff; }
.lang-switch a[aria-current="true"] { color: #fff; background: var(--teal-2); box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset; }

@media (max-width: 980px) {
  /* dans la barre : on garde le selecteur visible, colle au bouton burger */
  .lang-switch { margin-right: 12px; margin-left: auto; }
  .lang-switch a { padding: 5px 8px; font-size: 11px; }
}

/* ---------- 24. Resserrage telephone (17/08/2026) ----------
   Demande de Mathieu : "sur telephone il faudrait qu'elles soient plus
   compressees". On ne retire aucun contenu — on retire du vide.
   Ces regles viennent APRES le bloc responsive, donc elles l'emportent. */
@media (max-width: 720px) {
  .section-head { margin-bottom: 24px; }
  .subsection { margin-top: 36px; }
  .service-row { gap: 22px; margin-bottom: 28px; }
  .service-visual { padding: 18px; }
  .service-text h3 { font-size: 1.5rem; margin: 10px 0 10px; }
  .step-card, .case-card, .benefit-card, .price-card { padding: 20px; }
  .step-card p, .case-card p { margin-bottom: 14px; }
  .team-card { padding: 22px; }
  .team-grid { gap: 18px; }
  .logos { padding-block: 30px; }

  /* Les 3 cartes d'etapes prenaient un demi-ecran chacune sur telephone.
     On reduit CHAQUE couche : la carte, l'etiquette, le titre, le texte,
     puis la maquette et ses lignes. Aucun element ne disparait. */
  .step-card { padding: 18px; }
  .step-label { margin-bottom: 12px; padding: 4px 10px; font-size: 11.5px; }
  .step-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
  .step-card p { font-size: .9rem; margin-bottom: 12px; }
  .mock-analyze, .mock-flow { padding: 12px; }
  .mock-analyze { gap: 12px; }
  .mock-flow { gap: 4px; }
  .flow-step { padding: 7px 11px; font-size: 12px; gap: 8px; }
  .flow-arrow { font-size: 11px; }
  .mock-integrate { height: 120px; }
  .ring { width: 52px; height: 52px; }
  .check-list { gap: 5px; font-size: 12px; }
  .cta-card { padding: 36px 22px; }
}

/* ---------- 25. Arguments adosses aux cas clients (17/08/2026) ----------
   Ils occupaient une section entiere ("Why people work with us"). Ils sont
   maintenant une bande sous les cas clients : meme texte, une section de moins,
   et un argument qui s'appuie sur une preuve au lieu de flotter seul. */
.benefits-row {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
  margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--border);
}
.benefit-line h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.benefit-line p { color: var(--muted); font-size: .92rem; line-height: 1.5; }

/* ---------- 26. Temoignages : rail horizontal (17/08/2026) ----------
   Demande de Mathieu : des cartes photo + temoignage alignees a l'horizontale,
   qu'on fait defiler de gauche a droite. Un rail horizontal coute la hauteur
   d'UNE carte quel que soit le nombre de temoignages — c'est ce qui permet
   d'en ajouter dix sans rallonger la page d'un pixel. */
.testi-rail {
  display: flex; gap: 20px; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 4px 16px; margin: 0 -4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: var(--border-2) transparent;
}
.testi-rail::-webkit-scrollbar { height: 6px; }
.testi-rail::-webkit-scrollbar-track { background: transparent; }
.testi-rail::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 6px; }
.testi-card {
  scroll-snap-align: start; flex: 0 0 clamp(272px, 32%, 380px);
  padding: 26px; display: flex; flex-direction: column;
}
.testi-card .quote { font-size: 1.02rem; line-height: 1.55; margin-bottom: 20px; flex: 1; }
.testi-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-photo {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none;
  border: 2px solid rgba(46,154,166,.4);
}
.testi-name { font-weight: 700; font-size: .95rem; }
.testi-role { color: var(--taupe); font-size: .82rem; }
/* Les fleches : utiles a la souris, inutiles au doigt. */
.testi-nav { display: flex; gap: 8px; justify-content: flex-end; margin-bottom: 14px; }
.testi-nav button {
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
  background: var(--card); border: 1px solid var(--border); color: #fff;
  font-size: 15px; line-height: 1; transition: background .25s var(--ease), opacity .25s var(--ease);
}
.testi-nav button:hover { background: rgba(168,156,136,.16); }
.testi-nav button[disabled] { opacity: .35; cursor: default; }
@media (max-width: 720px) {
  .benefits-row { grid-template-columns: 1fr; gap: 16px; margin-top: 26px; padding-top: 22px; }
  .testi-card { flex-basis: 82%; padding: 20px; }
  .testi-nav { display: none; }
}

/* ---------- 26b. Temoignage a la une (09/09/2026) ----------
   Un rail sert a faire defiler PLUSIEURS temoignages. Avec un seul client,
   un rail affiche une carte etroite perdue dans le vide : la mise en page
   dirait "il n'y en a qu'un" avant meme qu'on ait lu. D'ou cette variante
   pleine largeur : la marque du client a gauche, sa parole a droite.
   Le rail (section 26) reste en place et reprendra la main au 2e temoignage. */
.testi-feature {
  display: grid; grid-template-columns: 210px 1fr; gap: 38px;
  align-items: center; padding: 38px 40px;
}
.testi-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.testi-brand img { width: 158px; height: auto; opacity: .95; }
.testi-stat { display: flex; flex-direction: column; line-height: 1.15; }
.testi-stat-num { font-size: 2rem; font-weight: 800; color: var(--teal-2); }
.testi-stat-label { color: var(--muted); font-size: .84rem; }
.testi-link { color: var(--taupe); font-size: .82rem; text-decoration: none; letter-spacing: .02em; }
.testi-link:hover { color: #fff; }
.testi-feature .quote { font-size: 1.16rem; line-height: 1.62; margin: 0 0 24px; }
.testi-feature .testi-author { margin-top: 0; }
@media (max-width: 860px) {
  .testi-feature { grid-template-columns: 1fr; gap: 24px; padding: 26px 22px; }
  .testi-brand { flex-direction: row; align-items: center; gap: 22px; flex-wrap: wrap; }
  .testi-brand img { width: 112px; }
  .testi-feature .quote { font-size: 1.04rem; }
}

/* ---------- 27. Halo turquoise derriere les valeurs (17/08/2026) ----------
   Demande de Mathieu. Le halo est un pseudo-element : aucune balise ajoutee
   dans le HTML, donc rien de nouveau a traduire. `isolation: isolate` cree un
   contexte d'empilement propre a chaque ligne — sans lui, un z-index negatif
   passerait DERRIERE le fond de la page et deviendrait invisible. */
.values-row li { position: relative; isolation: isolate; }
/* ⚠ CORRIGE le 09/09/2026. Le halo etait accroche au coin HAUT-GAUCHE de sa
   ligne, avec une taille fixe de 210 x 160. Comme les trois textes n'ont pas
   la meme longueur, les trois halos tombaient chacun a cote de son texte, en
   bas a gauche : on lisait trois taches posees au hasard, pas trois valeurs
   eclairees. Analogie : trois spots de scene regles sur le pied du micro au
   lieu du visage. Le halo se centre maintenant SUR sa ligne, quelle que soit
   la longueur du texte. */
.values-row li::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 118%; max-width: 320px; height: 190%;
  background: radial-gradient(ellipse at center, rgba(46,154,166,.30), rgba(46,154,166,0) 70%);
}

/* ---------- 28. La bande d'arguments sur telephone (17/08/2026) ----------
   Empilees en simple texte, les trois lignes formaient un pave illisible sous
   la derniere carte. Sur telephone elles deviennent trois petites cartes :
   meme texte, mais chacune redevient un bloc qu'on lit separement. */
@media (max-width: 720px) {
  .benefits-row {
    gap: 12px; margin-top: 26px; padding-top: 0; border-top: 0;
  }
  .benefit-line {
    padding: 16px 18px; border-radius: var(--radius-sm);
    background: var(--card); border: 1px solid var(--border);
    position: relative; isolation: isolate; overflow: hidden;
  }
  .benefit-line::before {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    top: -46px; right: -46px; width: 150px; height: 150px; border-radius: 50%;
    background: radial-gradient(circle, rgba(46,154,166,.26), rgba(46,154,166,0) 70%);
  }
  .benefit-line h3 { font-size: 1rem; margin-bottom: 4px; }
  .benefit-line p { font-size: .88rem; }
}

/* ---------- 29. La coquille du logo (17/08/2026) ----------
   TROIS corrections apprises a la dure, dans l'ordre ou elles sont tombees :

   1) `filter: blur()` anime = recalcule par le processeur a chaque image.
      Ca a FIGE le navigateur. Remplace par une baisse d'opacite.

   2) Faire tourner un `<path>` A L'INTERIEUR d'un SVG : le navigateur ne peut
      pas donner sa propre couche a une forme SVG, il redessine tout le dessin
      a chaque image. Sur telephone, ca ne suit pas.

   3) `transform-box: fill-box` est mal supporte par Safari iOS : le centre de
      rotation partait ailleurs, et la coquille ne tournait pas sur elle-meme
      mais AUTOUR du mot. C'est le "il tourne mal" de Mathieu.

   La solution regle les trois d'un coup : le logo est scinde en DEUX dessins.
   Les lettres d'un cote, la coquille de l'autre, posee au pixel sur sa place.
   La coquille est alors un ELEMENT a part entiere : elle a son propre centre
   (plus besoin de fill-box), le navigateur lui donne sa couche, et la rotation
   part sur la carte graphique.

   REGLE : n'anime que `transform` et `opacity`, et anime un ELEMENT, jamais
   une forme a l'interieur d'un dessin. */
.logo-mark { position: relative; display: block; height: 34px; width: 111px; }
.logo-mark svg { position: absolute; overflow: visible; }
.logo-lettres { inset: 0; width: 100%; height: 100%; }
/* Position calculee depuis la boite du "O" dans le dessin d'origine
   (x 764->1067, y 326->579 dans un viewBox 337 300 960 294). */
.coquille {
  left: 44.48%; top: 8.84%; width: 31.56%; height: 86.05%;
  transform-origin: 50% 50%; will-change: transform; backface-visibility: hidden;
}
.coquille.tourne { animation: coquille-toupie .95s cubic-bezier(.12,.72,.18,1) 1; }
@keyframes coquille-toupie {
  from { transform: rotate(0turn); opacity: .68; }
  55%  {                           opacity: .85; }
  /* 7 tours ENTIERS : la coquille retombe exactement d'aplomb. */
  to   { transform: rotate(7turn); opacity: 1; }
}

/* ---------- 30. Le hero : cinq nuees teintees, portees par des epicycles
                (18/08/2026 au soir — 3e refonte, validee au labo) ----------

   LE SCENARIO
     0 -> 4 s     cinq nuees, chacune de sa teinte, flottent chacune a sa place
     4 -> 10,6 s  elles rejoignent le centre (departs echelonnes, ARRIVEES alignees)
     ensuite      elles y tournent, pour toujours, en gardant leur teinte

   POURQUOI DES EPICYCLES ET PLUS DES POINTS DE PASSAGE — les deux defauts que
   Mathieu a nommes le 18/08, et qui etaient tous deux STRUCTURELS :

   ① "elles bougent toutes en meme temps". Les cinq partageaient la meme frise
      de temps : des points de passage aux memes pourcentages sur la meme duree.
      Elles viraient donc AUX MEMES INSTANTS, meme en allant dans des sens
      differents. L'oeil ne lit pas la direction, il lit l'instant. Cinq
      danseurs sur le meme comptage font un groupe, quels que soient leurs pas.
   ② "c'est saccade". Une animation a points de passage est une LIGNE BRISEE :
      chaque point est un angle. Aucun adoucissement ne rattrape un angle — il
      est dans la geometrie du chemin, pas dans la vitesse de parcours.

   LA SOLUTION : deux roues emboitees qui tournent en continu a des vitesses
   differentes (le mecanisme d'une horloge astronomique). La somme de deux
   rotations continues ne comporte AUCUN angle, ne s'arrete jamais et ne
   repasse jamais au meme endroit si les periodes n'ont pas de diviseur commun.
   Chaque nuee a SES periodes, SES rayons, SON sens et SON avance de phase :
   il n'existe plus un seul instant partage entre elles.

   BENEFICE : un seul mecanisme fait les deux phases. Pendant la flottaison les
   roues tournent autour de la position de depart ; apres le rassemblement,
   autour du centre. Rien ne bascule, rien ne redemarre.

   MESURE (labo, 18/08) : virage maximal entre deux images 2,1° en flottaison
   et 5,2° en orbite (un angle donnerait un pic > 40°) ; vitesses 6 a 17 px/s ;
   correlation moyenne entre les cinq, sur 48 s : 0,29.
   ⚠️ Une correlation mesuree sur une fenetre plus COURTE que le cycle observe
   ne veut rien dire : ma premiere mesure annoncait 0,98 sur 3,6 s pour des
   cycles de 60 a 97 s. Fenetre trop courte = deux signaux lents paraissent
   toujours lies. */

.hero-glow { overflow: visible; }
.hero-glow > * { position: absolute; top: 50%; left: 50%; translate: -50% -50%; pointer-events: none; }

.glow-fond{width:900px;height:420px;max-width:150vw;border-radius:50%;
  filter:blur(34px);opacity:.5;
  background:radial-gradient(ellipse,rgba(27,94,102,.85),transparent 72%)}

/* ─────────── 1. La masse centrale (version C, choisie par Mathieu) ───────────
   Le halo precedent etait un ANNEAU : son degrade etait transparent jusqu'a
   36 % du rayon. Il y avait donc un TROU au milieu, et l'oeil lisait une forme
   (un beignet) au lieu d'une lumiere. Une source lumineuse n'a jamais de trou.
   Ici : une masse PLEINE, dont la lumiere est volontairement DECENTREE et
   melangee a une seconde teinte chaude — c'est ce decentrement qui la rend
   vivante plutot que decorative.
   Elle est deliberement faible : a pleine force elle ramenait les cinq teintes
   vers son propre turquoise. Elle ne fait que boucher le centre. Elle lie,
   elle ne teint pas. */
.masse-c{width:430px;height:430px;max-width:82vw;max-height:82vw;opacity:0;
  animation:masse-arrive 12s ease-out 1 forwards}
.mc-1,.mc-2{position:absolute;inset:0;top:0;left:0;translate:0;border-radius:50%}
.mc-1{filter:blur(18px);background:radial-gradient(circle at 43% 45%,
  rgba(146,226,234,.38) 0%, rgba(46,154,166,.29) 26%, rgba(33,112,121,.15) 50%,
  rgba(27,94,102,.04) 72%, rgba(27,94,102,0) 86%)}
.mc-2{inset:6%;filter:blur(30px);background:radial-gradient(circle at 64% 62%,
  rgba(196,176,140,.20) 0%, rgba(168,156,136,.10) 34%, rgba(168,156,136,0) 64%);
  animation:mc-respire 17s ease-in-out infinite}
@keyframes mc-respire{0%,100%{transform:scale(.94)}50%{transform:scale(1.08)}}
@keyframes masse-arrive{0%,42%{opacity:0;scale:.5}88%{opacity:1;scale:1.02}100%{opacity:1;scale:1}}

/* ─────────── 2. Les cinq nuees ───────────
   Quatre etages emboites, et chacun ne fait qu'une seule chose :
     .nuee  translate → l'ancrage : rester en place, puis rejoindre le centre
     b      rotate    → la grande roue
     u      translate+rotate → le bras de la grande roue, qui porte la petite
     s      translate → le rayon de la petite roue, qui respire
     i x3   translate → les trois taches qui remodelent la silhouette */
.nuee{width:0;height:0;opacity:0;will-change:transform;animation-timing-function:linear;
  animation-duration:12s;animation-iteration-count:1;animation-fill-mode:forwards}
.nuee b,.nuee u,.nuee s{display:block;position:absolute;text-decoration:none;will-change:transform}
.nuee>b{animation-duration:var(--p1);animation-delay:var(--d1);
  animation-timing-function:linear;animation-iteration-count:infinite}
.nuee u{animation-duration:var(--p2);animation-delay:var(--d2);
  animation-timing-function:linear;animation-iteration-count:infinite}
/* Sans cette troisieme periode, deux roues dessinent une figure FERMEE :
   jolie, mais l'oeil finit par la reconnaitre. Un rayon qui respire sur une
   duree sans diviseur commun avec les deux autres l'empeche de se refermer. */
.nuee s{animation-name:rayon;animation-duration:var(--p3);animation-delay:var(--d3);
  animation-timing-function:ease-in-out;animation-iteration-count:infinite}

@keyframes roue{to{transform:rotate(360deg)}}
@keyframes roue-inv{to{transform:rotate(-360deg)}}
@keyframes bras{from{transform:translateX(var(--r1)) rotate(0deg)}
                to  {transform:translateX(var(--r1)) rotate(360deg)}}
@keyframes bras-inv{from{transform:translateX(var(--r1)) rotate(0deg)}
                    to  {transform:translateX(var(--r1)) rotate(-360deg)}}
@keyframes rayon{0%,100%{transform:translateX(var(--r2))}
                 50%    {transform:translateX(calc(var(--r2)*1.75))}}

/* Coeur dense et chute courte : c'est ce qui permet a une teinte de rester
   reconnaissable une fois les cinq superposees. Un degrade a longue traine se
   melange a tous ses voisins et tout finit turquoise. */
.nuee i{position:absolute;border-radius:50%;display:block;will-change:transform;filter:blur(16px);
  animation-timing-function:ease-in-out;animation-iteration-count:infinite;
  background:radial-gradient(circle,
    rgba(var(--c),.56) 0%, rgba(var(--c),.36) 30%,
    rgba(var(--c),.13) 58%, rgba(var(--c),0) 78%)}
/* Trois cercles empiles font une bille ; trois cercles ECARTES font un nuage.
   Ecart ~0,25 t pour des taches de ~0,9 t : assez pour bosseler la silhouette,
   pas assez pour qu'elles se separent. Decalees nuee par nuee (--dm) : elles
   non plus ne doivent pas respirer ensemble. */
.nuee i:nth-child(1){animation-name:mue-a;animation-duration:13s;animation-delay:var(--dm);
  width:calc(var(--t)*1.06);height:calc(var(--t)*1.02);left:calc(var(--t)*-.75);top:calc(var(--t)*-.72)}
.nuee i:nth-child(2){animation-name:mue-b;animation-duration:17s;animation-delay:calc(var(--dm) - 6s);
  width:calc(var(--t)*0.94);height:calc(var(--t)*1.00);left:calc(var(--t)*-.21);top:calc(var(--t)*-.44)}
.nuee i:nth-child(3){animation-name:mue-c;animation-duration:23s;animation-delay:calc(var(--dm) - 11s);
  width:calc(var(--t)*0.88);height:calc(var(--t)*0.92);left:calc(var(--t)*-.46);top:calc(var(--t)*-.16)}
@keyframes mue-a{0%,100%{transform:translate(0,0) scale(1)}
  33%{transform:translate(9%,-11%) scale(1.16)}66%{transform:translate(-12%,7%) scale(.87)}}
@keyframes mue-b{0%,100%{transform:translate(0,0) scale(1.04)}
  40%{transform:translate(-13%,9%) scale(.84)}70%{transform:translate(8%,12%) scale(1.2)}}
@keyframes mue-c{0%,100%{transform:translate(0,0) scale(.92)}
  30%{transform:translate(12%,10%) scale(1.14)}62%{transform:translate(-7%,-13%) scale(1)}}

/* Les cinq teintes, toutes dans le monde de Floy. Aucun nombre n'est partage
   entre deux nuees, et surtout aucune periode n'est VOISINE d'une autre : la
   mesure a montre que 71 s et 67 s suffisaient a les faire battre ensemble.
   Vitesse de pointe = 2pi.R1/P1 + 2pi.R2.(1/P1+1/P2) ~ 19 a 21 px/s. */
.n1{--c:158,226,238;--t:162px;--r1:106px;--r2:24px;--p1:59s;--p2:23s;--p3:31s;
    --d1:-13s;--d2:-7s;--d3:-4s;--dm:-2s;   animation-name:voyage1}  /* bleu clair brillant */
.n2{--c:46,154,166; --t:180px;--r1:108px;--r2:32px;--p1:97s;--p2:37s;--p3:19s;
    --d1:-58s;--d2:-21s;--d3:-11s;--dm:-9s; animation-name:voyage2}  /* turquoise Floy */
.n3{--c:38,126,164; --t:186px;--r1:98px; --r2:36px;--p1:71s;--p2:43s;--p3:26s;
    --d1:-34s;--d2:-5s;--d3:-17s;--dm:-15s; animation-name:voyage3}  /* bleu plus fonce */
.n4{--c:210,184,140;--t:148px;--r1:108px;--r2:28px;--p1:83s;--p2:29s;--p3:43s;
    --d1:-47s;--d2:-26s;--d3:-3s;--dm:-21s; animation-name:voyage4}  /* le chaud marronne */
.n5{--c:198,242,250;--t:132px;--r1:96px; --r2:40px;--p1:89s;--p2:53s;--p3:34s;
    --d1:-22s;--d2:-39s;--d3:-29s;--dm:-27s;animation-name:voyage5}  /* presque blanc */

/* Les sens alternent : deux nuees qui tournent dans le meme sens a des
   vitesses proches finissent par se suivre du regard. */
.n1>b{animation-name:roue}     .n1 u{animation-name:bras}
.n2>b{animation-name:roue-inv} .n2 u{animation-name:bras}
.n3>b{animation-name:roue}     .n3 u{animation-name:bras-inv}
.n4>b{animation-name:roue-inv} .n4 u{animation-name:bras-inv}
.n5>b{animation-name:roue-inv} .n5 u{animation-name:bras}

/* L'ancrage, et rien d'autre : le flottement ne s'arrete JAMAIS, il est porte
   par les roues, qui tournent avant, pendant et apres. Les DEPARTS sont
   echelonnes (4,0 a 5,3 s) mais les ARRIVEES sont alignees a 10,6 s.
   Regle : quand plusieurs objets doivent arriver ensemble, on decale le
   depart, jamais l'arrivee. */
@keyframes voyage1{
  0%{transform:translate(-27vw,-5vh);opacity:0}
  7%{opacity:.64}
  35%{transform:translate(-27vw,-5vh);opacity:.64;animation-timing-function:cubic-bezier(.36,0,.24,1)}
  88%,100%{transform:translate(0,0);opacity:.60}}
@keyframes voyage2{
  0%{transform:translate(26vw,4vh);opacity:0}
  7%{opacity:.56}
  40%{transform:translate(26vw,4vh);opacity:.56;animation-timing-function:cubic-bezier(.36,0,.24,1)}
  88%,100%{transform:translate(0,0);opacity:.54}}
@keyframes voyage3{
  0%{transform:translate(-12vw,22vh);opacity:0}
  7%{opacity:.68}
  37%{transform:translate(-12vw,22vh);opacity:.68;animation-timing-function:cubic-bezier(.36,0,.24,1)}
  88%,100%{transform:translate(0,0);opacity:.62}}
@keyframes voyage4{
  0%{transform:translate(7vw,-23vh);opacity:0}
  7%{opacity:.70}
  44%{transform:translate(7vw,-23vh);opacity:.70;animation-timing-function:cubic-bezier(.36,0,.24,1)}
  88%,100%{transform:translate(0,0);opacity:.64}}
@keyframes voyage5{
  0%{transform:translate(22vw,19vh);opacity:0}
  7%{opacity:.66}
  33%{transform:translate(22vw,19vh);opacity:.66;animation-timing-function:cubic-bezier(.36,0,.24,1)}
  88%,100%{transform:translate(0,0);opacity:.60}}

@media (max-width:720px){
  .glow-fond{opacity:.42;filter:blur(26px)}
  .nuee i{filter:blur(10px)}
  .n1{--t:110px;--r1:64px;--r2:15px}.n2{--t:122px;--r1:65px;--r2:19px}
  .n3{--t:126px;--r1:59px;--r2:22px}.n4{--t:100px;--r1:65px;--r2:17px}
  .n5{--t:90px; --r1:58px;--r2:24px}
  .masse-c{width:280px;height:280px}.mc-1{filter:blur(12px)}
}
@media (prefers-reduced-motion:reduce){
  .nuee,.nuee b,.nuee u,.nuee s,.nuee i,.masse-c,.mc-2{animation:none!important}
  .nuee{opacity:.5}.masse-c{opacity:1}}

/* ---------- 31. Ecrans courts (18/08/2026) ----------
   Consequence mesuree de la hauteur d'ecran imposee : sur un portable 1366x768
   avec trois barres d'outils, il ne reste que ~620 px de fenetre, alors que le
   hero pleine taille en demande 807. Resultat : les DEUX BOUTONS passaient sous
   la ligne de flottaison. Un bouton qu'on ne voit pas ne sert a rien — c'est
   pire que la bande qui depassait.
   On ne coupe rien : on resserre les respirations et on descend le titre d'un
   cran. Seuil a 820 px de HAUTEUR de fenetre, pas de largeur — c'est bien la
   hauteur qui manque. L'ecran de Mathieu (830 px) n'est pas concerne. */
@media (min-width: 721px) and (max-height: 820px) {
  .hero { padding-top: 116px; padding-bottom: 64px; }
  .hero-title { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: 18px; }
  .hero-sub { font-size: 1rem; margin-bottom: 22px; }
  .badge { margin-bottom: 18px; }
}

/* ---------- 32. Petits telephones a ecran court (18/08/2026) ----------
   Mesure sur les 3 langues x 5 ecrans : 14 cas conformes, UN seul en echec —
   l'iPhone SE (375x553) en FRANCAIS, ou les boutons passaient 13 px sous la
   ligne de flottaison. Cause : le titre francais fait une ligne de plus que
   l'anglais, et 553 px de fenetre ne l'absorbent pas.
   C'est exactement le piege du multilingue : une mise en page validee dans
   UNE langue n'est validee dans AUCUNE. On resserre les respirations, on ne
   retire rien. Seuil sur la HAUTEUR de fenetre : les autres telephones ne
   sont pas concernes. */
@media (max-width: 720px) and (max-height: 620px) {
  .hero { padding-bottom: 30px; }
  .badge { margin-bottom: 13px; padding: 5px 14px; font-size: 12px; }
  .hero-title { margin-bottom: 13px; }
  .hero-sub { margin-bottom: 19px; font-size: .95rem; }
}

/* ---------- 33. Les trois box de presentation (09/09/2026) ----------
   Ce qui etait la avant : trois fausses captures d'ecran ("Reply drafted...",
   une cliente inventee, une barre de progression). C'etait la photo d'une
   cuisine, pas la recette : joli, et muet.

   Ce qui les remplace : TROIS DESSINS DIFFERENTS, un par box, chacun autonome.
   1. l'entonnoir : large en haut, etroit en bas. Six portes d'entree, une
      sortie. La forme dit la chose avant qu'on ait lu la premiere ligne.
   2. la semaine  : une vraie grille de planning, l'objet que le manager
      regarde le dimanche soir.
   3. la pile     : trois feuilles de travers sur un coin de bureau.
   Rien n'est anime : demande explicite de Mathieu le 09/09. */

.bx-lab { font-size: 10.5px; letter-spacing: .10em; text-transform: uppercase; color: var(--taupe); display: block; }
.bx-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px;
  background: rgba(168,156,136,.10); border: 1px solid rgba(168,156,136,.26);
  font-size: 12.5px; color: rgba(255,255,255,.84); white-space: nowrap;
}
.bx-pill i { width: 5px; height: 5px; border-radius: 50%; background: var(--teal-2); flex: none; display: block; }
.bx-note { font-size: 12.5px; color: rgba(255,255,255,.58); margin-top: 14px; line-height: 1.45; }
.bx-note b { color: #9EE2EE; font-weight: 700; }
.service-text .bx-note { max-width: 520px; }

/* 1. L'entonnoir */
.bx-tonnoir { display: flex; flex-direction: column; align-items: center; gap: 11px; text-align: center; width: 100%; }
.bx-tonnoir .bx-etage { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin: 0 auto; }
.bx-tonnoir .e2 { max-width: 74%; }
.bx-tonnoir .col {
  width: 100%; max-width: 54%; border-radius: 12px; padding: 11px 14px;
  background: rgba(46,154,166,.10); border: 1px solid rgba(46,154,166,.32);
  font-size: 13px; color: rgba(255,255,255,.90);
}
.bx-tonnoir .goutte {
  max-width: 64%; border-radius: 999px; padding: 9px 16px; background: var(--teal-2); color: #fff;
  font-weight: 700; font-size: 13px;
}
.bx-pente { width: 100%; height: 16px; display: block; }
.bx-pente path { fill: none; stroke: rgba(168,156,136,.28); stroke-width: 1.5; }

/* 2. La semaine */
.bx-semaine { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.bx-jours { display: grid; grid-template-columns: repeat(7,1fr); gap: 6px; }
.bx-jour { display: flex; flex-direction: column; gap: 5px; }
.bx-jour-nom { font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--taupe); text-align: center; margin-bottom: 2px; }
.bx-shift { height: 20px; border-radius: 5px; background: rgba(46,154,166,.34); border: 1px solid rgba(158,226,238,.30); }
.bx-shift.soir { background: rgba(46,154,166,.20); }
.bx-shift.chaud { background: rgba(206,182,142,.30); border-color: rgba(206,182,142,.34); }
.bx-shift.off { background: rgba(168,156,136,.08); border: 1px dashed rgba(168,156,136,.30); }
.bx-regles { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 11px; border-top: 1px solid var(--border); }

/* 3. La pile */
.bx-pile { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.bx-feuilles { position: relative; height: 216px; margin: 6px 0 0; }
.bx-feuille {
  position: absolute; left: 0; right: 0; border-radius: 11px; padding: 12px 14px;
  background: var(--card-2); border: 1px solid rgba(168,156,136,.30);
}
.bx-feuille:nth-child(1) { top: 0;     transform: rotate(-1.3deg); }
.bx-feuille:nth-child(2) { top: 73px;  transform: rotate(.8deg); }
.bx-feuille:nth-child(3) { top: 146px; transform: rotate(-.5deg); }
.bx-feuille-tete { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 7px; }
.bx-feuille-tete strong { font-size: 13px; color: #fff; font-weight: 700; }
.bx-tampon {
  font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px;
  background: rgba(46,154,166,.18); border: 1px solid rgba(46,154,166,.38); color: #9EE2EE; white-space: nowrap;
}
.bx-feuille-ligne { font-size: 12.5px; color: rgba(255,255,255,.62); }

@media (max-width: 720px) {
  .bx-tonnoir .col, .bx-tonnoir .goutte, .bx-tonnoir .e2 { max-width: 100%; }
  .bx-jours { gap: 4px; }
  .bx-jour-nom { font-size: 9.5px; letter-spacing: 0; }
  .bx-shift { height: 16px; border-radius: 4px; }
  /* La pile de travers demande de la place. Sur telephone, les feuilles
     se remettent d'aplomb et se posent l'une sous l'autre : une feuille
     qui deborde de son coin de bureau est illisible, pas charmante. */
  .bx-feuilles { height: auto; }
  .bx-feuille { position: static; transform: none; margin-bottom: 8px; }
}
