/* =============================================================
   Accueil (VITRINE-S19, 26/09/2026) : feuille propre à la page, reprise de la proposition validée
   (_propositions/accueil/claude/v4/accueil.css). Seuls ajouts au système E (style.css + extra.css).
   Rien n'attend le script pour s'afficher ; le mouvement n'existe que sous .d-js:not(.d-still) (Pause,
   mouvement réduit) ; transform et opacity seulement ; rien n'apparaît au défilement.
   ============================================================= */

/* ---------- Robustesse : sans script, rien ne tourne (deux décors du système E tournaient sans script) ---------- */
html:not(.d-js) .hero-eyebrow::before, .d-still .hero-eyebrow::before { animation: none; }
html:not(.d-js) .screen-veille .rows .rowline { animation: none; opacity: 1; }
html:not(.d-js) .screen-veille .rows .rowline:nth-child(2) { transform: translateY(36px); }
html:not(.d-js) .screen-veille .rows .rowline:nth-child(3) { transform: translateY(72px); }
html:not(.d-js) .screen-veille .rows .rowline:nth-child(4) { transform: translateY(108px); }
html:not(.d-js) .screen-veille .rows .rowline:nth-child(5) { transform: translateY(144px); }
html:not(.d-js) .screen-veille .rows .rowline:nth-child(6) { transform: translateY(180px); }
html:not(.d-js) .screen-veille .rows .rowline:nth-child(7) { transform: translateY(216px); }

/* ---------- 1. En-tête : deux colonnes à partir de 1 240 px, sinon le texte puis le schéma ---------- */
.a-hero .d-hero-grid { grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 3.5vw, 44px); }
@media (min-width: 1240px) { .a-hero .d-hero-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); } }
.a-hero .d-figure { order: 0; }                       /* le titre d'abord, à toutes les tailles */
@media (min-width: 600px) and (max-width: 900px) and (max-height: 520px) and (orientation: landscape) {
  .a-hero .d-hero-grid { grid-template-columns: minmax(0, 1fr); }   /* le titre reste en tête ; le schéma suit */
}
.a-hero .hero-eyebrow { margin-bottom: 18px; }
.a-hero h1 {
  font-family: 'Inter', sans-serif; font-size: clamp(32px, 3.9vw, 54px); font-weight: 600;
  line-height: 1.06; letter-spacing: -0.03em; margin: 0 0 16px; max-width: 19ch; text-wrap: balance;
}
.a-hero .project-tagline { max-width: 36ch; }
.a-hero .d-intro { max-width: 54ch; }

/* ---------- Le schéma « de la masse à l'utile » (illustration, badge visible) ---------- */
.a-flow-fig { align-self: center; }
.a-flow-fig .screen-bar { flex-wrap: wrap; row-gap: 6px; }                     /* titre à la ligne plutôt que coupé (comme GEOPOL) */
.a-flow-fig .screen-bar .t { white-space: normal; overflow: visible; text-overflow: clip; }
.a-flow-body {
  display: grid; grid-template-columns: minmax(0, 0.95fr) 28px minmax(0, 1fr) 28px minmax(0, 1.45fr);
  align-items: center; padding: 18px 16px 16px; font-family: 'JetBrains Mono', monospace;
}
.a-col { display: grid; align-content: start; gap: 7px; min-width: 0; }
.a-col-t { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 2px; }
.a-item {
  display: flex; align-items: center; gap: 8px; min-width: 0; padding: 7px 9px; border: 1px solid var(--border);
  border-radius: 7px; background: rgba(255, 255, 255, 0.03); font-size: 12px; line-height: 1.3; color: var(--text-muted);
}
.a-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-soft); flex: 0 0 auto; }
.a-dup { border-style: dashed; border-color: rgba(251, 191, 36, 0.45); }
.a-dup .a-dot { background: var(--warn); }
.a-rule {
  position: relative; display: flex; align-items: center; gap: 8px; padding: 9px 10px; border: 1px solid var(--border-strong);
  border-radius: 8px; background: #101116; font-size: 12px; line-height: 1.3; color: var(--text);
}
.a-rule i, .a-human i { position: relative; width: 14px; height: 14px; flex: 0 0 auto; border-radius: 50%; border: 1.5px solid var(--ok); }
.a-rule i::after, .a-human i::after {
  content: ''; position: absolute; left: 3.5px; top: 1px; width: 3px; height: 7px;
  border: solid var(--ok); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
.a-rule::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; border: 1px solid rgba(10, 132, 255, 0.75);
  background: rgba(10, 132, 255, 0.10); opacity: 0; pointer-events: none;
}
.a-row {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; min-width: 0;
  padding: 7px 8px; border: 1px solid var(--border); border-radius: 7px; background: rgba(255, 255, 255, 0.03);
}
.a-row em { font-style: normal; font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.a-off .chip, .a-off .sk, .a-off em { opacity: 0.6; }
.a-human {
  display: flex; align-items: center; gap: 8px; margin-top: 3px; padding: 8px 10px; border: 1px solid rgba(74, 222, 128, 0.45);
  border-radius: 8px; background: rgba(74, 222, 128, 0.06); font-size: 12px; color: var(--ok);
}
.a-link { position: relative; height: 2px; margin: 0 5px; background: linear-gradient(90deg, var(--border-strong), var(--blue-soft)); opacity: 0.8; }
.a-pulse {
  position: absolute; left: -2px; top: -3px; width: 8px; height: 8px; border-radius: 50%; opacity: 0;
  background: var(--blue-soft); box-shadow: 0 0 10px 2px rgba(124, 192, 255, 0.7);
}
@media (max-width: 699px) {
  .a-flow-body { grid-template-columns: minmax(0, 1fr); padding: 16px 14px 14px; }
  .a-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .a-rules { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .a-in .a-col-t, .a-rules .a-col-t { grid-column: 1 / -1; }
  .a-rule { flex-direction: column; align-items: flex-start; gap: 6px; padding: 8px; }
  .a-link { width: 2px; height: 22px; margin: 8px auto; background: linear-gradient(180deg, var(--border-strong), var(--blue-soft)); }
  .a-pulse { left: -3px; top: -2px; }
}

/* Le mouvement : les arrivées glissent, les contrôles s'allument, les résultats se posent, puis « Vous validez » */
.d-js:not(.d-still) .a-item { animation: a-arrive 10s ease-out infinite backwards; animation-delay: calc(var(--i) * 0.3s); }
.d-js:not(.d-still) .a-dup { animation-name: a-arrive-dup; }
.d-js:not(.d-still) .a-rule::after { animation: a-lit 10s ease-out infinite backwards; animation-delay: calc(1.9s + var(--i) * 0.6s); }
.d-js:not(.d-still) .a-row { animation: a-land 10s ease-out infinite backwards; animation-delay: calc(3.8s + var(--i) * 0.5s); }
.d-js:not(.d-still) .a-human { animation: a-ok 10s ease-out infinite backwards; animation-delay: 6.2s; }
.d-js:not(.d-still) .a-link .a-pulse { animation: a-travel-x 10s linear infinite backwards; animation-delay: 1.3s; }
.d-js:not(.d-still) .a-link ~ .a-link .a-pulse { animation-delay: 3.4s; }
@keyframes a-arrive { 0% { opacity: 0; transform: translateX(-12px); } 6%, 86% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateX(10px); } }
@keyframes a-arrive-dup { 0% { opacity: 0; transform: translateX(-12px); } 6%, 26% { opacity: 1; transform: none; } 34%, 86% { opacity: 0.35; transform: none; } 100% { opacity: 0; transform: translateX(10px); } }
@keyframes a-lit { 0%, 2% { opacity: 0; } 5%, 20% { opacity: 1; } 27%, 100% { opacity: 0; } }
@keyframes a-land { 0% { opacity: 0; transform: translateY(8px); } 5%, 78% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; transform: none; } }
@keyframes a-ok { 0% { opacity: 0; transform: scale(0.96); } 5%, 64% { opacity: 1; transform: none; } 76%, 100% { opacity: 0; transform: none; } }
@keyframes a-travel-x { 0% { opacity: 0; transform: translateX(0); } 2% { opacity: 1; } 12% { opacity: 1; transform: translateX(20px); } 14%, 100% { opacity: 0; transform: translateX(20px); } }
@keyframes a-travel-y { 0% { opacity: 0; transform: translateY(0); } 2% { opacity: 1; } 12% { opacity: 1; transform: translateY(20px); } 14%, 100% { opacity: 0; transform: translateY(20px); } }
@media (max-width: 699px) { .d-js:not(.d-still) .a-link .a-pulse { animation-name: a-travel-y; } }

/* ---------- Accroche en deux temps (Codex) : la seconde ligne en bleu ---------- */
.a-hero h1 span { display: block; color: var(--blue-soft); }

/* ---------- 2. Réalisations : fiches (image puis texte), visuels du site ---------- */
.a-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.a-card.tile { aspect-ratio: auto; display: flex; flex-direction: column; background: #101115; }
.a-card .tile-media { position: relative; inset: auto; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--border); background: #0b0c10; }
.a-card[data-project="insta"] .tile-poster { object-fit: cover; }
.a-card .tile-mini { padding: 44px 8% 18px; align-items: center; }
.a-card .tile-mini .screen-veille .rows { height: 144px; }
.a-media-badge { position: absolute; top: 14px; right: 14px; z-index: 2; }
.a-card-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px 24px 20px; }
.a-card-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; }
.a-card .tile-name { font-size: 17px; }
.a-card .tile-link { display: inline-flex; align-items: center; min-height: 28px; }   /* cible tactile ≥ 24 px (la fiche entière reste cliquable) */
.a-status { display: inline-flex; align-items: center; gap: 7px; font: 500 12px 'JetBrains Mono', monospace; letter-spacing: 0.04em; color: var(--text-muted); }
.a-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
.a-status.is-prod { color: var(--ok); }
.a-status.is-pilot { color: var(--warn); }
.a-status.is-final { color: var(--blue-soft); }
.a-status.is-rest { color: var(--text-muted); }
.a-card-title { font-size: clamp(19px, 1.7vw, 22px); font-weight: 600; line-height: 1.28; letter-spacing: -0.015em; text-wrap: balance; }
.a-card-desc { font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.a-card-proof { font-size: 14px; line-height: 1.55; color: var(--text-muted); }
.a-card-proof b { color: var(--text); font-weight: 600; }
.a-card-tech { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); font: 500 12px 'JetBrains Mono', monospace; letter-spacing: 0.04em; color: var(--text-faint); }
@media (max-width: 760px) {
  .a-cards { grid-template-columns: minmax(0, 1fr); }
  .a-card .tile-mini { padding: 40px 5% 10px; }
  .a-card .tile-mini .screen-bar { display: flex; }
  .a-card .tile-mini .screen-veille .rows { height: 108px; }
}

/* GEOPOL : le radar est une page à part que Pause ne peut pas arrêter. Il ne s'affiche donc que si le mouvement est
   permis ; sans script, en mouvement réduit ou en Pause, on voit le dessin fixe (articles cotés A B C → brief). */
.a-geo-media .tile-iframe { display: none; }
.d-js:not(.d-still) .a-geo-media .tile-iframe { display: block; }
.a-geo-still {
  position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr); align-items: center;
  gap: 12px; padding: 44px 9% 22px; font-family: 'JetBrains Mono', monospace;
  background: radial-gradient(ellipse at 45% 90%, rgba(10, 132, 255, 0.14), transparent 75%), #0d1118;
}
.a-geo-stack { display: grid; gap: 8px; }
.a-geo-stack > span { display: flex; align-items: center; gap: 12px; padding: 8px 11px; border: 1px solid rgba(124, 192, 255, 0.3); border-radius: 6px; background: #121c2a; }
.a-geo-stack i { height: 4px; flex: 1; background: rgba(210, 225, 243, 0.24); border-radius: 3px; }
.a-grade { display: inline-grid; place-items: center; width: 24px; height: 22px; border-radius: 5px; font-size: 12px; font-weight: 600; border: 1px solid; }
.a-grade.is-a { color: var(--ok); border-color: rgba(74, 222, 128, 0.5); }
.a-grade.is-b { color: var(--blue-soft); border-color: rgba(124, 192, 255, 0.5); }
.a-grade.is-c { color: var(--warn); border-color: rgba(251, 191, 36, 0.5); }
.a-geo-arrow { color: var(--blue-soft); font-size: 20px; text-align: center; }
.a-geo-brief { display: grid; gap: 10px; align-content: start; min-height: 112px; padding: 14px; border: 1px solid rgba(124, 192, 255, 0.4); border-radius: 7px; background: #141c28; }
.a-geo-brief > span { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: #c4d6eb; }
.a-geo-brief > i { height: 4px; background: rgba(210, 225, 243, 0.24); border-radius: 3px; }
.a-geo-brief > i:nth-of-type(2) { width: 76%; }
.a-geo-brief > i:nth-of-type(3) { width: 34%; background: var(--accent); }
@media (max-width: 480px) { .a-geo-still { padding: 40px 6% 14px; gap: 8px; grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr); } .a-geo-brief { min-height: 88px; } }

/* ---------- 3. Méthode : les deux engagements en avant (retour d'Alexandre du 26/09), puis les principes ---------- */
.a-promises { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: clamp(48px, 6vw, 72px); }
.a-promise {
  position: relative; display: grid; align-content: start; gap: 10px; padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(124, 192, 255, 0.35); border-radius: var(--radius-lg);
  background: radial-gradient(ellipse at 0% 0%, rgba(10, 132, 255, 0.14), transparent 60%), #10141c;
}
.a-promise-k { font: 500 12px 'JetBrains Mono', monospace; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue-soft); }
.a-promise h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; }
.a-promise p { font-size: 16px; line-height: 1.6; color: var(--text-muted); max-width: 44ch; }
.a-how { margin: 0 0 20px; font: 600 clamp(22px, 2.4vw, 28px)/1.2 'Inter', sans-serif; letter-spacing: -0.015em; color: var(--text); }
@media (max-width: 760px) { .a-promises { grid-template-columns: minmax(0, 1fr); } }

#methode .method-more { margin-top: 26px; }

/* ---------- 4. La personne : monogramme (Codex) ---------- */
.a-about { max-width: 900px; }
.a-person { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: clamp(18px, 2.5vw, 28px); align-items: start; }
.a-monogram {
  position: relative; display: grid; place-items: center; width: 120px; height: 120px; border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong); background: linear-gradient(135deg, #11233a, #0c111b);
  font: 500 38px 'JetBrains Mono', monospace; letter-spacing: -0.06em; color: var(--blue-soft);
}
.a-monogram span { position: absolute; top: 14px; left: 14px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.a-person h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; margin: 0 0 12px; text-wrap: balance; }
.a-person-lead { font-size: 16px; line-height: 1.65; color: var(--text-muted); max-width: 56ch; }
@media (max-width: 480px) {
  .a-person { grid-template-columns: minmax(0, 1fr); }
  .a-monogram { width: 72px; height: 72px; font-size: 24px; }
  .a-monogram span { top: 9px; left: 9px; width: 6px; height: 6px; }
}

/* ---------- 5. Contact : le panneau (Codex) ---------- */
.a-contact {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center;
  padding: clamp(24px, 4vw, 48px); border: 1px solid rgba(124, 192, 255, 0.32); border-radius: var(--radius-lg);
  background: radial-gradient(ellipse at 100% 0%, rgba(10, 132, 255, 0.12), transparent 65%), #10151e;
}
.a-contact h2 { font-size: clamp(26px, 3.1vw, 40px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; max-width: 22ch; margin: 0 0 14px; text-wrap: balance; }
.a-contact-lead { font-size: 17px; line-height: 1.6; color: var(--text-muted); max-width: 54ch; }
.a-format { margin-top: 16px; font: 500 12px 'JetBrains Mono', monospace; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint); }
.a-contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.a-response { font-size: 13px; color: var(--text-muted); }
.btn.a-btn-ghost { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn.a-btn-ghost:hover { border-color: var(--blue-soft); background: rgba(124, 192, 255, 0.06); }
@media (max-width: 900px) { .a-contact { grid-template-columns: minmax(0, 1fr); } }
