/* =====================================================================
   ARTECH Recrutement · design system « Nuit » (option C validée)
   Base : bande nuit du site artech-group.fr, Poppins 600 serré + Inter,
   boutons dégradés à halo, cartes en verre dépoli, chiffres lumineux.
   ===================================================================== */
:root {
  --nuit: #140f38;
  --nuit-2: #1d1650;
  --fond: #0a0820;
  --blanc: #fff;
  --texte: #d0d2e6;
  --doux: #a3a6c4;
  --discret: #7f82a3;
  --ligne: rgba(255, 255, 255, .11);
  --ligne-forte: rgba(255, 255, 255, .2);
  --bleu: #4d90cb;
  --indigo: #4f4996;
  --violet: #9d549e;
  --rose: #e0378e;
  --lilas: #b9b2ff;
  --rose-clair: #ff8fc4;
  --grad-btn: linear-gradient(90deg, #5b54b8, #d23585);
  --grad-txt: linear-gradient(120deg, #7cb4ff 0%, #a79bff 40%, #d68bd8 68%, #ff5fae 100%);
  --ombre-btn: inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 0 1px rgba(255, 255, 255, .08), 0 8px 24px -6px rgba(210, 53, 133, .6), 0 2px 6px rgba(0, 0, 0, .35);
  --ombre-btn-hover: inset 0 1px 0 rgba(255, 255, 255, .34), 0 0 0 1px rgba(255, 255, 255, .14), 0 14px 36px -6px rgba(210, 53, 133, .8), 0 4px 10px rgba(0, 0, 0, .35);
  --verre: linear-gradient(180deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .03));
  --ombre-verre: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 0 0 1px var(--ligne), 0 30px 60px -30px rgba(0, 0, 0, .75);
  --r: 22px;
  --cont: 1120px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--fond); color-scheme: dark; }
body { margin: 0; color: var(--texte); font: 400 16.5px/1.6 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: Poppins, system-ui, sans-serif; color: var(--blanc); margin: 0; font-weight: 600; }
p { margin: 0; }
a { color: var(--lilas); }
img { max-width: 100%; }
.c { max-width: var(--cont); margin: 0 auto; padding: 0 24px; }
@media (max-width: 560px) { .c { padding: 0 18px; } }
.g { background: var(--grad-txt); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: rgba(210, 53, 133, .45); color: #fff; }

/* ---------- Ciel : fond vivant, fixe, qui ne s'éteint jamais ---------- */
.ciel { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: radial-gradient(1400px 800px at 50% -15%, #33268a 0%, transparent 60%), linear-gradient(180deg, #181046 0%, #0f0b2d 50%, #0a0820 100%); }
.ciel i { position: absolute; border-radius: 50%; will-change: transform; animation: derive 30s ease-in-out infinite alternate; }
.ciel .a1 { width: 75vmax; height: 75vmax; left: -28vmax; top: -30vmax; background: radial-gradient(closest-side, rgba(77, 144, 203, .55), rgba(77, 144, 203, 0) 70%); }
.ciel .a2 { width: 70vmax; height: 70vmax; right: -30vmax; top: -18vmax; background: radial-gradient(closest-side, rgba(224, 55, 142, .5), rgba(224, 55, 142, 0) 70%); animation-duration: 36s; animation-delay: -8s; }
.ciel .a3 { width: 80vmax; height: 80vmax; left: 10vw; top: 38vh; background: radial-gradient(closest-side, rgba(91, 84, 184, .5), rgba(91, 84, 184, 0) 70%); animation-duration: 42s; animation-delay: -16s; }
.ciel .a4 { width: 55vmax; height: 55vmax; right: -15vmax; bottom: -30vmax; background: radial-gradient(closest-side, rgba(157, 84, 158, .45), rgba(157, 84, 158, 0) 70%); animation-duration: 34s; animation-delay: -4s; }
/* Quadrillage fin, comme le héros du site */
.ciel::before { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask: radial-gradient(ellipse 80% 55% at 50% 0%, #000 20%, transparent 75%);
  mask: radial-gradient(ellipse 80% 55% at 50% 0%, #000 20%, transparent 75%); }
/* Grain, pour donner de la matière */
.ciel::after { content: ""; position: absolute; inset: -50%; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes derive {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(5vmax, 4vmax, 0) scale(1.08); }
  100% { transform: translate3d(-4vmax, 6vmax, 0) scale(.95); }
}

/* ---------- Boutons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 28px; border-radius: 999px; font: 500 16px/1 Inter, sans-serif; text-decoration: none; border: 0; cursor: pointer; color: #fff; background: var(--grad-btn); box-shadow: var(--ombre-btn); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s; -webkit-tap-highlight-color: transparent; white-space: nowrap; }
.btn:hover { transform: translateY(-1.5px); box-shadow: var(--ombre-btn-hover); }
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 3px solid rgba(185, 178, 255, .6); outline-offset: 3px; }
.btn .fleche { transition: transform .25s var(--ease); }
.btn:hover .fleche { transform: translateX(3px); }
.btn.secondaire, .btn.neutre { background: rgba(255, 255, 255, .07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 0 0 1px rgba(255, 255, 255, .16), 0 6px 18px -8px rgba(0, 0, 0, .6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn.secondaire:hover, .btn.neutre:hover { background: rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 0 0 1px rgba(255, 255, 255, .26), 0 10px 24px -8px rgba(0, 0, 0, .6); }
.btn.petit { height: 40px; padding: 0 18px; font-size: 14.5px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 30; background: rgba(16, 12, 42, .55); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom: 1px solid var(--ligne); }
.entete .c { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.marque { color: #fff; text-decoration: none; font: 600 16px/1 Poppins, sans-serif; letter-spacing: .18em; display: inline-flex; align-items: center; gap: 10px; }
.marque small { font: 500 12px/1 Inter, sans-serif; letter-spacing: .04em; color: var(--doux); padding: 5px 9px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--ligne); }
.segment { display: flex; gap: 4px; list-style: none; margin: 0; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--ligne); }
.segment a { display: block; padding: 7px 16px; border-radius: 999px; color: var(--doux); font-size: 14.5px; font-weight: 500; text-decoration: none; transition: color .2s, background .2s; white-space: nowrap; }
.segment a:hover { color: #fff; }
.segment a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .13); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); }
@media (max-width: 760px) {
  .entete .c { height: auto; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; row-gap: 10px; }
  .marque small { display: none; }
  .entete nav { order: 3; width: 100%; }
  .segment { justify-content: space-between; }
  .segment li { flex: 1; text-align: center; }
  .segment a { padding: 8px 6px; font-size: 14px; }
}

/* ---------- Héros ---------- */
.heros { position: relative; padding: 104px 0 56px; text-align: center; }
.heros::after { content: ""; position: absolute; left: 50%; bottom: -40px; width: min(1100px, 120%); height: 220px; transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(167, 155, 255, .22), transparent 65%); pointer-events: none; z-index: -1; }
@media (max-width: 560px) { .heros { padding: 64px 0 40px; } }
.pilule { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 7px; border-radius: 999px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--ligne), 0 8px 24px -12px rgba(0, 0, 0, .6); font-size: 13.5px; color: var(--texte); }
.pilule b { font-weight: 600; color: #fff; background: var(--grad-btn); padding: 4px 10px; border-radius: 999px; font-size: 12px; box-shadow: 0 0 16px -4px rgba(210, 53, 133, .8); }
.heros h1 { font-size: clamp(38px, 7.4vw, 80px); line-height: 1.03; letter-spacing: -.04em; margin: 26px auto 22px; max-width: 980px; text-shadow: 0 2px 40px rgba(91, 84, 184, .45); }
.heros .lead { font-size: clamp(17px, 2vw, 20px); color: var(--doux); max-width: 660px; margin: 0 auto 34px; }
.ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 480px) { .ctas .btn { width: 100%; } }
.confiance { display: flex; justify-content: center; gap: 10px 26px; flex-wrap: wrap; margin-top: 28px; font-size: 14px; color: var(--doux); padding: 0; list-style: none; }
.confiance li { display: inline-flex; align-items: center; gap: 8px; }
.confiance li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lilas); box-shadow: 0 0 12px var(--lilas); }

/* ---------- Verre ---------- */
.verre { background: var(--verre); border-radius: var(--r); box-shadow: var(--ombre-verre); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); }

/* ---------- Projection de revenu ---------- */
.projection { max-width: 880px; margin: 60px auto 0; padding: 32px; text-align: left; display: grid; grid-template-columns: 1fr 1.25fr; gap: 34px; align-items: center; }
@media (max-width: 760px) { .projection { grid-template-columns: 1fr; padding: 24px; gap: 24px; } }
.projection small { display: block; color: var(--doux); font-size: 14px; margin-bottom: 10px; }
.gros { font: 600 clamp(44px, 6vw, 56px)/1 Poppins, sans-serif; letter-spacing: -.03em; }
.projection p { color: var(--doux); font-size: 14.5px; margin-top: 12px; }
.projection .avertissement { font-size: 12.5px; color: var(--discret); margin-top: 8px; }
.lignes { display: grid; gap: 12px; }
.ligne { display: grid; grid-template-columns: 70px 1fr 84px; gap: 12px; align-items: center; font-size: 14px; }
.ligne span { color: var(--doux); }
.ligne b { color: #fff; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.jauge { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.jauge i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #7cb4ff, #a79bff, #ff5fae); box-shadow: 0 0 16px rgba(255, 95, 174, .55); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease); }
.vu .jauge i, .sans-anim .jauge i { transform: scaleX(1); }
.legende { font-size: 12.5px; color: var(--discret); margin-top: 4px; }

/* ---------- Sections ---------- */
section { padding: 100px 0; scroll-margin-top: 80px; }
@media (max-width: 560px) { section { padding: 72px 0; } }
.oeil { display: inline-block; font: 600 12.5px/1 Inter, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--lilas); margin-bottom: 16px; }
h2 { font-size: clamp(30px, 4.6vw, 48px); line-height: 1.08; letter-spacing: -.03em; max-width: 760px; }
.sous { color: var(--doux); font-size: 18px; max-width: 640px; margin-top: 16px; }
.tete { margin-bottom: 48px; }
.centre { text-align: center; }
.centre h2, .centre .sous { margin-left: auto; margin-right: auto; }
.grille4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grille3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grille2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 980px) { .grille4 { grid-template-columns: 1fr 1fr; } .grille3 { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .grille4, .grille2 { grid-template-columns: 1fr; } }
.deux-cols { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .deux-cols { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Cartes ---------- */
.carte { padding: 28px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.carte:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 0 1px rgba(185, 178, 255, .3), 0 30px 60px -24px rgba(79, 73, 150, .65); }
.carte h3 { font-size: 19px; letter-spacing: -.01em; margin: 20px 0 8px; }
.carte p { color: var(--doux); font-size: 15.5px; }
.ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, rgba(124, 180, 255, .28), rgba(255, 95, 174, .28)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 0 24px -6px rgba(167, 155, 255, .7); }
.ic svg { width: 22px; height: 22px; }

/* Offres (page générale) */
.offre { position: relative; display: flex; flex-direction: column; padding: 30px; overflow: hidden; text-decoration: none; color: inherit; }
.offre::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 2px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 22px 2px var(--accent); }
.offre::after { content: ""; position: absolute; width: 260px; height: 260px; right: -110px; top: -130px; border-radius: 50%; background: radial-gradient(closest-side, var(--accent), transparent); opacity: .28; transition: opacity .4s; }
.offre:hover::after { opacity: .45; }
.offre .etiquette { font: 600 12px/1 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--doux); }
.offre h3 { font-size: 30px; letter-spacing: -.02em; margin: 12px 0 6px; }
.offre .remu { font: 600 17px/1.35 Poppins, sans-serif; margin-bottom: 14px; }
.offre p { color: var(--doux); margin-bottom: 18px; }
.offre ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; flex: 1; }
.offre li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: #e3e4f2; }
.offre li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/11px no-repeat, var(--accent); }
.offre .btn { align-self: flex-start; }
.a-rose { --accent: #e0378e; }
.a-bleu { --accent: #4d90cb; }
.a-violet { --accent: #a76fe0; }

/* ---------- Chiffres ---------- */
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; }
.chiffres div { padding: 32px 20px; text-align: center; }
.chiffres div + div { box-shadow: inset 1px 0 0 var(--ligne); }
.chiffres b { display: block; font: 600 clamp(34px, 4vw, 46px)/1 Poppins, sans-serif; letter-spacing: -.03em; margin-bottom: 10px; }
.chiffres span { font-size: 14px; color: var(--doux); }
@media (max-width: 760px) {
  .chiffres { grid-template-columns: 1fr 1fr; }
  .chiffres div:nth-child(3) { box-shadow: inset 0 1px 0 var(--ligne); }
  .chiffres div:nth-child(4) { box-shadow: inset 1px 1px 0 var(--ligne); }
}

/* ---------- Listes ---------- */
.coches { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.coches li { display: flex; gap: 14px; align-items: flex-start; padding: 17px 20px; border-radius: 16px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--ligne); color: #e6e7f2; }
.coches li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat, var(--grad-btn); box-shadow: 0 0 14px -2px rgba(210, 53, 133, .75); }
.avantages { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .avantages { grid-template-columns: 1fr; } }
.avantage { padding: 22px; }
.avantage h3 { font-size: 17px; margin-bottom: 6px; }
.avantage p { color: var(--doux); font-size: 15px; }

/* ---------- Parcours ---------- */
.parcours { max-width: 720px; margin: 0 auto; position: relative; padding-left: 46px; list-style: none; }
.parcours::before { content: ""; position: absolute; left: 15px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, #7cb4ff, #a79bff 50%, #ff5fae); box-shadow: 0 0 14px rgba(167, 155, 255, .6); }
.parcours li { position: relative; padding: 2px 0 32px; }
.parcours li:last-child { padding-bottom: 0; }
.parcours li::before { content: ""; position: absolute; left: -38px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--nuit); box-shadow: 0 0 0 2px #a79bff, 0 0 18px #a79bff; }
.parcours small { color: var(--lilas); font-weight: 600; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; }
.parcours h3 { font-size: 21px; margin: 6px 0 6px; }
.parcours p { color: var(--doux); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: 18px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--ligne); transition: background .3s; }
.faq details[open] { background: rgba(255, 255, 255, .07); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font: 500 17px/1.4 Poppins, sans-serif; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--lilas); border-bottom: 2px solid var(--lilas); transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(225deg); }
.faq summary:focus-visible { outline: 3px solid rgba(185, 178, 255, .6); outline-offset: -3px; border-radius: 18px; }
.faq details > div { padding: 0 22px 22px; color: var(--doux); }

/* ---------- Appel final ---------- */
.appel { padding: 48px; text-align: center; position: relative; overflow: hidden; }
.appel::before { content: ""; position: absolute; inset: -40% -10% auto; height: 120%; background: radial-gradient(closest-side, rgba(210, 53, 133, .35), transparent); pointer-events: none; }
.appel > * { position: relative; }
.appel h2 { margin: 0 auto 14px; }
.appel p { color: var(--doux); margin: 0 auto 28px; max-width: 520px; }
@media (max-width: 560px) { .appel { padding: 32px 20px; } }

/* =====================================================================
   Formulaire
   ===================================================================== */
.formulaire { max-width: 780px; margin: 0 auto; overflow: hidden; }
.formulaire-corps { padding: 32px; }
@media (max-width: 560px) { .formulaire-corps { padding: 22px 18px; } }

/* Progression */
.progression { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; list-style: none; margin: 0 0 28px; padding: 0; counter-reset: p; }
.progression li { counter-increment: p; display: flex; flex-direction: column; gap: 8px; font: 500 12.5px/1.2 Inter, sans-serif; color: var(--discret); }
.progression li::before { content: ""; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .1); transition: background .4s, box-shadow .4s; }
.progression li.fait { color: var(--doux); }
.progression li.fait::before { background: linear-gradient(90deg, #7cb4ff, #a79bff); }
.progression li.actif { color: #fff; font-weight: 600; }
.progression li.actif::before { background: var(--grad-btn); box-shadow: 0 0 14px rgba(210, 53, 133, .7); }
@media (max-width: 560px) { .progression li { font-size: 0; } .progression li.actif { font-size: 12.5px; grid-column: auto; } }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.etape-form > h3 { font-size: clamp(22px, 3vw, 26px); letter-spacing: -.02em; margin-bottom: 6px; }
.etape-form > .intro { color: var(--doux); margin: 0 0 26px; }
.etape-form > h3:focus { outline: none; }
.champ { margin-bottom: 26px; }
.champ > label, .champ > legend { display: block; font: 500 16.5px/1.45 Inter, sans-serif; color: #fff; margin-bottom: 12px; padding: 0; }
.champ .aide { display: block; font-size: 14px; color: var(--doux); margin: -6px 0 12px; font-weight: 400; }
.champ .facultatif { color: var(--discret); font-weight: 400; font-size: 14px; }

/* Champs de saisie */
.champ input[type="text"], .champ input[type="email"], .champ input[type="tel"], .champ input[type="url"], .champ input[type="number"], .champ input[type="date"], .champ textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 14px; border: 0; background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); color: #fff; font: 400 16px/1.4 Inter, sans-serif; transition: box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none;
}
.champ textarea { min-height: 150px; resize: vertical; }
.champ input::placeholder, .champ textarea::placeholder { color: #8f91ad; }
.champ input:hover, .champ textarea:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26); }
.champ input:focus, .champ textarea:focus { outline: 0; background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1.5px #a79bff, 0 0 0 4px rgba(167, 155, 255, .2); }
.champ input[type="file"] { width: 100%; color: var(--doux); font: 400 15px Inter, sans-serif; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px dashed rgba(255, 255, 255, .22); }
.champ input[type="file"]::file-selector-button { margin-right: 12px; border: 0; border-radius: 999px; padding: 9px 16px; color: #fff; font: 500 14px Inter, sans-serif; background: rgba(255, 255, 255, .12); cursor: pointer; }

/* Choix : sélection impossible à rater */
.choix { display: flex; flex-wrap: wrap; gap: 10px; }
.choix label { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.choix input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choix span {
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 13px 18px 13px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .17); color: #e6e7f2; font-size: 15.5px; line-height: 1.35;
  transition: background .2s, box-shadow .2s, color .2s, opacity .2s, transform .15s;
}
.choix span::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4);
  background: transparent center/12px no-repeat; transition: background-color .2s, box-shadow .2s, transform .25s var(--ease);
}
.choix input[type="checkbox"] + span::before { border-radius: 7px; }
.choix label:hover span { background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.choix label:active span { transform: scale(.98); }
/* Quand un choix est fait, les autres s'effacent légèrement */
.choix:has(input:checked) span { opacity: .62; }
.choix:has(input:checked) label:hover span { opacity: .9; }
.choix input:checked + span {
  opacity: 1; color: #fff; background: linear-gradient(90deg, rgba(91, 84, 184, .95), rgba(210, 53, 133, .9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 0 1px rgba(255, 255, 255, .28), 0 10px 28px -8px rgba(210, 53, 133, .8);
  animation: coche .32s var(--ease);
}
.choix input:checked + span::before {
  background-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b54b8' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.choix input:focus-visible + span { outline: 3px solid rgba(185, 178, 255, .7); outline-offset: 3px; }
@keyframes coche { 0% { transform: scale(.96); } 55% { transform: scale(1.025); } 100% { transform: scale(1); } }
@media (max-width: 560px) { .choix label { width: 100%; } .choix span { width: 100%; } }

/* Erreurs */
.erreur-champ { color: var(--rose-clair); font-size: 14px; margin-top: 8px; font-weight: 500; display: flex; gap: 6px; align-items: center; }
.erreur-champ::before { content: "!"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(255, 143, 196, .2); font-weight: 700; font-size: 12px; }
.champ.invalide input, .champ.invalide textarea, .champ.invalide .choix span { box-shadow: inset 0 0 0 1.5px var(--rose-clair); }
.champ.invalide.enregistreur { box-shadow: inset 0 0 0 1.5px var(--rose-clair); }
.message { border-radius: 14px; padding: 14px 18px; margin-bottom: 18px; font-size: 15px; }
.message.erreur { background: rgba(224, 55, 142, .14); color: #ffd1e6; box-shadow: inset 0 0 0 1px rgba(255, 143, 196, .35); }
.compteur { font-size: 13px; color: var(--discret); text-align: right; margin-top: 6px; }

/* Navigation du formulaire */
.navigation { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 8px -32px -32px; padding: 20px 32px; background: rgba(0, 0, 0, .18); box-shadow: inset 0 1px 0 var(--ligne); flex-wrap: wrap-reverse; }
.navigation .espace { flex: 1; }
@media (max-width: 560px) { .navigation { margin: 8px -18px -22px; padding: 16px 18px; } .navigation .btn { flex: 1; } }

/* Consentement */
.consentement { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--texte); cursor: pointer; }
.consentement input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: #d23585; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pitch { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--ligne); border-radius: 14px; padding: 16px 18px; font-style: italic; color: #e6e7f2; margin-bottom: 18px; }

/* Enregistreur audio */
.enregistreur { border-radius: 20px; padding: 28px 22px; text-align: center; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--ligne); margin-bottom: 26px; }
.chrono { font: 600 32px/1 Poppins, sans-serif; color: #fff; margin: 16px 0 8px; font-variant-numeric: tabular-nums; }
.bouton-micro { width: 84px; height: 84px; border-radius: 50%; border: 0; cursor: pointer; background: var(--grad-btn); display: inline-grid; place-items: center; box-shadow: var(--ombre-btn), 0 0 0 8px rgba(210, 53, 133, .1); transition: transform .2s var(--ease), box-shadow .2s; }
.bouton-micro:hover { transform: scale(1.04); }
.bouton-micro::after { content: ""; width: 26px; height: 26px; border-radius: 50%; background: #fff; transition: border-radius .2s, width .2s, height .2s; }
.bouton-micro.actif::after { border-radius: 6px; width: 24px; height: 24px; }
.bouton-micro.actif { animation: pulse 1.4s infinite; }
.bouton-micro:focus-visible { outline: 3px solid rgba(185, 178, 255, .7); outline-offset: 4px; }
@keyframes pulse { 0%, 100% { box-shadow: var(--ombre-btn), 0 0 0 0 rgba(224, 55, 142, .45); } 50% { box-shadow: var(--ombre-btn), 0 0 0 16px rgba(224, 55, 142, 0); } }
.enregistreur .note { color: var(--doux); font-size: 14.5px; max-width: 420px; margin: 0 auto; }
.enregistreur audio { width: 100%; margin: 14px 0 10px; color-scheme: dark; }
.repli { margin-top: 16px; font-size: 14px; color: var(--discret); }
.repli label { color: var(--lilas); text-decoration: underline; cursor: pointer; }

/* Fins de parcours */
.panneau-fin { text-align: center; padding: 56px 32px; }
.panneau-fin:focus { outline: none; }
.panneau-fin .rond { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-btn); box-shadow: var(--ombre-btn), 0 0 40px -6px rgba(210, 53, 133, .8); }
.panneau-fin .rond svg { width: 30px; height: 30px; }
.panneau-fin h3 { font-size: 26px; margin-bottom: 10px; }
.panneau-fin p { color: var(--doux); max-width: 520px; margin: 0 auto 14px; }
.panneau-fin .btn { margin-top: 10px; }

/* Bouton fixe mobile */
.cta-mobile { display: none; }
@media (max-width: 760px) {
  .cta-mobile { display: block; position: sticky; bottom: 0; z-index: 25; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); background: rgba(16, 12, 42, .75); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--ligne); }
  .cta-mobile .btn { width: 100%; }
}

/* Pages de texte */
.texte-long { max-width: 780px; margin: 0 auto; padding: 36px; }
.texte-long h3 { font-size: 19px; margin: 26px 0 8px; }
.texte-long h3:first-child { margin-top: 0; }
.texte-long p { color: var(--doux); }
@media (max-width: 560px) { .texte-long { padding: 24px 20px; } }

/* Pied de page */
.pied { padding: 40px 0 56px; color: var(--discret); font-size: 13.5px; }
.pied .c { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; box-shadow: inset 0 1px 0 var(--ligne); padding-top: 24px; }
.pied a { color: var(--texte); text-decoration: none; }
.pied a:hover { color: #fff; }
@media (max-width: 760px) { .pied { padding-bottom: 100px; } }

/* Apparition au défilement */
.rev { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rev.vu, .sans-anim .rev { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ciel i, .bouton-micro.actif, .choix input:checked + span { animation: none; }
  .rev { opacity: 1; transform: none; transition: none; }
  .jauge i { transform: none; transition: none; }
  .btn, .carte, .choix span { transition: none; }
}

/* Entrée du héros : en CSS seul, visible même sans JavaScript */
@keyframes entree { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.entree { animation: entree .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms); }
@media (prefers-reduced-motion: reduce) { .entree { animation: none; } }

/* Sélecteur de thème pour la comparaison (affiché en local uniquement) */
.comparateur { position: fixed; left: 16px; bottom: 16px; z-index: 40; display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(16, 12, 42, .85); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 10px 30px -10px rgba(0, 0, 0, .6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font: 500 13px/1 Inter, sans-serif; }
.comparateur span { color: #a3a6c4; padding: 0 8px 0 10px; }
html .comparateur a { color: #d0d2e6; text-decoration: none; padding: 8px 14px; border-radius: 999px; }
html .comparateur a[aria-current="true"] { color: #fff; background: linear-gradient(90deg, #5b54b8, #d23585); }
@media (max-width: 760px) { .comparateur { bottom: 92px; } }

/* Logo officiel : symbole (cadré sur le triangle du fichier logo_degrade.png) + wordmark */
.marque { gap: 10px; letter-spacing: 0; }
.symbole { --h: 32px; position: relative; display: block; flex: none; width: calc(var(--h) * 1055 / 916); height: var(--h); overflow: hidden; }
.symbole img { position: absolute; max-width: none; width: calc(var(--h) * 1223 / 916); height: auto; left: calc(var(--h) * -102 / 916); top: calc(var(--h) * -67 / 916); }
.wordmark { display: block; height: 28px; width: auto; }
html.nuit .wordmark { filter: invert(1); }
@media (max-width: 760px) { .symbole { --h: 28px; } .wordmark { height: 24px; } }

/* En-tête contextuel (plus de menu des offres) */
.entete-actions { display: flex; align-items: center; gap: 16px; }
.retour { display: inline-flex; align-items: center; gap: 8px; padding: 10px 4px; color: var(--doux); font: 500 14.5px/1 Inter, sans-serif; text-decoration: none; transition: color .2s; white-space: nowrap; }
.retour:hover { color: #fff; }
.retour span { transition: transform .2s var(--ease); }
.retour:hover span { transform: translateX(-3px); }
@media (max-width: 760px) {
  .entete .c { height: 64px; padding-top: 0; padding-bottom: 0; flex-wrap: nowrap; }
}
@media (max-width: 480px) {
  body:not(.page-postuler) .retour { display: none; }
  .retour { font-size: 14px; }
}

/* Page « Postuler » : un seul objectif, d'abord pour le téléphone */
#candidature { scroll-margin-top: 84px; }
.page-postuler .postuler { max-width: 800px; padding-top: 48px; padding-bottom: 24px; }
.postuler-tete { margin-bottom: 26px; }
.postuler-tete .oeil { margin-bottom: 12px; }
.postuler-tete h1 { font-size: clamp(28px, 5vw, 42px); line-height: 1.1; letter-spacing: -.03em; margin-bottom: 10px; }
.postuler-tete p { color: var(--doux); }
.page-postuler .pied { margin-top: 24px; }
@media (max-width: 560px) {
  .page-postuler .postuler { padding-top: 22px; }
  .postuler-tete { margin-bottom: 10px; }
  .page-postuler .formulaire { background: transparent; box-shadow: none; border-radius: 0; overflow: visible; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .page-postuler .formulaire-corps { padding: 0; }
  .page-postuler .progression { position: sticky; top: 64px; z-index: 15; margin: 0 -18px 18px; padding: 12px 18px; background: rgba(16, 12, 42, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 -1px 0 var(--ligne); }
  .page-postuler .navigation { position: sticky; bottom: 0; z-index: 15; margin: 18px -18px 0; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); background: rgba(16, 12, 42, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 var(--ligne); }
  .page-postuler .etape-form > h3 { font-size: 22px; }
  .page-postuler .panneau-fin { padding: 40px 0; }
}

/* Progression sur téléphone : barres + « Étape 2 sur 5 · Expérience » sur une ligne */
@media (max-width: 560px) {
  .progression { position: relative; padding-bottom: 22px; row-gap: 0; }
  .progression li, .progression li.actif { font-size: 0; gap: 0; }
  .progression::after { content: attr(data-libelle); position: absolute; left: 0; right: 0; bottom: 0; font: 600 12.5px/1.2 Inter, sans-serif; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .page-postuler .progression { padding-bottom: 32px; }
  .page-postuler .progression::after { left: 18px; right: 18px; bottom: 11px; }
}

/* Écran de fin de candidature */
body.termine .postuler-tete { display: none; }
.suite { list-style: none; margin: 26px auto 30px; padding: 0; max-width: 460px; text-align: left; display: grid; gap: 10px; counter-reset: s; }
.suite li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; row-gap: 2px; align-items: start; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--ligne); }
.suite li::before { content: counter(s); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--grad-btn); font: 600 14px/1 Poppins, sans-serif; }
.suite b { color: #fff; font-weight: 600; font-size: 15px; }
.suite span { color: var(--doux); font-size: 14.5px; line-height: 1.45; }
.actions-fin { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.message .reessai { margin-top: 12px; }
@media (max-width: 560px) {
  .page-postuler .panneau-fin { padding: 18px 0 8px; }
  .panneau-fin h3 { font-size: 24px; line-height: 1.2; }
  .actions-fin { flex-direction: column; }
  .actions-fin .btn { width: 100%; }
}
