/* =============================================================================
   CASTFLOW — Custom styles
   -----------------------------------------------------------------------------
   Complement to Tailwind CDN. Organized in 6 layers:

     1. Base           — Typography, scroll behavior
     2. Animations     — @keyframes definitions
     3. Components     — Reusable visual blocks (marquee, icons, feature cards)
     4. Utilities      — Single-purpose helpers (reveal, hero-rise, card-lift)
     5. Layout         — Header / navigation behavior
     6. Accessibility  — prefers-reduced-motion fallback
   ============================================================================= */


/* -----------------------------------------------------------------------------
   1. BASE
   -------------------------------------------------------------------------- */
*,
body {
  font-family: 'Geist', sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* CFT-2083 : la page glissait sur le cote dans le navigateur integre de Facebook, et pas
   dans Safari ni dans Chrome. Ce navigateur est un WKWebView : sa fenetre est un peu plus
   etroite que celle de Safari sur le meme telephone, et `overflow-x:hidden` sur `body`
   n'y ferme pas l'axe horizontal du document. `clip` le ferme, et contrairement a
   `hidden` il ne cree pas de conteneur de defilement : la barre collee continue de coller
   et Lenis continue de faire defiler la fenetre. C'est deja ce que fait /talent/
   (talent/v3.css, CFT-1531) ; c'est maintenant le socle de toutes les pages qui chargent
   cette feuille. Un element qui sort de la fenetre est rogne, jamais atteignable en
   glissant le doigt.
   Pas de repli en `hidden` sur `html` : sur un Safari anterieur a 16, cela creerait un
   conteneur de defilement a la racine et casserait `position:sticky`. Sans `clip`, on
   reste exactement ou l'on etait.
   `body.overflow-x-hidden` : les pages portent la classe Tailwind `overflow-x-hidden` sur
   `body`, qui gagne contre `body` seul. Elle est reprise ici pour que `body` recoive
   `clip` et non `hidden` : `hidden` ferait de `body` un conteneur de defilement, et la
   barre collee se collerait a lui au lieu de la fenetre. */
@supports (overflow: clip) {
  html, body, body.overflow-x-hidden { overflow-x: clip; }
}

/* Le défilement doux (Lenis, main.js §14) : c'est lui qui anime, pas le navigateur. */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }


/* -----------------------------------------------------------------------------
   2. ANIMATIONS — Keyframes
   -------------------------------------------------------------------------- */

/* Marquee horizontal infini (bandeau noir “Structurer l’agence…”) */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Flottement aléatoire des icônes décoratives */
@keyframes float {
  0%, 100% { transform: translateY(0)    rotate(0); }
  25%      { transform: translateY(-10px) rotate(2deg); }
  50%      { transform: translateY(5px)   rotate(-1.5deg); }
  75%      { transform: translateY(-5px)  rotate(1.5deg); }
}

/* Apparition fade + slide-up (reveal au scroll, entrée hero) */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* -----------------------------------------------------------------------------
   3. COMPONENTS
   -------------------------------------------------------------------------- */

/* — Marquee track (rangée animée infinie) */
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 50s linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}

/* — Blog slider : carrousel horizontal plein écran — auto-défilement + glisser-déposer (JS).
     initBlogSlider clone le groupe pour une boucle infinie sur n'importe quel viewport. */
.blog-slider {
  overflow-x: auto;
  scroll-behavior: auto;
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* anciens Edge/IE */
  cursor: grab;
}
.blog-slider::-webkit-scrollbar { display: none; }
.blog-slider.is-dragging { cursor: grabbing; }
.blog-track { user-select: none; }
.blog-slider img { -webkit-user-drag: none; user-select: none; }

/* — Icônes flottantes décoratives
     Variables CSS personnalisées : --duration et --delay (override inline) */
.icon-float {
  animation: float var(--duration, 8s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

/* — Feature cards : conteneur d’icônes parallaxé au mousemove (JS) */
.feature-icons {
  transition: transform 0.15s ease-out;
}

/* — Icônes fonctionnelles du Design System ─────────────────────────────────
     Système unique pour garantir taille, alignement et espacements cohérents.

     .cf-chip  : puce carrée arrondie (dégradé teal) contenant une icône
                 line-art. Utilisée dans les headers de sections et les
                 en-têtes de cards. L'icône reste noire (style sticker) :
                 lisible et nette sur le dégradé teal de la marque.
     .cf-ico   : icône inline alignée au texte (listes, statuts, étapes,
                 lignes de tableau). --invert : variante blanche sur fond sombre. */
.cf-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(180deg, #258fba, #1f5e7b);
}
.cf-chip img { object-fit: contain; }

.cf-chip--sm { width: 36px; height: 36px; border-radius: 9px; }
.cf-chip--sm img { width: 18px; height: 18px; }

.cf-chip--md { width: 44px; height: 44px; border-radius: 12px; }
.cf-chip--md img { width: 22px; height: 22px; }

.cf-ico {
  flex-shrink: 0;
  display: inline-block;
  width: 18px;
  height: 18px;
  object-fit: contain;
  vertical-align: middle;
}
.cf-ico--sm { width: 15px; height: 15px; }
.cf-ico--invert { filter: invert(1); }

/* — Feature cards : zone image, gradient teal au survol du parent .group */
.feature-card-image {
  background: #e8e6e3;
  transition: background 0.5s;
}
.group:hover .feature-card-image {
  background: linear-gradient(180deg, #258fba, #1f5e7b);
}

/* — Visuels abstraits feature cards : pulse radar + balayage rotatif */
@keyframes radar-pulse {
  0%   { transform: scale(0.4); opacity: 0.7; }
  100% { transform: scale(3);   opacity: 0;   }
}
.radar-pulse  { animation: radar-pulse 2.6s ease-out infinite; }
.radar-pulse-2 { animation: radar-pulse 2.6s ease-out infinite; animation-delay: 1.3s; }

@keyframes radar-spin {
  to { transform: rotate(360deg); }
}
.radar-beam { transform-origin: center; animation: radar-spin 7s linear infinite; }


/* -----------------------------------------------------------------------------
   4. UTILITIES — Animations contrôlées par JS / au scroll
   -------------------------------------------------------------------------- */

/* — Reveal au scroll : élément masqué, révélé via .visible (IntersectionObserver) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity   0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Stagger : délais cumulatifs pour grilles révélées simultanément */
.reveal-1 { transition-delay: 0.08s; }
.reveal-2 { transition-delay: 0.16s; }
.reveal-3 { transition-delay: 0.24s; }
.reveal-4 { transition-delay: 0.32s; }

/* — Entrée Hero au chargement (cascade au boot, sans observer) */
.hero-rise {
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-rise-1 { animation-delay: 0.05s; }
.hero-rise-2 { animation-delay: 0.18s; }
.hero-rise-3 { animation-delay: 0.31s; }
.hero-rise-4 { animation-delay: 0.44s; }
.hero-rise-5 { animation-delay: 0.57s; }
.hero-rise-6 { animation-delay: 0.70s; }

/* — Lift au survol (cards blog / FAQ) */
.card-lift {
  transition: transform  0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.card-lift:hover {
  transform: translateY(-6px);
}

/* — Blog : puces de filtre par catégorie (état actif piloté par JS initBlogFilter) */
.cat-chip {
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.cat-chip:hover {
  border-color: rgba(0, 0, 0, 0.25);
}
.cat-chip.is-active {
  background-color: #007692;
  border-color: #007692;
  color: #ffffff;
}

/* — Blog : tag (petite étiquette de catégorie sur les cards / articles) */
.tag-chip {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(0, 118, 146, 0.10);
  color: #007692;
}

/* — Article : typographie éditoriale (corps d'article long-form) */
.article-body {
  color: rgba(0, 0, 0, 0.70);
  font-size: 17px;
  line-height: 1.75;
}
.article-body p { margin: 0 0 1.5rem; }
.article-body h2 {
  font-size: 24px;
  font-weight: 500;
  color: #0a0a0a;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 2.75rem 0 1rem;
}
.article-body h3 {
  font-size: 19px;
  font-weight: 500;
  color: #0a0a0a;
  margin: 2rem 0 0.75rem;
}
.article-body ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.article-body li {
  position: relative;
  padding-left: 1.65rem;
}
.article-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #007692;
}
.article-body strong { color: #0a0a0a; font-weight: 600; }
.article-body a { color: #007692; text-decoration: underline; text-underline-offset: 2px; }
.article-body blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid #007692;
  background: #f6f4f1;
  border-radius: 0 6px 6px 0;
  font-size: 19px;
  line-height: 1.5;
  font-style: italic;
  color: #111;
}
.article-body figure { margin: 2.5rem 0; }
.article-body figcaption {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.45);
}

/* — Tableaux d'article : le wrapper scrolle horizontalement sur mobile
     pour que la page elle-même ne déborde jamais. */
.article-body .table-wrap {
  margin: 2rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.article-body table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.55;
}
.article-body thead th {
  text-align: left;
  font-weight: 600;
  color: #0a0a0a;
  padding: 0 1rem 0.7rem;
  border-bottom: 2px solid rgba(0, 118, 146, 0.35);
}
.article-body tbody td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  vertical-align: top;
}
.article-body tbody tr:last-child td { border-bottom: 0; }
.article-body th:first-child,
.article-body td:first-child { padding-left: 0; }
.article-body th:last-child,
.article-body td:last-child { padding-right: 0; }
.article-body tbody td:first-child { color: #0a0a0a; font-weight: 500; }

/* — Workflow timeline : points activés au passage de la ligne de progression (JS)
     La ligne teal #workflow-progress voit sa hauteur pilotée au scroll. */
.wf-dot {
  transition: background-color 0.45s ease,
              transform        0.45s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow        0.45s ease;
}
.wf-dot--active {
  background-color: #007692 !important;
  transform: scale(1.18);
  box-shadow: 0 0 0 5px rgba(0, 118, 146, 0.12);
}

/* — Workflow timeline : texte de chaque étape, révélé quand la ligne atteint
     son point (.is-shown ajouté par JS) → apparition séquentielle. */
.wf-step-body {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity   0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.wf-step-body.is-shown {
  opacity: 1;
  transform: none;
}
.wf-step-body h3 {
  transition: color 0.45s ease;
}
/* Étape courante (dernier point atteint) : mise en avant, plus grande. */
.wf-step-body.is-current {
  transform: scale(1.06);
  transform-origin: left center;
}
.wf-step-body.is-current h3 {
  color: #007692;
}

/* — Bento : barres de progression qui se remplissent au scroll (JS : initBentoStats).
     La largeur cible est passée via --w (inline). */
.bento-bar {
  width: 0;
  transition: width 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.bento-bar.is-filled {
  width: var(--w, 0);
}


/* -----------------------------------------------------------------------------
   5. LAYOUT — Header
   Aucune bande derrière la navbar, même au scroll : seul le pill blanc flotte
   au-dessus du contenu, avec sa propre ombre. L'ancienne bande pleine largeur
   (blanc 80 % + flou 12 px) coupait les titres en deux au défilement.
   -------------------------------------------------------------------------- */

/* Pill nav : plat en haut de page (aucune ombre), l'ombre portée
   n'apparaît qu'au scroll (header.scrolled, ajouté par JS). */
.nav-pill {
  transition: box-shadow 0.3s ease;
}
header.scrolled .nav-pill {
  box-shadow: 2px 10px 50px rgba(0, 0, 0, 0.18);
}

/* LE LOGO GARDE SES PROPORTIONS, à toutes les largeurs.
   `h-[46px]` (et `h-[36px]` sur téléphone) fige la hauteur, et la feuille
   Tailwind borne toute image à `max-width: 100%`. Quand la colonne du logo se
   resserre, seule la largeur cédait : à 1024 px, en français, les libellés ne
   laissent que 104 px au logo, qui sortait à 99 x 46 au lieu de 163 x 46,
   écrasé de 39 % sur les dix-sept pages françaises. La hauteur de la classe
   devient un PLAFOND et la largeur suit le rapport de l'image : là où la
   place manque, le logo rapetisse entier. `node seo/check-nav.js --rendu`
   le mesure sur chaque page. */
header nav img[src^="/assets/images/logo.svg"] {
  height: auto;
  width: auto;
  max-width: 100%;
}
header nav img.h-\[46px\][src^="/assets/images/logo.svg"] { max-height: 46px; }
header nav img.h-\[36px\][src^="/assets/images/logo.svg"] { max-height: 36px; }


/* -----------------------------------------------------------------------------
   6. ACCESSIBILITY — prefers-reduced-motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  /* Note: .marquee-track and .blog-track are intentionally NOT reset here.
     They are continuous decorative scrollers whose tracks are duplicated for a
     seamless loop; freezing them shows doubled static text. Keeping them animated
     avoids that broken-looking state (common cause: GNOME "Reduce Animation"). */
  .reveal,
  .hero-rise,
  .icon-float,
  .wf-dot,
  .wf-step-body,
  .bento-bar,
  .radar-pulse,
  .radar-pulse-2,
  .radar-beam {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
  /* Barres affichées pleines d'emblée, sans animation. */
  .bento-bar {
    width: var(--w) !important;
  }
}


/* -----------------------------------------------------------------------------
   MAILTO FORMS — état de confirmation après envoi
   -------------------------------------------------------------------------- */
.cf-form-sent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  max-width: 600px;
  animation: fadeUp 0.5s ease both;
}

.cf-form-sent__icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #007692;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cf-form-sent__title {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.3;
}

.cf-form-sent__sub {
  font-size: 13px;
  line-height: 1.5;
  margin-top: 3px;
}

.cf-form-sent--on-dark  { color: #fff; }
.cf-form-sent--on-dark  .cf-form-sent__sub { color: rgba(255, 255, 255, 0.7); }
.cf-form-sent--on-light { color: #0f0f0f; }
.cf-form-sent--on-light .cf-form-sent__sub { color: rgba(0, 0, 0, 0.5); }


/* -----------------------------------------------------------------------------
   7. MENU APPLICATIONS — sélecteur d'app dans la barre
   Maquette Figma « A · Panneau à icônes illustrées » (node 1436:93).
   -------------------------------------------------------------------------- */

/* — Barre desktop en trois colonnes égales.
     En flex + justify-between, le bloc de liens central se posait là où
     l'espace restant le laissait (86 px trop à gauche) et se redéplaçait à
     chaque lien ajouté. Les deux colonnes 1fr le verrouillent au centre. */
@media (min-width: 1024px) {
  .cf-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }
  .cf-nav > :last-child { justify-self: end; }
}

/* — Déclencheur « Application ▾ » */
.cf-appmenu { position: relative; }

.cf-appmenu__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.cf-appmenu__trigger:hover { opacity: 0.6; }

.cf-appmenu__chevron { transition: transform 0.2s ease; }
.cf-appmenu.is-open .cf-appmenu__chevron { transform: rotate(180deg); }

/* — Panneau déroulant */
.cf-appmenu__panel {
  position: absolute;
  top: calc(100% + 18px);
  left: -20px;
  width: 360px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #fff;
  border: 1px solid #eceef1;
  border-radius: 20px;
  box-shadow: 0 14px 36px -6px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 60;
  /* LA RANGEE DE LIENS DE LA BARRE PORTE `whitespace-nowrap`, ET LE PANNEAU
     EN HERITAIT. Les trois phrases tenaient en francais a un pixel pres ; en
     anglais « Manage your talent, your castings, your submissions. » sortait
     de 43 px HORS du rectangle blanc, par-dessus la page. Un panneau qui
     n'existe qu'au-dessus d'autre chose ne peut pas deborder : il se lit
     comme une bavure, pas comme du texte. Le meme menu sur /talent/ passe
     ces memes phrases sur deux lignes depuis toujours (v2.css, `min-width:0`
     sur la colonne de texte) — c'est ce comportement-la qu'on remet ici,
     pas une largeur accordee a une langue. */
  white-space: normal;
}

.cf-appmenu.is-open .cf-appmenu__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.cf-appmenu__eyebrow {
  padding: 8px 0 8px 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.88px;
  color: #a6adb5;
}

/* — Une entrée du menu */
.cf-appmenu__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px 12px 12px;
  border-radius: 14px;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

/* Un enfant flex refuse par defaut de descendre sous sa largeur de contenu :
   sans ce `min-width`, la colonne de texte pousse au lieu de revenir a la
   ligne, et le `white-space: normal` ci-dessus ne servirait a rien. */
.cf-appmenu__item > span:last-child { min-width: 0; }

/* — Le survol d'une entree : quatre gestes sur une seule courbe.
   Le fond se TIRE depuis la gauche au lieu d'apparaitre d'un bloc, la tuile
   s'allume aux couleurs de la marque et grossit d'un souffle, la rangee avance
   de trois pixels, et un chevron arrive par la droite pour dire que ca mene
   ailleurs. Quatre effets qui partiraient chacun de leur cote feraient du
   bruit ; groupes sur la meme courbe, ils font un mouvement.
   Tout est porte par « a.cf-appmenu__item » : l'app pas encore ouverte est un
   <div>, elle n'en recoit rien. */
.cf-appmenu__item {
  position: relative;
  isolation: isolate;
  transition: translate 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
a.cf-appmenu__item::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgba(0, 118, 146, 0.07);
  opacity: 0;
  scale: 0 1;
  transform-origin: 0 50%;
  transition: scale 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
}
a.cf-appmenu__item:hover::before { scale: 1 1; opacity: 1; }
a.cf-appmenu__item:hover { translate: 3px 0; }

.cf-appmenu__tile {
  transition: background-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              scale 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
a.cf-appmenu__item:hover .cf-appmenu__tile {
  background: rgba(0, 118, 146, 0.16);
  scale: 1.07;
}

/* le chevron est dessine avec deux bords : pas une image de plus a charger */
a.cf-appmenu__item::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -5px;
  border-right: 1.8px solid #007692;
  border-bottom: 1.8px solid #007692;
  rotate: -45deg;
  opacity: 0;
  translate: -7px 0;
  transition: opacity 0.28s ease, translate 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
a.cf-appmenu__item:hover::after { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  .cf-appmenu__item, a.cf-appmenu__item::before,
  a.cf-appmenu__item::after, .cf-appmenu__tile { transition-duration: 0.01ms; }
  a.cf-appmenu__item:hover { translate: none; }
}

/* L'app pas encore ouverte n'est pas un lien : pas de curseur, pas de survol */
.cf-appmenu__item--soon { cursor: default; }

.cf-appmenu__tile {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #f1f3f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cf-appmenu__icon { display: block; }
.cf-appmenu__icon--acteur  { width: 24px;    height: 22.04px; }
.cf-appmenu__icon--casting { width: 20.37px; height: 24px; }
.cf-appmenu__icon--agence  { width: 24px;    height: 19.9px; }

.cf-appmenu__titleline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cf-appmenu__title {
  font-size: 15px;
  font-weight: 500;
  color: #0a0a0a;
}

.cf-appmenu__item--soon .cf-appmenu__title { color: #5b6470; }

.cf-appmenu__desc {
  margin-top: 3px;
  font-size: 13px;
  color: #5b6470;
}

.cf-appmenu__badge {
  padding: 4px 9px;
  border-radius: 999px;
  background: #edf0f2;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.6px;
  color: #5b6470;
  white-space: nowrap;
}

/* — Déclinaison mobile : les deux apps listées dans le dropdown hamburger */
.cf-appmenu-m__label {
  padding: 14px 24px 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.88px;
  color: #a6adb5;
}

.cf-appmenu-m__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px 14px;
  font-size: 15px;
  font-weight: 500;
  color: #000;
  text-decoration: none;
}

.cf-appmenu-m__item--soon {
  color: #5b6470;
  cursor: default;
}


/* le champ : le bouton ne se comprime jamais, meme sur un petit ecran */

/* ═══════════════════════════════════════════════════════════════════════
   PIED DE PAGE — copie conforme de celui de /talent/
   Ecrit en CSS et non en classes Tailwind : la feuille Tailwind du site est
   pre-compilee, une valeur libre inventee apres coup n'y existe pas.
   Les cotes sont celles de la maquette, au pixel.
   ═══════════════════════════════════════════════════════════════════════ */
/* Le fond du pied est celui de la page : gris sur corps blanc, la couture
   se voyait d'un bord a l'autre de l'ecran. C'est le filet de la carte qui
   la dessine, pas un changement de fond. */
.cf-pied{background:transparent; padding:60px 16px 40px}
/* les pages dont la derniere section finit sur le creme d'un degrade :
   le pied prolonge la teinte au lieu de trancher dessus */
.cf-pied--creme{background:#f6f4f1}
.cf-pied__carte{max-width:1720px; margin:0 auto; background:#fff;
  border:1px solid #E7EBEC; border-radius:26px; padding:44px 24px 30px}
.cf-pied__haut{display:flex; flex-direction:column; gap:40px;
  align-items:flex-start; justify-content:space-between}
.cf-pied__marque{width:100%; max-width:520px}
/* La marque du pied est le LOGO, pas le mot composé en deux graisses. Le
   rendu texte s'en approchait — « Cast » en 500, « flow. » en 600 — mais la
   vraie marque a un point de couleur et un dessin de lettres qui n'est pas
   celui de la police du site. Le fichier est celui de la barre, sur le blanc
   de la carte du pied. */
.cf-pied__logo{display:block; margin-bottom:18px}
.cf-pied__logo img{display:block; height:30px; width:auto}
.cf-pied__legal{margin:0; max-width:460px; font-size:14px; line-height:23px;
  color:#3F4750}
.cf-pied__champ{display:flex; align-items:center; gap:12px; margin-top:34px;
  width:100%; max-width:560px; height:52px; border-radius:26px;
  background:#F5F6F7; border:1px solid #EDEFF1; padding:0 6px 0 22px}
.cf-pied__champ input{flex:1; min-width:0; border:0; background:none;
  font:inherit; font-size:15px; color:#0A0A0A; outline:none}
.cf-pied__champ input::placeholder{color:#6B747C}
.cf-pied__champ button{flex:0 0 auto; border:0; border-radius:999px;
  background:#0A0A0A; color:#fff; font:inherit; font-size:14px; font-weight:500;
  letter-spacing:-0.01em; height:40px; padding:0 20px; cursor:pointer;
  white-space:nowrap; transition:background-color .25s ease}
/* Même comportement que .cf-btn--primaire (norme des boutons, plus bas) */
.cf-pied__champ button:hover{background:#007692}
.cf-pied__champ button:focus-visible{outline:2px solid #007692; outline-offset:3px}
/* Le rôle sous le champ : une adresse seule n'apprend rien à qui relira la
   liste. Posé SOUS la pilule et non dedans — à 560 px un select de plus dans
   la pilule écrase le champ courriel dès que le libellé est long. */
.cf-pied__infolettre{margin-top:34px; width:100%; max-width:560px}
.cf-pied__infolettre .cf-pied__champ{margin-top:0}
.cf-pied__role{margin-top:10px; width:100%; height:44px; border-radius:22px;
  background:#F5F6F7; border:1px solid #EDEFF1; padding:0 18px;
  font:inherit; font-size:14px; color:#0A0A0A; cursor:pointer;
  appearance:none; -webkit-appearance:none;
  background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236B747C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 18px center}
.cf-pied__role:invalid{color:#6B747C}
.cf-pied__role:focus-visible{outline:2px solid #007692; outline-offset:2px}
/* Loi 25 (CFT-1387) : ce à quoi l'adresse va servir, dit au moment où on la
   donne, avec le lien vers la politique. Même gris que le texte d'appoint. */
.cf-pied__consent{margin:10px 0 0; font-size:12.5px; line-height:18px; color:#6B747C}
.cf-pied__consent a{color:inherit; text-decoration:underline; text-underline-offset:2px}
.cf-pied__consent a:hover{color:#0A0A0A}

.cf-pied__cols{display:grid; grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:32px}
.cf-pied__titre{margin:0 0 5px; font-size:13px; font-weight:600;
  letter-spacing:.06em; color:#6B747C}
.cf-pied__cols ul{margin:0; padding:0; list-style:none;
  display:flex; flex-direction:column; gap:9px}
.cf-pied__lien{font-size:15px; color:#0A0A0A; text-decoration:none;
  transition:color .25s ease}
.cf-pied__lien:hover{color:#007692}
/* l'app a venir n'est pas un lien : ton attenue et badge, comme dans le menu */
.cf-pied__soon{display:flex; flex-direction:column; align-items:flex-start; gap:5px}
.cf-pied__soon span:first-child{font-size:15px; color:#6B747C}
.cf-pied__badge{font-size:11px; font-weight:600; letter-spacing:.09em;
  color:#6B747C; background:#F0F1F2; border-radius:8px; padding:3px 8px}
.cf-pied__bas{display:flex; flex-direction:column; align-items:center;
  justify-content:space-between; gap:16px;
  margin-top:28px; padding-top:22px; border-top:1px solid #E7EBEC}
.cf-pied__soc{display:flex; gap:26px; margin-left:auto}
.cf-pied__soc a{font-size:14px; color:#0A0A0A; text-decoration:none;
  transition:color .25s ease}
.cf-pied__soc a:hover{color:#007692}

@media (min-width:640px){
  .cf-pied{padding:80px 40px 56px}
  .cf-pied__carte{padding:44px 64px 30px}
  .cf-pied__cols{grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:44px; justify-items:start}
}
@media (min-width:1024px){
  .cf-pied{padding:60px 100px 40px}
  .cf-pied__haut{flex-direction:row; gap:80px}
  .cf-pied__bas{flex-direction:row}
}


/* ═══════════════════════════════════════════════════════════════════════
   SÉCURITÉ ET PÉRENNITÉ — maquette Figma « variante A · claire » (1153:2)
   Même arbitrage que le pied de page : écrit en CSS et non en classes
   Tailwind, parce que la feuille du site est pré-compilée et qu'une valeur
   libre inventée après coup n'y existerait pas. Les cotes sont celles de la
   maquette, au pixel — seule la largeur de la carte se détend sous 1024 px,
   où les deux colonnes s'empilent.
   ═══════════════════════════════════════════════════════════════════════ */
.cf-secu{display:flex; flex-direction:column; gap:40px; max-width:1300px; margin:0 auto}

.cf-secu__promesse{display:flex; flex-direction:column; align-items:flex-start;
  gap:26px; flex:1 1 0; min-width:0}

.cf-secu__surtitre{display:inline-flex; align-items:center; gap:9px;
  padding:9px 18px 9px 16px; border-radius:999px; background:#EAF4F6;
  font-size:12px; font-weight:600; letter-spacing:1.4px; color:#007692}
.cf-secu__pastille{flex:0 0 auto; width:7px; height:7px; border-radius:999px;
  background:#007692}

.cf-secu__titre{margin:0; max-width:600px; font-size:28px; font-weight:500;
  line-height:1.1; letter-spacing:-0.02em; color:#000}
.cf-secu__intro{margin:0; max-width:545px; font-size:16px; line-height:1.55;
  color:rgba(0,0,0,.6)}

.cf-secu__actions{display:flex; flex-wrap:wrap; align-items:center; gap:14px;
  padding-top:14px}
/* La « page Sécurité » existe maintenant (/securite/, /en/securite/), donc le
   bouton secondaire mène vers elle plutôt que vers un 404. Les deux boutons
   suivent la norme .cf-btn — c'est cette section qui l'a inspirée. */

/* La base de 520 px ne vaut qu'en ligne (voir 1280 px plus bas). En colonne,
   la même déclaration devenait une HAUTEUR de 520 px, et avec un overflow
   caché la carte coupait sa troisième garantie en deux sur mobile. Plus de
   filet à rogner, donc plus d'overflow caché non plus. */
.cf-secu__carte{flex:0 0 auto; width:100%; max-width:700px; background:#fff;
  border:1px solid #E6E9EC; border-radius:28px;
  box-shadow:0 24px 56px -12px rgba(10,10,10,.07)}
.cf-secu__garanties{padding:10px 22px}

.cf-secu__garantie{display:flex; align-items:flex-start; gap:22px; padding:28px 0}
.cf-secu__garantie + .cf-secu__garantie{border-top:1px solid #EFF2F4}
.cf-secu__tuile{flex:0 0 auto; display:flex; align-items:center;
  justify-content:center; width:48px; height:48px; border-radius:16px;
  background:#EAF4F6}
/* Chaque icône garde sa largeur propre pour 24 px de haut : les quatre
   dessins n'ont pas le même rapport, une largeur unique les écraserait. */
.cf-secu__tuile img{display:block; height:24px}
.cf-secu__texte{flex:1 1 0; min-width:0}
.cf-secu__nom{margin:0 0 9px; font-size:18px; font-weight:500; line-height:26px;
  letter-spacing:-0.2px; color:#0A0A0A}
.cf-secu__desc{margin:0; font-size:15px; line-height:24px; color:rgba(0,0,0,.6)}

@media (min-width:768px){
  .cf-secu__titre{font-size:44px}
  .cf-secu__garanties{padding:10px 38px}
  .cf-secu__nom{font-size:19px}
}
@media (min-width:1024px){
  /* Le titre suit l'échelle des autres titres du site (56 px) quand la
     colonne le permet, et se resserre avec elle entre 1280 et 1900 px. */
  .cf-secu__titre{font-size:clamp(40px, 3.3vw, 56px)}
  .cf-secu__intro{font-size:17px}
}
/* Les deux colonnes ne se mettent côte à côte qu'à partir de 1280 px, et la
   carte respire au lieu d'être figée à 700. Une carte fixe écrasait la
   colonne de gauche à 184 px à 1024 et à 260 px à 1600, où la marge du site
   passe à 270 px de chaque côté : le titre y tombait sur six lignes. Elle
   retrouve les 700 px de la maquette dès que la page est assez large. */
@media (min-width:1280px){
  .cf-secu{flex-direction:row; align-items:center; gap:72px}
  .cf-secu__promesse{flex:1 1 380px; min-width:360px}
  .cf-secu__carte{flex:1 1 520px}
}
@media (min-width:1536px){
  .cf-secu{gap:100px}
}


/* ═══════════════════════════════════════════════════════════════════════
   BOUTONS — la norme du site (toutes les pages sauf /talent/, qui a sa DA)
   Une forme (la pilule), une graisse (500), deux intentions :
   - .cf-btn--primaire   l'action principale. Aplat noir, survol teal.
                         Une seule par bloc.
   - .cf-btn--secondaire l'alternative. Contour fin, fond transparent.
   Trois tailles, pas une de plus :
   - .cf-btn--s   36 px   la barre de navigation
   - (défaut)     44 px   dans le corps des pages
   - .cf-btn--l   48 px   ouverture de page et blocs d'appel à l'action
   Sur un fond foncé (teal, noir) : ajouter .cf-btn--sur-fonce. Le primaire
   devient blanc, le secondaire prend un contour clair.
   Flèche : → pour une action sur le site, ↗ (.cf-btn__sortie) pour un lien
   qui en sort. Seul le primaire en porte une ; le secondaire reste nu.
   Pas de dégradé, pas d'ombre portée, pas de lueur : c'est ce qui faisait
   « IA ». Écrit en CSS : la feuille Tailwind du site est pré-compilée.
   ═══════════════════════════════════════════════════════════════════════ */
.cf-btn{display:inline-flex; align-items:center; justify-content:center; gap:10px;
  height:44px; padding:0 22px; border:1px solid transparent; border-radius:999px;
  font-family:inherit; font-size:15px; font-weight:500; letter-spacing:-0.01em;
  line-height:1; white-space:nowrap; text-decoration:none; cursor:pointer;
  transition:background-color .25s ease, border-color .25s ease, color .25s ease}
.cf-btn:has(svg){padding-right:18px}
.cf-btn svg{flex:0 0 auto; width:14px; height:14px; transition:transform .25s ease}
.cf-btn:hover svg{transform:translateX(2px)}
.cf-btn:hover svg.cf-btn__sortie{transform:translate(2px,-2px)}
.cf-btn:hover svg.cf-btn__bas{transform:translateY(2px)}
.cf-btn:active{transform:translateY(1px)}
.cf-btn:focus-visible{outline:2px solid #007692; outline-offset:3px}

.cf-btn--primaire{background:#0A0A0A; color:#fff}
.cf-btn--primaire:hover{background:#007692}
.cf-btn--secondaire{background:transparent; border-color:rgba(0,0,0,.14); color:#0A0A0A}
.cf-btn--secondaire:hover{border-color:rgba(0,0,0,.32); background:rgba(0,0,0,.03)}

.cf-btn--s{height:36px; padding:0 16px; font-size:14px}
.cf-btn--l{height:48px; padding:0 26px; font-size:16px}
.cf-btn--l:has(svg){padding-right:22px}

.cf-btn--sur-fonce.cf-btn--primaire{background:#fff; color:#0A0A0A}
.cf-btn--sur-fonce.cf-btn--primaire:hover{background:rgba(255,255,255,.86)}
.cf-btn--sur-fonce.cf-btn--secondaire{border-color:rgba(255,255,255,.4); color:#fff}
.cf-btn--sur-fonce.cf-btn--secondaire:hover{border-color:rgba(255,255,255,.75);
  background:rgba(255,255,255,.08)}
.cf-btn--sur-fonce:focus-visible{outline-color:#fff}

/* — L’app des agences (#features de l’accueil) ─────────────────────────────
     La fenêtre de l’app (5 écrans en fondu) est centrée ; les cartes en relief
     et leurs étiquettes flottent autour, placées en % de la fenêtre (1240 × 690
     dans Figma). --u vaut 1 px Figma à la taille affichée, pour les étiquettes.

     Mouvement (seulement si main.js a posé .cf-app--anime, jamais en
     « réduire les animations ») :
       1. à l’entrée dans l’écran, la fenêtre se redresse et monte ;
       2. les reliefs puis les étiquettes arrivent l’un après l’autre ;
       3. au repos ils flottent, et suivent la souris avec un peu de profondeur ;
       4. les écrans défilent seuls, jauge dans la pastille, jusqu’au premier clic.

     Sous 1200 px : la fenêtre prend la largeur et les trois points passent dessous, en liste. */
#features{overflow-x:clip}
.cf-app{--w:min(1280px, calc((100vw - 40px) / 1.15)); --ease:cubic-bezier(.16,1,.3,1)}
.cf-app__defil{display:flex; justify-content:center;
  padding-block:calc(var(--w) * .115) calc(var(--w) * .06)}
.cf-app__plateau{position:relative; flex:none; width:var(--w); container-type:inline-size}
.cf-app__plateau::before{content:""; position:absolute; inset:-6% -10% -12%; z-index:-1;
  pointer-events:none; filter:blur(48px);
  background:radial-gradient(52% 48% at 50% 58%, rgba(0,118,146,.16), rgba(9,169,170,.06) 55%, transparent 75%)}
.cf-app__plan{--u:calc(100cqw / 1240); position:relative; transform-origin:50% 90%}

.cf-app__fenetre{position:relative; aspect-ratio:1240/690; overflow:hidden; background:#fff;
  border-radius:calc(var(--u) * 16);
  box-shadow:0 0 0 1px rgba(12,34,44,.06), 0 calc(var(--u) * 6) calc(var(--u) * 16) rgba(12,34,44,.05),
    0 calc(var(--u) * 40) calc(var(--u) * 90) calc(var(--u) * -20) rgba(12,34,44,.28)}
.cf-app__ecran{position:absolute; inset:0; width:100%; height:100%; opacity:0;
  transform:scale(1.012); transition:opacity .55s ease, transform .9s var(--ease); pointer-events:none}
.cf-app__ecran.is-actif{opacity:1; transform:none}

/* Les zones recouvrent EXACTEMENT les rangées du menu de la capture (206 × 40,
   rayon 9, à 12 px du bord). Au survol, un lavis gris comme dans l'app ; rien
   sur la rangée de la page affichée, qui est déjà la carte blanche. */
.cf-app__zone{position:absolute; left:.968%; width:16.613%; height:5.797%; z-index:2;
  padding:0; border:0; border-radius:calc(var(--u) * 9); background:transparent; cursor:pointer;
  transition:background .18s ease}
.cf-app__zone:hover{background:rgba(12,34,44,.055)}
.cf-app__zone[aria-current="page"]{cursor:default}
.cf-app__zone[aria-current="page"]:hover{background:transparent}
.cf-app__zone:focus{outline:none}

/* LA VISITE NAVIGUE COMME LA VRAIE APP (.cf-app--nav, 7 octobre 2026).
   Avant, un clic fondait une capture entière dans une autre : la barre latérale
   clignotait avec le reste, comme une page qui se recharge. Maintenant le cadre
   (barre latérale + barre du haut) est une image fixe ; les captures ne montrent
   plus que la zone de contenu ; et la sélection est la tuile blanche de l'app,
   un seul élément qui GLISSE d'une rangée à l'autre. Durées et courbe reprises
   de l'app (public/agency/css/02_sidebar.css) : 500 ms pour la course, 180 ms
   pour ce qui change sur place, cubic-bezier(.16,1,.3,1).
   Les libellés sont posés en « multiply » : au repos sur le gris de la barre
   comme sur le blanc de la tuile qui passe dessous. Images et cotes viennent de
   seo/app-agence-nav.py. */
.cf-app__cadre{position:absolute; inset:0; width:100%; height:100%; pointer-events:none}
.cf-app--nav .cf-app__ecran{z-index:1; clip-path:inset(8.406% 0 0 18.589%); transform:none; transition:none}
.cf-app--nav .cf-app__ecran.is-actif{z-index:2; animation:cf-app-page .38s cubic-bezier(.2,.7,.3,1) both}
@keyframes cf-app-page{from{opacity:0; transform:translateY(calc(var(--u) * 10))} to{opacity:1; transform:none}}
.cf-app--nav .cf-app__zone{z-index:3; left:1.048%; width:16.452%; height:5.507%; border:1px solid transparent;
  border-radius:calc(var(--u) * 8); transition:background-color .18s cubic-bezier(.16,1,.3,1), border-color .18s cubic-bezier(.16,1,.3,1)}
.cf-app--nav .cf-app__zone:hover{background:#fff; border-color:#eaeff1}
.cf-app--nav .cf-app__zone:active{background:#f3f7f8; border-color:#dfe6e9}
.cf-app--nav .cf-app__zone[aria-current="page"]:hover{background:transparent; border-color:transparent}
.cf-app__tuile{position:absolute; z-index:4; left:1.048%; width:16.452%; height:5.507%; box-sizing:border-box;
  border:1px solid #e4e9ed; border-radius:calc(var(--u) * 8); background:#fff; pointer-events:none;
  box-shadow:0 calc(var(--u) * 1) calc(var(--u) * 1) rgba(0,0,0,.05), 0 calc(var(--u) * 6) calc(var(--u) * 8) rgba(0,0,0,.06);
  transition:top .5s cubic-bezier(.16,1,.3,1)}
.cf-app__tuile i{position:absolute; left:-1px; top:50%; width:max(2px, calc(var(--u) * 3)); height:calc(var(--u) * 16);
  transform:translateY(-50%); border-radius:2px; background:#006a85}
.cf-app__rang{position:absolute; z-index:5; left:1.452%; width:15.806%; height:4.928%; pointer-events:none;
  mix-blend-mode:multiply}
.cf-app__rang img{position:absolute; inset:0; width:100%; height:100%}
.cf-app__rang img + img{opacity:0; transition:opacity .18s cubic-bezier(.16,1,.3,1)}
.cf-app__rang.is-actif img + img{opacity:1}
.cf-app__cloche{position:absolute; z-index:5; left:97.097%; top:4.203%; width:calc(var(--u) * 15); height:calc(var(--u) * 15);
  transform:translate(-50%, -50%); color:#5a666b; pointer-events:none}
@media (prefers-reduced-motion:reduce){
  .cf-app--nav .cf-app__ecran.is-actif{animation:none}
  .cf-app__tuile, .cf-app__rang img + img{transition:none}
}
.cf-app__zone:focus-visible{outline:2px solid #007692; outline-offset:2px}

.cf-app__calque{position:absolute; inset:0; pointer-events:none; z-index:3;
  opacity:0; transition:opacity .3s ease}
.cf-app__calque.is-actif{opacity:1}
.cf-app__relief, .cf-app__legende{position:absolute}
.cf-app__relief img{display:block; width:100%; height:auto}
.cf-app__legende{z-index:1}
.cf-app__etiquette{display:inline-flex; align-items:center; gap:calc(var(--u) * 8); white-space:nowrap;
  height:calc(var(--u) * 32); padding:0 calc(var(--u) * 14) 0 calc(var(--u) * 5); border-radius:999px;
  background:#0A0A0A; color:#fff; font-size:calc(var(--u) * 11); font-weight:500; line-height:1;
  letter-spacing:.07em; text-transform:uppercase;
  box-shadow:0 calc(var(--u) * 8) calc(var(--u) * 20) rgba(0,0,0,.18)}
.cf-app__etiquette b{display:grid; place-items:center; width:calc(var(--u) * 22); height:calc(var(--u) * 22);
  border-radius:50%; background:#007692; font-size:calc(var(--u) * 10); font-weight:600; letter-spacing:0}

.cf-app__pastilles{display:flex; justify-content:center; gap:4px; width:max-content; max-width:100%;
  margin:0 auto; padding:5px; border-radius:999px; background:rgba(255,255,255,.85);
  box-shadow:0 0 0 1px rgba(12,34,44,.08), 0 8px 24px -10px rgba(12,34,44,.18);
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); position:relative; z-index:5}
.cf-app__pastilles button{position:relative; height:38px; padding:0 18px; border:0; border-radius:999px;
  background:transparent; color:rgba(10,10,10,.62); font:inherit; font-size:14px; font-weight:500;
  white-space:nowrap; cursor:pointer; transition:background .3s ease, color .3s ease}
.cf-app__pastilles button:hover{color:#0A0A0A; background:rgba(12,34,44,.05)}
.cf-app__pastilles button[aria-pressed="true"]{background:#0A0A0A; color:#fff}
.cf-app__pastilles button:focus{outline:none}
.cf-app__pastilles button:focus-visible{outline:2px solid #007692; outline-offset:2px}
/* La jauge de la visite automatique : un filet de 2 px sous le nom, dans une
   boîte droite (pas de coins arrondis à rogner, donc pas de bord crénelé). */
.cf-app__jauge{position:absolute; left:18px; right:18px; bottom:6px; height:2px; border-radius:2px;
  background:rgba(255,255,255,.22); opacity:0; transition:opacity .3s ease}
.cf-app__jauge i{display:block; height:100%; border-radius:inherit; background:#fff;
  transform:scaleX(0); transform-origin:left}
.cf-app__pastilles button.is-joue .cf-app__jauge{opacity:1}
.cf-app__pastilles button.is-joue .cf-app__jauge i{animation:cf-app-jauge var(--cf-app-duree, 6.5s) linear forwards}
.cf-app.is-pause .cf-app__jauge i{animation-play-state:paused}
@keyframes cf-app-jauge{to{transform:scaleX(1)}}

/* ── Mouvement ── */
/* La fenêtre ne garde AUCUNE transformation au repos : une fois l'entrée jouée
   (.is-pose), le navigateur la redessine à plat, au pixel, et le texte des
   captures reste net. Pas d'inclinaison à la souris sur elle pour la même raison. */
.cf-app--anime .cf-app__plan{opacity:0; transform:perspective(2400px) translateY(70px) rotateX(16deg) scale(.94);
  transition:opacity 1s ease, transform 1.4s var(--ease)}
.cf-app--anime.is-vu .cf-app__plan{opacity:1; transform:perspective(2400px) translateY(0) rotateX(0) scale(1)}
.cf-app--anime.is-pose .cf-app__plan{transform:none; transition:none}

.cf-app--anime .cf-app__relief, .cf-app--anime .cf-app__legende{
  transform:translate3d(calc(var(--px, 0) * var(--z) * 1px), calc(var(--py, 0) * var(--z) * 1px), 0)}
.cf-app--anime .cf-app__pop{opacity:0; transform:translate3d(0, 26px, 0) scale(.9);
  transition:opacity .25s ease, transform .3s ease}
.cf-app--anime .cf-app__legende .cf-app__pop{transform:translate3d(0, 12px, 0) scale(.85)}
.cf-app--anime.is-vu .cf-app__calque.is-actif .cf-app__pop{opacity:1; transform:none;
  transition:opacity .5s ease calc(var(--base, .75s) + var(--i) * 140ms),
    transform .95s cubic-bezier(.34,1.45,.5,1) calc(var(--base, .75s) + var(--i) * 140ms)}
.cf-app--anime.is-vu .cf-app__calque.is-actif .cf-app__legende .cf-app__pop{
  transition-delay:calc(var(--base, .75s) + var(--i) * 140ms + 220ms)}
.cf-app--anime.is-pose{--base:.18s}
.cf-app--anime .cf-app__relief img{animation:cf-app-flotte var(--d, 7s) ease-in-out infinite alternate;
  animation-delay:calc(var(--i) * -1.7s)}
@keyframes cf-app-flotte{from{transform:translate3d(0, 0, 0)} to{transform:translate3d(0, calc(var(--u) * -9), 0)}}

/* ── Tablette et téléphone (≤ 1199 px) ──
   Autour d'une fenêtre de moins de 1000 px, les reliefs flottants se
   chevauchent et leurs étiquettes tombent sous 8 px. On change donc de mise en
   page plutôt que de rétrécir : la fenêtre prend toute la largeur (plus de
   défilement de côté), et les trois points de l'écran affiché passent SOUS
   elle, en liste — étiquette numérotée puis carte en relief, lisibles au doigt.
   Les styles en ligne des reliefs (left/top/width) sont annulés ici. */
@media (max-width:1199px){
  .cf-app{--w:100%}
  .cf-app__defil{display:block; padding:28px 0 0}
  .cf-app__plateau{width:100%; max-width:760px; margin:0 auto}
  .cf-app__plateau::before{inset:-4% -6% 30%}
  .cf-app__fenetre{border-radius:12px}

  .cf-app__calque{position:static; display:none; opacity:1; pointer-events:auto;
    grid-template-columns:minmax(0, 1fr); justify-items:center; gap:6px;
    max-width:460px; margin:34px auto 0; transition:none}
  .cf-app__calque.is-actif{display:grid}
  .cf-app__relief, .cf-app__legende{position:static !important; width:auto !important;
    left:auto !important; top:auto !important; transform:none !important}
  /* Les exports gardent leur ombre douce : ~15 % de transparent sous la carte
     et ~9 % de chaque côté. La marge négative rapproche l'étiquette suivante. */
  .cf-app__relief{width:100% !important; margin-bottom:-8%}
  .cf-app__relief img{width:100%; max-width:100%; height:auto; margin:0 auto; animation:none !important}
  .cf-app__legende:nth-child(4){grid-row:1} .cf-app__relief:nth-child(1){grid-row:2}
  .cf-app__legende:nth-child(5){grid-row:3} .cf-app__relief:nth-child(2){grid-row:4}
  .cf-app__legende:nth-child(6){grid-row:5} .cf-app__relief:nth-child(3){grid-row:6}
  .cf-app__etiquette{gap:8px; height:32px; padding:0 14px 0 5px; font-size:11.5px;
    box-shadow:0 8px 20px rgba(0,0,0,.14)}
  .cf-app__etiquette b{width:22px; height:22px; font-size:10.5px}

  /* Dans la liste, pas de ressort ni de parallaxe : un simple fondu montant. */
  .cf-app--anime .cf-app__pop{transform:translate3d(0, 14px, 0)}
  .cf-app--anime .cf-app__legende .cf-app__pop{transform:translate3d(0, 8px, 0)}
  .cf-app--anime.is-vu .cf-app__calque.is-actif .cf-app__pop{transform:none;
    transition:opacity .45s ease calc(.15s + var(--i) * 110ms), transform .6s var(--ease) calc(.15s + var(--i) * 110ms)}
  .cf-app--anime.is-vu .cf-app__calque.is-actif .cf-app__legende .cf-app__pop{
    transition-delay:calc(.05s + var(--i) * 110ms)}
}
@media (max-width:767px){
  .cf-app__defil{padding-top:22px}
  .cf-app__fenetre{border-radius:8px}
  .cf-app__calque{max-width:350px; margin-top:24px; gap:4px}
  .cf-app__relief{width:104% !important; margin-bottom:-6%}
  /* CFT-1588 : la barre defilait a l'horizontale et coupait « Decouverte » et
     « Agenda » sur les bords de l'ecran. Le premier correctif l'a mise a la
     ligne (flex-wrap), mais sur un iPhone 14 (390 px) les cinq onglets ne
     tenaient pas et « Agenda » restait seul sur une deuxieme ligne. Les cinq
     onglets tiennent donc maintenant sur UNE seule ligne : taille de texte et
     padding fluides (en vw, avec un plancher lisible) pour que la somme tienne
     sans defilement ni rognage, meme sur un ecran plus etroit. Sans debordement
     (scrollWidth <= clientWidth), le rappel-au-centre plus bas (JS,
     initAppAgence) ne fait simplement rien ici. */
  .cf-app__pastilles{flex-wrap:nowrap; justify-content:center; gap:2px; padding:5px clamp(2px,1vw,5px);
    width:auto; max-width:100%}
  .cf-app__pastilles button{height:36px; padding:0 clamp(6px,1.6vw,12px); font-size:clamp(10.5px,3vw,13.5px)}
  .cf-app__jauge{left:clamp(6px,1.6vw,12px); right:clamp(6px,1.6vw,12px); bottom:5px}
}
@media (prefers-reduced-motion:reduce){
  .cf-app__ecran{transition:none}
}


/* -----------------------------------------------------------------------------
   LES 5 MODES DE TRAVAIL — Figma v2-castflow, section 1617:39
   Posée sur l'accueil juste après l'app des agences, et sur Produit après les
   fonctionnalités. Cinq cartes rangées du plus manuel au plus automatique.
   Teintes par mode : Nota #6B5E8A · Initio #2C5C8A · Muda #3F7A4E ·
   Formuda #006A85 (recommandé) · Cinet #B4552F. Fin de section : un bouton de démo.
   -------------------------------------------------------------------------- */
.cf-modes {
  background: #fff;
  padding-top: 64px;
  padding-bottom: 72px;
}
@media (min-width: 768px) {
  .cf-modes { padding-top: 120px; padding-bottom: 130px; }
}

.cf-modes__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.cf-modes__tete {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.cf-modes__pastille {
  padding: 7px 14px 7px 13px;
  border-radius: 999px;
  background: #f6f4f1;
  font-size: 14px;
  font-weight: 500;
  color: #0a0a0a;
}

.cf-modes__sous {
  font-size: 17px;
  line-height: 1.4;
  color: #000;
}

/* — L'axe : qui fait le travail */
.cf-modes__axe {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.cf-modes__axe span:first-child { color: #6b7280; }
.cf-modes__axe span:last-child  { color: #b4552f; }
.cf-modes__axe i {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(to right, #d3dbe0, #b4552f);
}

/* — Les cartes */
.cf-modes__cartes {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.cf-mode {
  --mode: #6b7280;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 22px 24px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
}
.cf-mode--nota    { --mode: #6b5e8a; --mode-10: rgba(107, 94, 138, 0.10); --mode-12: rgba(107, 94, 138, 0.12); }
.cf-mode--initio  { --mode: #2c5c8a; --mode-10: rgba(44, 92, 138, 0.10);  --mode-12: rgba(44, 92, 138, 0.12); }
.cf-mode--muda    { --mode: #3f7a4e; --mode-10: rgba(63, 122, 78, 0.10);  --mode-12: rgba(63, 122, 78, 0.12); }
.cf-mode--formuda { --mode: #006a85; --mode-10: rgba(0, 106, 133, 0.10);  --mode-12: rgba(0, 106, 133, 0.12); }
.cf-mode--cinet   { --mode: #b4552f; --mode-10: rgba(180, 85, 47, 0.10);  --mode-12: rgba(180, 85, 47, 0.12); }

.cf-mode--recommande {
  background: #f4fafb;
  border: 1.5px solid rgba(0, 106, 133, 0.45);
}

.cf-mode__badge {
  position: absolute;
  top: -12.5px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 10px;
  border-radius: 99px;
  background: #006a85;
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.6px;
  white-space: nowrap;
}

.cf-mode__haut {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cf-mode__tuile {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--mode-10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cf-mode__tuile img { display: block; }
.cf-mode--nota    .cf-mode__tuile img { width: 19.95px; height: 26px; }
.cf-mode--initio  .cf-mode__tuile img { width: 26px;    height: 23.36px; }
.cf-mode--muda    .cf-mode__tuile img { width: 26px;    height: 22.58px; }
.cf-mode--formuda .cf-mode__tuile img { width: 26px;    height: 23.87px; }
.cf-mode--cinet   .cf-mode__tuile img { width: 24.5px;  height: 26px; }

/* Jauge à 5 points : combien Castflow fait à votre place */
.cf-mode__jauge { display: flex; gap: 4px; }
.cf-mode__jauge i {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: #e5e7eb;
}
.cf-mode__jauge i.on { background: var(--mode); }

.cf-mode__nom {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.6px;
  line-height: 1.2;
  color: var(--mode);
}

.cf-mode__promesse {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.cf-mode__promesse strong { font-size: 17px; font-weight: 500; color: #0a0a0a; }
.cf-mode__promesse span   { font-size: 14px; line-height: 1.4; color: #6b7280; }

.cf-mode__filet { height: 1px; background: #e5e7eb; }

.cf-mode__libelle {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.84px;
  color: #9ca3af;
}

.cf-mode__etapes {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cf-mode__etapes li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: #0a0a0a;
}
.cf-mode__etapes b {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 99px;
  background: var(--mode-12);
  color: var(--mode);
  font-size: 11px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* — L'appel à l'action sous les cartes */
.cf-modes__cta { display: flex; justify-content: center; }

/* — Tablette (768–1199) : 3 cartes puis 2, centrées — même largeur de carte
     qu'au bureau (≈ 235 px), rien à faire défiler. */
@media (max-width: 1199px) {
  .cf-modes__cartes { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 30px; }
  .cf-mode { grid-column: span 2; }
  .cf-mode:nth-child(4) { grid-column: 2 / span 2; }
}

/* — Téléphone : un carrousel au doigt, une carte à la fois, la suivante
     dépasse du bord pour montrer qu'on peut glisser. Les points dessous sont
     ajoutés par main.js (module 14) ; sans JS le carrousel marche quand même. */
@media (max-width: 767px) {
  .cf-modes { --bord: 16px; }
  .cf-modes__inner { gap: 28px; }
  .cf-modes__sous { font-size: 15px; }
  .cf-modes__axe { gap: 10px; font-size: 12.5px; }
  .cf-modes__cartes {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--bord);
    scrollbar-width: none;
    margin-inline: calc(-1 * var(--bord));
    padding: 16px var(--bord) 6px;
  }
  .cf-modes__cartes::-webkit-scrollbar { display: none; }
  .cf-mode, .cf-mode:nth-child(4) { flex: 0 0 min(84%, 320px); scroll-snap-align: start; }
  .cf-mode:last-child { scroll-snap-align: end; }
  .cf-modes__points { display: flex; justify-content: center; gap: 8px; margin-top: -10px; }
  .cf-modes__points button {
    width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px;
    background: #d6dadf; cursor: pointer; transition: width .25s ease, background-color .25s ease;
  }
  .cf-modes__points button[aria-current="true"] { width: 22px; background: var(--mode, #0a0a0a); }
  .cf-modes__cta .cf-btn { width: 100%; max-width: 360px; justify-content: center; }
}
@media (min-width: 640px) and (max-width: 767px) { .cf-modes { --bord: 24px; } }
@media (min-width: 768px) { .cf-modes__points { display: none; } }


/* -----------------------------------------------------------------------------
   À PROPOS — EN-TÊTE « LES HUMAINS DERRIÈRE CASTFLOW »
   Figma v2-castflow, cadre 1646:2 (N3b · G1 · crème du site, cartes blanches).
   Remplace la photo plein cadre. La barre du site reste celle de toutes les
   pages : la section remonte sous elle (marge négative) pour que le crème
   passe derrière la pilule.
   Grille bureau : carte titre 560 × 787 + 2 × 2 cartes de 350 × 384, 20 d'écart.
   -------------------------------------------------------------------------- */
.cf-apropos {
  background: #f6f4f1;
  margin-top: -80px;
  padding-top: 104px;
  padding-bottom: 56px;
}
@media (min-width: 1024px) {
  .cf-apropos { margin-top: -91px; padding-top: 118px; padding-bottom: 96px; }
}

.cf-apropos__grille {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 560fr 350fr 350fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.cf-apropos__case {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  /* filet intérieur plutôt que border : les portraits sont placés en % de la carte entière */
  box-shadow: inset 0 0 0 1px #e9e5de, 0 16px 40px -8px rgba(12, 34, 44, 0.06), 0 1px 2px rgba(12, 34, 44, 0.05);
}

/* — La carte titre */
.cf-apropos__titre {
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 47px 47px 49px;
}

.cf-apropos__icone {
  width: 64px;
  height: 64px;
  display: block;
  flex-shrink: 0;
}

.cf-apropos__surtitre {
  margin-top: 36px;
  font-size: 15px;
  font-weight: 500;
  color: #007692;
}

.cf-apropos__titre h1 {
  margin-top: 16px;
  max-width: 464px;
  font-size: clamp(42px, 5.2vw, 68px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #0c222c;
}
.cf-apropos__titre h1 span { color: #007692; letter-spacing: -0.01em; }

.cf-apropos__intro {
  margin-top: 32px;
  max-width: 420px;
  font-size: 20px;
  line-height: 1.45;
  color: rgba(12, 34, 44, 0.72);
}

.cf-apropos__titre .cf-btn { margin-top: 36px; }

.cf-apropos__equipe {
  margin-top: auto;
  padding-top: 24px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(12, 34, 44, 0.1);
}

.cf-apropos__avatars { display: flex; flex-shrink: 0; }
.cf-apropos__avatars img {
  width: 62px;
  height: 62px;
  margin: -3px;
  display: block;
}
.cf-apropos__avatars img + img { margin-left: -15px; }

.cf-apropos__legende { display: flex; flex-direction: column; gap: 2px; font-weight: 500; }
.cf-apropos__legende strong { font-size: 16px; font-weight: 500; color: #0c222c; }
.cf-apropos__legende span   { font-size: 14px; color: #006a85; }

/* — Les cartes portrait (350 × 384 dans la maquette : tout est en % de la carte) */
.cf-apropos__portrait { aspect-ratio: 350 / 384; }
.cf-apropos__portrait img {
  position: absolute;
  top: 21.48%;
  height: 82.81%;
  object-fit: contain;
}
.cf-apropos__portrait--julien  img { left: 8.57%; width: 82.57%; }
.cf-apropos__portrait--charbel img { left: 5.14%; width: 89.14%; }
.cf-apropos__portrait--jules   img { left: 8%;    width: 83.71%; }

.cf-apropos__nom {
  position: absolute;
  top: 17px;
  left: 17px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #f3f1ec;
  font-weight: 500;
  white-space: nowrap;
}
.cf-apropos__nom strong { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; color: #0c222c; }
.cf-apropos__nom span   { font-size: 13px; color: #006a85; }

/* — La carte mission */
.cf-apropos__mission {
  aspect-ratio: 350 / 384;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 32px 28px 39px 32px;
  background: #006a85;
  box-shadow: 0 16px 40px -8px rgba(12, 34, 44, 0.06), 0 1px 2px rgba(12, 34, 44, 0.05);
}
.cf-apropos__mission p { font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, 0.75); }
.cf-apropos__mission strong {
  max-width: 290px;
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #fff;
}

/* — Tablette : la carte titre passe au-dessus, les 4 cartes en 2 × 2 dessous */
@media (max-width: 1023px) {
  .cf-apropos__grille { grid-template-columns: 1fr 1fr; }
  .cf-apropos__titre { grid-row: auto; grid-column: 1 / -1; padding: 36px 32px; }
  .cf-apropos__equipe { margin-top: 40px; }
}

/* — Téléphone : tout en une colonne */
@media (max-width: 599px) {
  .cf-apropos__grille { grid-template-columns: 1fr; gap: 14px; }
  .cf-apropos__titre { padding: 28px 22px 26px; }
  .cf-apropos__surtitre { margin-top: 26px; }
  .cf-apropos__intro { margin-top: 20px; font-size: 17px; }
  .cf-apropos__titre .cf-btn { margin-top: 26px; }
  .cf-apropos__equipe { margin-top: 30px; padding-top: 20px; }
  .cf-apropos__legende strong { font-size: 15px; }
}

/* --------------------------------------------------------------------------
   LE MENU DE LA REFONTE (6 octobre 2026)
   Figma « Castflow - Refonte », page « Menu · refonte » : la barre retenue
   (1246:94, pilule blanche, onglet actif en pastille, un seul bouton noir) et
   le panneau « Menu B » (1241:397, trois apps et un appel, sous la barre).
   Ce bloc recouvre les règles .cf-nav et .cf-appmenu__panel écrites plus haut ;
   les anciennes .cf-appmenu__item ne servent plus à aucune page de la barre.
   L'ouverture reste celle de main.js (.is-open au clic).
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  .cf-nav.cf-nav {
    position: relative;
    height: 72px;
    padding: 0 20px 0 28px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  }
  .cf-nav > a:first-child img { width: 116px; height: 34px; }
  /* Les liens sont centrés sur la BARRE : son retrait est de 28 à gauche et de 20
     à droite, la grille les posait donc 4 px trop à droite. Une marge, pas un
     décalage en position ou en transform : ceux-là feraient des liens le repère
     du panneau, qui doit prendre la largeur de la barre. */
  .cf-nav > div:nth-child(2) { gap: 2px; color: #111110; margin-left: -8px; }
  .cf-nav > div:last-child { gap: 12px; }
}

/* — Les liens : une pastille grise porte l'onglet actif, et le survol */
.cf-nav__lien,
.cf-nav .cf-appmenu__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 999px;
  line-height: 1;
  color: #111110;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.cf-nav__lien:hover,
.cf-nav .cf-appmenu__trigger:hover { opacity: 1; background: rgba(17, 17, 16, 0.04); }
.cf-nav__lien.is-actif { background: rgba(17, 17, 16, 0.07); }
.cf-nav .cf-appmenu.is-open .cf-appmenu__trigger { background: rgba(17, 17, 16, 0.07); color: #007692; }

/* — La langue */
.cf-nav [aria-label="Language"] { gap: 0; margin-right: 0; }
.cf-nav [aria-label="Language"] a { padding: 4px; color: #6b747c; }
.cf-nav [aria-label="Language"] a[aria-current] { color: #111110; }
.cf-nav [aria-label="Language"] span { color: rgba(107, 116, 124, 0.5); }

/* — Le panneau : il prend toute la largeur de la barre, 20 px dessous */
.cf-nav .cf-appmenu { position: static; }
.cf-appmenu__panel.cf-menu {
  top: calc(100% + 20px);
  left: 0;
  right: 0;
  width: auto;
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(0, 560fr) minmax(0, 312fr) minmax(0, 312fr);
  gap: 16px;
  border: 0;
  border-radius: 36px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.3s;
  text-align: left;
  font-weight: 400;
}
.cf-appmenu.is-open .cf-appmenu__panel.cf-menu { transform: none; }

.cf-menu__app {
  position: relative;
  display: block;
  height: 340px;
  overflow: hidden;
  border-radius: 24px;
  color: #fff;
  text-decoration: none;
}
.cf-menu__app--acteurs { background: linear-gradient(27.1deg, #007692 21.7%, #009dc2 99.2%); }
.cf-menu__app--studio { background: #111110; }
.cf-menu__app--bientot { background: #f5f6f7; cursor: default; }
a.cf-menu__app:focus-visible, .cf-menu__cta:focus-visible { outline: 2px solid #007692; outline-offset: 3px; }

.cf-menu__texte { position: absolute; top: 24px; left: 24px; right: 24px; display: flex; flex-direction: column; gap: 8px; }
.cf-menu__titre { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 19px; font-weight: 500; line-height: 1.2; letter-spacing: -0.015em; }
.cf-menu__titre--pile { flex-direction: column; align-items: flex-start; gap: 8px; }
.cf-menu__version {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cf-menu__desc { max-width: 240px; font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, 0.78); }
.cf-menu__app--bientot .cf-menu__titre { color: #6b747c; }
.cf-menu__app--bientot .cf-menu__version { background: rgba(17, 17, 16, 0.07); color: #6b747c; }
.cf-menu__app--bientot .cf-menu__desc { max-width: 180px; color: rgba(63, 71, 80, 0.7); }
.cf-menu__clap { position: absolute; right: 20px; top: 82px; width: 56px; height: 66.5px; }
/* — Studio et Directeur de casting empilés dans une colonne (bento, Figma 1597:134) */
.cf-menu__pile { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.cf-menu__pile .cf-menu__app { height: 162px; }
/* sous 1240 px, la colonne fait 220 px : le portable et le clap couvriraient le texte */
@media (max-width: 1239px) { .cf-menu__portable, .cf-menu__clap { display: none; } }

/* — Les visuels : ceux des cartes « Acteur ou agence » (612 de large),
     réduits à 47,7 % et centrés dans la carte. Les cotes intérieures restent
     donc celles de la grande maquette (1150:81). */
.cf-menu__visuel {
  position: absolute;
  left: 50%;
  top: 190px;
  width: 612px;
  height: 320px;
  margin-left: -146px;
  transform: scale(0.47713);
  transform-origin: 0 0;
  pointer-events: none;
}
/* les téléphones à 74,5 % (×1,25 de l'ancien panneau), centrés dans la grande carte */
.cf-menu__tels { top: 140px; margin-left: -228.1px; transform: scale(0.7455); }
/* le portable à 23,9 %, calé en bas à droite de la carte Studio */
.cf-menu__portable { left: calc(100% - 152px); top: 100px; margin-left: 0; transform: scale(0.23856); }
.cf-menu__tel {
  position: absolute;
  width: 168px;
  height: 346px;
  overflow: hidden;
  border-radius: 32px;
  background: #0e0f11;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  /* chaque téléphone sur son propre calque : sans ça, Chrome laisse des traits noirs
     (le bord du téléphone) là où il était avant de monter au survol */
  will-change: transform;
  backface-visibility: hidden;
  isolation: isolate;
}
.cf-menu__tel::before { content: ''; position: absolute; inset: 6px; border-radius: 25px; background: linear-gradient(61deg, #007692 21.7%, #009dc2 99.2%); }
.cf-menu__tel::after { content: ''; position: absolute; top: 16px; left: 59px; width: 50px; height: 11px; border-radius: 100px; background: #0e0f11; }
.cf-menu__tel img { position: absolute; top: 110px; width: auto; height: 78px; max-width: none; }
.cf-menu__tel--g { left: 124.77px; top: 30.79px; transform: rotate(-10deg); }
.cf-menu__tel--g img { left: 41.75px; }
.cf-menu__tel--d { left: 316.68px; top: 59.96px; transform: rotate(10deg); }
.cf-menu__tel--d img { left: 39.04px; }
.cf-menu__tel--c { left: 222px; top: 14px; }
.cf-menu__tel--c img { top: 118px; left: 36px; width: 96px; height: 28.14px; }
.cf-menu__ecran {
  position: absolute;
  left: 110px;
  top: 0;
  width: 392px;
  height: 231.315px;
  overflow: hidden;
  border-radius: 15.892px;
  background: #0e0f11;
}
.cf-menu__ecran::before { content: ''; position: absolute; inset: 10.595px; border-radius: 7.063px; background: linear-gradient(25.5deg, #007692 21.7%, #009dc2 99.2%); }
.cf-menu__ecran img { position: absolute; left: 94.03px; top: 98.44px; width: 221px; height: 34px; max-width: none; }
.cf-menu__socle { position: absolute; left: 76px; top: 231.315px; width: 460px; height: 12px; border-radius: 2px 2px 10px 10px; background: linear-gradient(#dbe0e5, #b2bac2); }
.cf-menu__ecran, .cf-menu__socle { transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }

/* — L'appel, à droite */
.cf-menu__appel { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; height: 340px; padding: 24px; border: 1px solid #e4e7ea; border-radius: 24px; background: #fff; white-space: normal; }
.cf-menu__appel-texte { display: flex; flex-direction: column; gap: 8px; }
.cf-menu__appel-texte p { margin: 0; }
.cf-menu__autocollant { position: absolute; right: 36px; top: 156px; width: 114px; height: 99px; max-width: none; transform: rotate(8deg); pointer-events: none; }
.cf-menu__question { max-width: none; font-size: 24px; font-weight: 500; line-height: 1.1; letter-spacing: -0.025em; color: #111110; }
.cf-menu__reponse { font-size: 14px; line-height: 1.4; color: #3f4750; }
/* le bouton au rond fléché, avec le survol des pages de la refonte : son
   double inversé (teal) est révélé par un cercle parti du rond */
.cf-menu__cta, .cf-menu__cta-sur { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 8px 0 26px; white-space: nowrap; }
.cf-menu__cta {
  position: relative;
  z-index: 0;
  overflow: hidden;
  height: 52px;
  border-radius: 999px;
  background: #111110;
  color: #fefefe;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.55s cubic-bezier(0.16, 1, 0.3, 1), background-color 0s linear 0s;
}
.cf-menu__cta-rond { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: #111110; }
.cf-menu__cta-rond svg { position: absolute; inset: 10px; width: 16px; height: 16px; }
.cf-menu__cta-sur { position: absolute; inset: 0; background: #007692; color: #fff; clip-path: circle(0 at calc(100% - 26px) 50%); transition: clip-path 0.78s cubic-bezier(0.16, 1, 0.3, 1); }
.cf-menu__cta-sur .cf-menu__cta-rond { color: #007692; }

/* — Mouvement : les cartes arrivent l'une après l'autre à l'ouverture ; au
     survol, les téléphones s'écartent et le portable monte (comme sur les
     cartes « Acteur ou agence » des pages). */
.cf-menu > * { opacity: 0; transform: translateY(14px); transition: opacity 0.45s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.cf-appmenu.is-open .cf-menu > * { opacity: 1; transform: none; }
.cf-appmenu.is-open .cf-menu > :nth-child(2) { transition-delay: 0.06s; }
.cf-appmenu.is-open .cf-menu > :nth-child(3) { transition-delay: 0.12s; }
.cf-appmenu.is-open .cf-menu > :nth-child(4) { transition-delay: 0.18s; }
@media (hover: hover) and (pointer: fine) {
  a.cf-menu__app:hover .cf-menu__tel--g { transform: translate(-44px, -40px) rotate(-14deg); }
  a.cf-menu__app:hover .cf-menu__tel--d { transform: translate(44px, -40px) rotate(14deg); }
  a.cf-menu__app:hover .cf-menu__tel--c { transform: translateY(-52px); }
  a.cf-menu__app:hover .cf-menu__ecran,
  a.cf-menu__app:hover .cf-menu__socle { transform: translateY(-44px); }
  .cf-menu__cta:hover { transform: translateY(-2px); background: #007692; box-shadow: 0 14px 30px rgba(10, 10, 10, 0.22);
    transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.55s cubic-bezier(0.16, 1, 0.3, 1), background-color 0s linear .3s; }
  .cf-menu__cta:hover .cf-menu__cta-sur { clip-path: circle(145% at calc(100% - 26px) 50%); }
}
@media (prefers-reduced-motion: reduce) {
  .cf-appmenu__panel.cf-menu, .cf-menu > *, .cf-menu__tel, .cf-menu__ecran, .cf-menu__socle,
  .cf-menu__cta, .cf-menu__cta:hover, .cf-menu__cta-sur { transition: none; }
  .cf-menu > *, .cf-menu__cta:hover { transform: none; }
}

/* Le pied entre 1024 et 1239 : le bloc d'inscription au-dessus des colonnes de
   liens, comme sur tablette, tant que les deux ne tiennent pas côte à côte. */
@media (min-width:1024px) and (max-width:1239px){
  .cf-pied__haut{flex-direction:column; gap:40px}
}
/* La barre à 1024 : un peu d'air entre le dernier lien et les langues. */
@media (min-width:1024px) and (max-width:1099px){
  .cf-nav [aria-label="Language"]{margin-left:10px}
}

/* ═══════════════════════════════════════════════════════════════════════
   LE MENU SUR TÉLÉPHONE (7 octobre 2026)
   Le tiroir de /talent/, repris tel quel sur toutes les pages : les trois
   apps avec leur icône et leur phrase, les liens, la langue, puis le bouton.
   Seul le bouton change : « Se connecter » ici, la waitlist sur /talent/.
   Le balisage est écrit en dur dans chaque page (id="mobile-menu") ;
   main.js l'ouvre et le ferme.
   ═══════════════════════════════════════════════════════════════════════ */
.cf-burger{position:relative; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:3.5px;
  width:36px; height:36px; padding:0; border:0; border-radius:50%; background:none; cursor:pointer;
  -webkit-tap-highlight-color:transparent}
.cf-burger::after{content:""; position:absolute; inset:-4px}
.cf-burger i{display:block; width:15px; height:1.5px; border-radius:2px; background:#000;
  transition:transform .34s cubic-bezier(.16,1,.3,1), opacity .2s linear}
.cf-burger[aria-expanded="true"] i:nth-child(1){transform:translateY(5px) rotate(45deg)}
.cf-burger[aria-expanded="true"] i:nth-child(2){opacity:0}
.cf-burger[aria-expanded="true"] i:nth-child(3){transform:translateY(-5px) rotate(-45deg)}
.cf-burger:focus-visible{outline:2px solid #007692; outline-offset:2px}

.cf-tiroir{position:fixed; inset:0; z-index:60; pointer-events:none}
.cf-tiroir[hidden]{display:none}
.cf-tiroir__fond{position:absolute; inset:0; background:rgba(11,20,30,.34); opacity:0; transition:opacity .34s linear;
  pointer-events:auto}
.cf-tiroir.on .cf-tiroir__fond{opacity:1}
/* le panneau part de sous la barre (qui finit à 70) et descend */
.cf-tiroir__panneau{position:absolute; top:82px; left:16px; right:16px; max-width:420px; margin-left:auto;
  max-height:calc(100vh - 98px); max-height:calc(100dvh - 98px); overflow-y:auto; overscroll-behavior:contain;
  padding:18px 18px 20px; border-radius:26px; background:#fff; box-shadow:0 26px 60px rgba(11,20,30,.18);
  color:#0A0A0A; pointer-events:auto;
  opacity:0; transform:translateY(-14px) scale(.98); transform-origin:100% 0;
  transition:opacity .28s cubic-bezier(.2,.7,.3,1), transform .46s cubic-bezier(.16,1,.3,1)}
.cf-tiroir.on .cf-tiroir__panneau{opacity:1; transform:none}
.cf-tiroir__eb{margin:0 0 10px 8px; font-size:11px; font-weight:600; letter-spacing:.09em; color:#6B747C}
.cf-tiroir__appli{display:flex; align-items:flex-start; gap:12px; padding:10px; border-radius:16px;
  text-decoration:none; color:inherit}
.cf-tiroir__appli:active{background:#F0F1F2}
.cf-tiroir__appli--bientot{opacity:.55}
.cf-tiroir__appli b{display:block; font-size:15px; font-weight:600; line-height:1.35}
.cf-tiroir__appli em{display:block; margin-top:2px; font-style:normal; font-size:12.5px; line-height:17px; color:#474747}
.cf-tiroir__appli small{display:inline-block; margin-left:8px; padding:2px 7px; border-radius:999px; background:#F0F1F2;
  vertical-align:middle; font-size:10px; font-weight:600; line-height:1.5; letter-spacing:.06em; color:#5b6470}
.cf-tiroir__tuile{flex:0 0 40px; width:40px; height:40px; border-radius:12px; background:#f1f3f5 center no-repeat}
.cf-tiroir__tuile--acteur{background-image:url("/assets/images/icones/app-acteur.svg"); background-size:24px 22.04px}
.cf-tiroir__tuile--agence{background-image:url("/assets/images/icones/app-agence.svg"); background-size:24px 19.9px}
.cf-tiroir__tuile--casting{background-image:url("/assets/images/icones/app-directeur-casting.svg"); background-size:20.37px 24px}
.cf-tiroir__liens{display:flex; flex-direction:column; margin-top:12px; padding-top:12px; border-top:1px solid #E7EBEC}
.cf-tiroir__liens a{padding:11px 8px; border-radius:10px; font-size:16px; line-height:1.3; color:#0A0A0A; text-decoration:none}
.cf-tiroir__liens a:active{background:#F0F1F2}
.cf-tiroir__liens a[aria-current="page"]{color:#007692}
.cf-tiroir__langue{display:flex; align-items:center; gap:6px; margin-top:12px; padding:12px 8px 0;
  border-top:1px solid #E7EBEC; font-size:14px; font-weight:500}
.cf-tiroir__langue a{color:#6B747C; text-decoration:none}
.cf-tiroir__langue a[aria-current="true"]{color:#0A0A0A}
.cf-tiroir__langue i{font-style:normal; color:rgba(10,10,10,.2)}
.cf-tiroir__cta{display:flex; align-items:center; justify-content:space-between; gap:18px; width:100%; margin-top:14px;
  padding:7px 7px 7px 26px; border-radius:999px; background:#0A0A0A; color:#fff;
  font-size:16px; font-weight:500; letter-spacing:-.015em; text-decoration:none}
.cf-tiroir__cta i{flex:0 0 36px; width:36px; height:36px; border-radius:50%; background:#fff center / 14px no-repeat
  url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%230A0A0A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M1 6h9M7 2.5L10.5 6 7 9.5'/></svg>")}
.cf-tiroir a:focus-visible{outline:2px solid #007692; outline-offset:2px}
/* la page ne défile pas sous le tiroir ouvert */
html.cf-menu-ouvert{overflow:hidden}
@media (min-width:1024px){ .cf-tiroir{display:none !important} html.cf-menu-ouvert{overflow:visible} }
@media (prefers-reduced-motion:reduce){
  .cf-burger i, .cf-tiroir__fond, .cf-tiroir__panneau{transition:none}
  .cf-tiroir__panneau{transform:none}
}

/* LES PASTILLES DE VERSION ET D'ÉTAT (alpha 0.4, v1.0, à venir, bientôt) : partout la
   même pastille, en Geist Mono capitales. Seul le fond suit la surface. */
.cf-menu__version, .cf-pied__badge, .cf-tiroir__appli small, .cf-appmenu__badge{display:inline-block; vertical-align:middle; font-family:"Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-size:11px; font-weight:500; line-height:1; letter-spacing:.06em; text-transform:uppercase; padding:5px 9px; border-radius:999px; white-space:nowrap}
.cf-pied__badge, .cf-tiroir__appli small, .cf-appmenu__badge{background:rgba(17,17,16,.07); color:#6b747c}

/* LE MENU « VOUS ÊTES… » DU PIED (main.js §15) : le menu blanc du tri des castings à la
   place de la liste grise du navigateur. Le <select> reste dessous, invisible, pour
   l'envoi et la validation. */
.cf-choix{position:relative; margin-top:10px}
.cf-choix__b{display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; height:44px; padding:0 18px;
  border:1px solid #EDEFF1; border-radius:22px; background:#F5F6F7; font:inherit; font-size:14px; color:#0A0A0A; text-align:left;
  cursor:pointer; transition:box-shadow .25s ease, border-color .25s ease}
.cf-choix__b.est-vide{color:#6B747C}
.cf-choix__b::after{content:""; flex:none; width:10px; height:6px; transition:transform .3s cubic-bezier(.22,1,.36,1);
  background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236B747C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat}
.cf-choix__b:hover, .cf-choix.est-ouvert .cf-choix__b{border-color:#dfe4e8; box-shadow:0 6px 18px rgba(17,17,16,.08)}
.cf-choix.est-ouvert .cf-choix__b::after{transform:rotate(180deg)}
.cf-choix__b:focus-visible{outline:2px solid #007692; outline-offset:2px}
.cf-choix__natif{position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; pointer-events:none}
.cf-choix__menu{position:absolute; z-index:20; top:calc(100% + 8px); left:0; right:0; margin:0; padding:6px; list-style:none;
  border-radius:20px; background:#fff; box-shadow:0 18px 44px rgba(17,17,16,.14); animation:cf-choix .28s cubic-bezier(.22,1,.36,1)}
.cf-choix__menu[hidden]{display:none}
.cf-choix__menu li{display:flex; align-items:center; justify-content:space-between; gap:18px; padding:11px 14px; border-radius:14px;
  font-size:14px; font-weight:500; line-height:18px; color:#111110; cursor:pointer; transition:background-color .2s ease}
.cf-choix__menu li:hover, .cf-choix__menu li:focus-visible{background:#F5F6F7; outline:0}
.cf-choix__menu li[aria-selected="true"]::after{content:""; width:14px; height:14px;
  background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23007692' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M2.5 7.5l3 3 6-7'/></svg>") center/14px no-repeat}
@keyframes cf-choix{from{opacity:0; transform:translateY(-6px)} to{opacity:1; transform:none}}
@media (prefers-reduced-motion:reduce){ .cf-choix__menu{animation:none} }

/* Le pied : dire ce qu'est le champ courriel (une infolettre, pas la waitlist). */
.cf-pied__infotitre{margin:34px 0 12px; max-width:560px; font-size:15px; line-height:22px; color:#6B747C}
.cf-pied__infotitre strong{font-weight:500; color:#0A0A0A}
.cf-pied__infotitre + .cf-pied__infolettre{margin-top:0}

/* Talent connecté : photo ou initiales à la place de « Se connecter » (main.js) */
.cf-membre{display:inline-flex; align-items:center; gap:10px; text-decoration:none; color:inherit}
.cf-avatar{display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:50%; overflow:hidden; background:#0A0A0A; color:#fff; font-weight:600; font-size:14px; line-height:1; letter-spacing:.02em; flex:none; box-shadow:0 0 0 2px #fff, 0 2px 8px rgba(0,0,0,.18)}
.cf-avatar img{width:100%; height:100%; object-fit:cover; display:block}
/* CFT-1981 : le rond vide peint avant la réponse de /me (voir compte.js), pour qu'un
   membre connecté ne voie jamais « Se connecter ». Même rendu que sur /talent/. */
.cf-avatar--attente{opacity:.15}
.cf-membre:hover .cf-avatar{box-shadow:0 0 0 2px #fff, 0 0 0 4px #1d7f86}
/* Le bouton du tiroir garde son fond noir : `.cf-membre` hérite la couleur du texte,
   donc sans cette règle le prénom du membre s'écrirait en noir sur noir. */
.cf-tiroir__cta.cf-membre{color:#fff}

