/* ARTÉMIS HUB : direction artistique validée (archère, or / orange / bleu nuit). */
:root {
  --or: #F2A516; --orange: #EE7A12; --orange-fonce: #B85700; --nuit: #0B1A40; --encre: #1B2547; --gris: #5B6380;
  --creme: #FFFCF6; --sable: #FFF4E2; --ligne: #F1E4CC; --vert: #1F7A4D; --rouge: #B3261E;
  --degrade: linear-gradient(135deg, #F7B32B, #EE7A12); --bouton: linear-gradient(135deg, #F29A1E, #C9670A);
  --titres: "Poppins", "Segoe UI", system-ui, sans-serif; --texte: "Inter", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--creme); color: var(--encre); font: 16px/1.55 var(--texte); }
h1, h2 { font-family: var(--titres); color: var(--nuit); line-height: 1.2; }
h1 { font-size: 1.9rem; margin: .2rem 0 1rem; }
h2 { font-size: 1.2rem; margin: 0 0 .5rem; }
a { color: var(--orange-fonce); }
code, pre { font-family: Consolas, "Cascadia Mono", monospace; font-size: .9em; }

.bandeau { background: var(--nuit); color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .75rem 1.5rem; padding: .7rem max(16px, calc((100% - 1160px) / 2)); border-bottom: 4px solid var(--or); }
.marque { display: flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font: 600 1.15rem var(--titres); letter-spacing: .04em; }
.marque img { border-radius: 50%; background: var(--sable); }
.marque b { color: var(--or); }
.bandeau nav { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1.1rem; }
.bandeau nav a, .bandeau nav .lien { color: #E7EAF5; text-decoration: none; font-size: .95rem; }
.bandeau nav a[aria-current="page"] { color: var(--or); font-weight: 600; }
.bandeau nav form { margin: 0; }

main { max-width: 1160px; margin: 0 auto; padding: 1.5rem 16px 3rem; }
footer { text-align: center; color: var(--gris); font-size: .85rem; padding: 1.5rem 16px; border-top: 1px solid var(--ligne); }

.carte { background: #fff; border: 1px solid var(--ligne); border-radius: 14px; padding: 1.2rem 1.3rem; margin: 0 0 1.2rem;
  box-shadow: 0 2px 10px rgba(11, 26, 64, .05); }
.etroite { max-width: 460px; margin: 2rem auto; text-align: center; }
.etroite .logo { max-width: 260px; height: auto; }
.grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.2rem; margin-bottom: 1.2rem; }
.grille .carte { margin: 0; display: flex; flex-direction: column; }
.grille .carte > .lien { margin-top: auto; }
.ligne { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; }
.ligne h2 { margin: 0; }
.discret { color: var(--gris); }
.intro { max-width: 820px; }

.bouton { display: inline-block; border: 0; border-radius: 999px; padding: .7rem 1.4rem; background: var(--bouton); color: #fff;
  font: 600 1rem var(--titres); text-decoration: none; cursor: pointer; box-shadow: 0 4px 14px rgba(201, 103, 10, .28); }
.bouton:hover { filter: brightness(1.06); }
.bouton:disabled { opacity: .5; cursor: not-allowed; }
.bouton.google { width: 100%; margin: .5rem 0 1rem; }
.lien { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: var(--orange-fonce); text-decoration: underline; }
.bouton:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; }

.note { background: var(--sable); border-left: 4px solid var(--or); padding: .6rem .9rem; border-radius: 8px; }
.note.ok { border-color: var(--vert); background: #EAF6EF; }
.note.ko { border-color: var(--rouge); background: #FCECEA; color: #6E1712; }
.pastille { display: inline-block; font: 600 .75rem var(--texte); padding: .15rem .6rem; border-radius: 999px; vertical-align: middle;
  background: var(--sable); color: var(--orange-fonce); }
.pastille.vert { background: #E3F4EA; color: var(--vert); }
.pastille.rouge { background: #FCE4E1; color: var(--rouge); }

.chiffres { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .6rem; margin: .6rem 0; }
.chiffres div { background: var(--sable); border-radius: 10px; padding: .5rem .7rem; }
.chiffres dt { font-size: .78rem; color: var(--gris); }
.chiffres dd { margin: 0; font: 700 1.35rem var(--titres); color: var(--nuit); }
.cout { font-size: .92rem; }

table { width: 100%; border-collapse: collapse; font-size: .94rem; }
th, td { text-align: left; padding: .5rem .6rem; border-bottom: 1px solid var(--ligne); vertical-align: top; }
th { color: var(--gris); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .03em; }
tr.grise td { color: #9AA0B5; }
.defile { overflow-x: auto; margin-bottom: 1rem; }
.journal { list-style: none; padding: 0; margin: 0; }
.journal li { padding: .3rem 0; border-bottom: 1px dashed var(--ligne); }
.journal time { color: var(--gris); font-size: .85rem; margin-right: .5rem; }

.pile { display: grid; gap: .8rem; text-align: left; margin-top: .8rem; }
label { display: grid; gap: .25rem; font-weight: 600; font-size: .92rem; }
input[type=email], input[type=password] { padding: .6rem .8rem; border: 1px solid #D9CBB0; border-radius: 10px; font: inherit; }
details summary { cursor: pointer; color: var(--orange-fonce); }
pre.message { white-space: pre-wrap; background: var(--creme); border: 1px solid var(--ligne); border-radius: 10px; padding: .9rem; font-family: var(--texte); }
pre.cle { white-space: pre-wrap; word-break: break-all; background: var(--nuit); color: var(--or); padding: .9rem; border-radius: 10px; }

.heros { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; padding: 2rem 0; }
.heros .logo { max-width: 320px; width: 100%; height: auto; }
.heros h1 { font-size: 2.3rem; }
.heros p { font-size: 1.08rem; max-width: 560px; }
.heros .archere { width: 100%; max-width: 380px; height: auto; justify-self: center; border-radius: 22px; }
@media (max-width: 760px) {
  .heros { grid-template-columns: 1fr; padding: 1rem 0; }
  .heros h1 { font-size: 1.7rem; }
  h1 { font-size: 1.5rem; }
}
.carte-preuve { margin: .8rem 0; display: flex; gap: 1rem; align-items: flex-end; flex-wrap: wrap; }
.carte-preuve img { width: 270px; height: auto; border-radius: 10px; border: 1px solid var(--ligne); box-shadow: 0 4px 14px rgba(11, 26, 64, .12); }
.carte-preuve figcaption { color: var(--gris); font-size: .9rem; max-width: 420px; }

/* --- Site public ARTÉMIS (vitrine, logiciels, offre, espace) --- */
.evitement { position: absolute; left: -999px; top: 0; background: var(--or); color: var(--nuit); padding: .5rem 1rem; z-index: 10; }
.evitement:focus { left: 1rem; }
.bandeau nav .bouton.petit { padding: .45rem 1rem; font-size: .9rem; color: #fff; }
.bouton.second { background: #fff; color: var(--orange-fonce); border: 2px solid var(--or); box-shadow: none; }
.bouton.second:hover { background: var(--sable); }
.surtitre { text-transform: uppercase; letter-spacing: .08em; font: 600 .8rem var(--titres); color: var(--orange-fonce); margin: 0 0 .3rem; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; }
.section { padding: 2.2rem 0; }
.bande { background: var(--sable); border-radius: 22px; padding: 2.2rem 1.6rem; margin: 1rem 0; }
.titre-section { text-align: center; font-size: 1.7rem; margin-bottom: 1.4rem; }
.titre-section.gauche { text-align: left; }
.centre-texte { text-align: center; }
.intro.centre-texte { margin: 0 auto 1.2rem; }
.grille.trois { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grille.deux { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grille.deux.centre { align-items: center; }
.grille.logiciels { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1000px; margin-left: auto; margin-right: auto; }
@media (max-width: 760px) { .grille.logiciels { grid-template-columns: 1fr; } }
.produit img, .carte img { width: 100%; height: auto; border-radius: 10px; margin-bottom: .7rem; }
.produit h3 { margin: .2rem 0; font: 700 1.25rem var(--titres); color: var(--nuit); }
.accroche { font: 600 1.02rem var(--titres); color: var(--orange-fonce); margin: .2rem 0 .5rem; }
.prix { margin-top: auto; }
.produit .actions { margin-top: .6rem; }
.carte.offre { background: var(--nuit); color: #E7EAF5; border: 0; }
.carte.offre h3 { color: var(--or); font: 700 1.4rem var(--titres); margin: .4rem 0; }
.liste { padding-left: 1.2rem; }
.liste li { margin: .35rem 0; }
.liste.coches { list-style: none; padding: 0; }
.liste.coches li::before { content: "✓"; color: var(--vert); font-weight: 700; margin-right: .5rem; }
.etapes { max-width: 820px; margin: 0 auto; padding-left: 1.4rem; }
.etapes li { margin: .6rem 0; }
.chiffres.deuxcol { grid-template-columns: 1fr 1fr; }
.fil { color: var(--gris); font-size: .9rem; }
.produit-heros img { width: 100%; height: auto; border-radius: 18px; }
.espace-tete { text-align: center; max-width: 720px; margin: 1rem auto 1.5rem; }
.espace-carte { text-align: center; }
.proprio { margin-top: 2rem; }
.texte-legal { max-width: 860px; margin: 1rem auto; }
.pied { background: var(--nuit); color: #C9CEE0; padding: 2rem max(16px, calc((100% - 1160px) / 2)); text-align: left; border: 0; }
.pied-grille { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1.5rem; }
.pied h2 { color: var(--or); font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }
.pied a { color: #E7EAF5; display: block; margin: .25rem 0; }
.pied p a { display: inline; }
.pied img { background: #fff; border-radius: 8px; padding: 4px; }
.pied .discret { color: #8E96B5; margin-top: 1.5rem; text-align: center; }
@media (max-width: 760px) {
  .pied-grille { grid-template-columns: 1fr; }
  .bandeau nav { gap: .2rem .8rem; }
  .titre-section { font-size: 1.35rem; }
}
.produit img { aspect-ratio: 16 / 9; object-fit: contain; background: var(--nuit); }
#resultats .carte img { max-height: 340px; object-fit: cover; object-position: top; }
#resultats .galerie-vp { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: .7rem; }
#resultats .galerie-vp img { margin: 0; max-height: none; aspect-ratio: 9 / 13; object-fit: cover; object-position: center 30%; box-shadow: 0 6px 16px rgba(11, 20, 48, .18); }
#resultats .galerie-vp .vp-affiche { grid-column: 1 / -1; aspect-ratio: 4 / 5; object-position: top; }
.pastille { width: auto; }
p.pastille { display: inline-block; margin: 0 0 .4rem; }

/* --- Héros d'origine : l'archère à sa taille d'origine (1182 × 690, 68 % de la largeur, à droite) --- */
.heros-archere { position: relative; overflow: hidden; margin: -1.5rem calc(50% - 50vw) 0; padding: 0 max(16px, calc((100vw - 1160px) / 2)) 48px; min-height: min(40vw, 640px); }
.archere-visuel { position: absolute; right: 0; top: 0; width: 68%; aspect-ratio: 1182 / 690;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%), linear-gradient(0deg, transparent 0, #000 14%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 16%), linear-gradient(0deg, transparent 0, #000 14%); mask-composite: intersect; }
.archere-visuel img { width: 100%; height: 100%; object-fit: contain; animation: archere-respire 14s ease-in-out infinite alternate; transform-origin: 70% 40%; }
.archere-cible { position: absolute; left: 93.5%; top: 40.5%; width: 9%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; pointer-events: none; animation: archere-impact 3.2s ease-out infinite; }
.archere-eclat { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 40%, rgba(255,240,200,.35) 50%, transparent 60%); background-size: 250% 100%; animation: archere-balaye 7s ease-in-out infinite; mix-blend-mode: screen; }
.archere-texte { position: relative; z-index: 2; max-width: 520px; padding-top: clamp(40px, 6vw, 96px); }
.archere-texte .logo { max-width: 300px; width: 100%; height: auto; }
.archere-texte h1 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
@keyframes archere-respire { to { transform: scale(1.04); } }
@keyframes archere-impact { 0% { box-shadow: 0 0 0 0 rgba(255,196,70,.6); } 70% { box-shadow: 0 0 0 38px rgba(255,196,70,0); } 100% { box-shadow: 0 0 0 0 rgba(255,196,70,0); } }
@keyframes archere-balaye { 0%, 100% { background-position: 120% 0; } 50% { background-position: -20% 0; } }
@media (max-width: 900px) {
  .heros-archere { display: flex; flex-direction: column; min-height: 0; padding-bottom: 16px; }
  .archere-texte { order: 1; padding-top: 32px; max-width: none; }
  .archere-visuel { order: 2; position: relative; width: 100%; margin-top: 8px; -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 12%); mask-image: linear-gradient(0deg, transparent 0, #000 12%); }
  .archere-visuel img { animation: none; }
}
@media (prefers-reduced-motion: reduce) { .archere-visuel img, .archere-cible, .archere-eclat { animation: none; } }
.actions.centre { justify-content: center; }
.bandeau nav form { display: inline; }

/* Pack ARTÉMIS : espace client */
.choix-garantie { border: 1px solid var(--ligne); border-radius: 12px; padding: .8rem 1rem; display: grid; gap: .7rem; }
.choix-garantie legend { font-weight: 700; padding: 0 .3rem; }
label.radio { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
label.radio input { margin-top: .25rem; flex: none; }
input[type=text] { padding: .6rem .8rem; border: 1px solid #D9CBB0; border-radius: 10px; font: inherit; }
.quotas { list-style: none; padding: 0; margin: .4rem 0 1rem; display: grid; gap: .45rem; }
.quotas li { display: grid; grid-template-columns: 1fr auto; gap: .1rem .6rem; font-size: .92rem; }
.quotas span::first-letter { text-transform: uppercase; }
.quotas meter { grid-column: 1 / -1; width: 100%; height: .55rem; }
.tuile .bouton { margin-top: auto; text-align: center; }
.espace-tete.ligne { align-items: flex-start; }

/* Parcours « Par où commencer » (21/11/2026) */
.parcours .etapes { padding-left: 1.4rem; display: grid; gap: .55rem; }
.parcours .etapes li.fait { color: var(--gris); }
.parcours .etapes li.fait::marker { color: var(--vert); }
.parcours .etapes li.fait b::before { content: "✓ "; color: var(--vert); }
