/* ADMINREZO — page d'attente de www.adminrezo.com (teaser/LISEZMOI.md). Toujours sombre.
   Couleurs : thème sombre de la charte A « Pétrole » (site/assets/css/tokens.css v4 ; docs/05-charte.md §4.1).
   Compatible CSP stricte : aucune règle en ligne ; police auto-hébergée (Archivo, licence SIL OFL 1.1, fonts/OFL-Archivo.txt). */

@font-face{font-family:'Archivo';font-style:normal;font-display:swap;font-weight:100 900;font-stretch:62% 125%;src:url(../fonts/archivo-latin-standard-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{
  color-scheme:dark;
  --ar-fond:#0A0E13;
  --ar-bordure:#22303C;         /* décoratif */
  --ar-texte:#E8EEF3;           /* 16,54:1 sur le fond */
  --ar-texte-2:#9AA8B5;         /*  7,96:1 */
  --ar-accent:#3AA6DD;          /*  7,07:1 */
  --ar-accent-survol:#7CC4EA;   /* 10,08:1 */
  --ar-sur-accent:#0A0E13;      /*  7,07:1 sur l'accent ; 10,08:1 sur l'accent de survol */
  --ar-focus:#7CC4EA;
  --ar-lumiere:#3AA6DD;
  --ar-lumiere-vive:#7CC4EA;
  --ar-lumiere-eteinte:.16;
  --ar-lumiere-faible:.08;
  --ar-lueur:drop-shadow(0 0 6px rgb(58 166 221 / .55));
  --ar-halo:10%;
  --ar-police:'Archivo',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --ar-rayon:2px;
  --ar-transition:200ms ease-out;
  --ar-anim-courbe:cubic-bezier(.2,.7,.2,1);
  --ar-anim-allumage:1.1s;
  --marge:clamp(1.25rem,.55rem + 3vw,3rem);
  --contenu-max:72rem;
}

*,*::before,*::after{box-sizing:border-box}
html{background:var(--ar-fond);scroll-behavior:smooth}
body{margin:0;background:var(--ar-fond);color:var(--ar-texte);font-family:var(--ar-police);font-size:1.0625rem;line-height:1.6;-webkit-font-smoothing:antialiased}
img,svg{display:block;max-width:100%}
a{color:var(--ar-accent);text-underline-offset:.2em;transition:color var(--ar-transition)}
a:hover{color:var(--ar-accent-survol)}
:focus-visible{outline:2px solid var(--ar-focus);outline-offset:3px}
::selection{background:var(--ar-accent);color:var(--ar-sur-accent)}
.titre{font-stretch:125%;font-weight:600;line-height:1.08;letter-spacing:-.01em;margin:0}

/* ---------- Premier écran ----------
   Mobile : la lumière en haut, sur toute la largeur, puis la marque, le message et le pied.
   À partir de 48 rem : la lumière occupe le coin haut droit ; la marque à gauche réserve sa hauteur,
   pour que le message passe dessous (aucun texte sur un point allumé). */
.ecran{
  --h-lumiere:clamp(9rem,24svh,12rem);
  position:relative;
  overflow:hidden;
  min-height:100vh;
  min-height:100svh;
  display:flex;
  flex-direction:column;
  padding:0 var(--marge) var(--marge);
  padding-inline:max(var(--marge),calc((100% - var(--contenu-max)) / 2));
  background:var(--ar-fond);
  /* Halo d'accueil de la charte (§1) ; sans color-mix(), fond uni */
  background:radial-gradient(60rem 28rem at 85% -10%,color-mix(in srgb,var(--ar-accent) var(--ar-halo),transparent),transparent 70%),var(--ar-fond);
}
.lumiere{position:absolute;top:0;right:0;width:100%;height:var(--h-lumiere);overflow:hidden;pointer-events:none}
.lumiere svg{position:absolute;top:0;right:0;width:max(100%,34rem);max-width:none;height:auto;aspect-ratio:800 / 520}
.marque{position:relative;padding-top:calc(var(--h-lumiere) + .5rem)}
.logo{height:clamp(2rem,1.45rem + 1.5vw,2.75rem);width:auto}
.signature{margin:1rem 0 0;color:var(--ar-texte-2);font-size:clamp(1rem,.95rem + .25vw,1.1875rem);line-height:1.45}
.signature span{display:block}
.message{position:relative;padding-top:clamp(2.5rem,1.5rem + 4vw,4rem)}
.message h1{font-size:clamp(1.875rem,1.05rem + 4vw,4rem)}
.message h1 span{display:block}
.contact{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1rem;margin:clamp(1.75rem,1.25rem + 2vw,2.75rem) 0 0}
.bouton{display:inline-flex;align-items:center;min-height:44px;padding:.7em 1.2em;background:var(--ar-accent);color:var(--ar-sur-accent);font-weight:600;text-decoration:none;border:1px solid var(--ar-accent);border-radius:var(--ar-rayon);overflow-wrap:anywhere;transition:background-color var(--ar-transition),border-color var(--ar-transition),color var(--ar-transition)}
.bouton:hover{background:var(--ar-accent-survol);border-color:var(--ar-accent-survol);color:var(--ar-sur-accent)}
.pied{position:relative;margin:auto 0 0;padding-top:3rem;display:flex;flex-wrap:wrap;align-items:baseline;gap:.25rem 1.5rem;font-size:.9375rem;color:var(--ar-texte-2)}
.pied a{display:inline-block;padding:.25rem 0}

@media (min-width:48rem){
  .ecran{--h-lumiere:clamp(16rem,50svh,34rem)}
  .lumiere{width:min(64vw,62rem)}
  .marque{padding-top:var(--marge);min-height:calc(var(--h-lumiere) + 1.5rem)}
  .message{padding-top:0}
}

/* ---------- Mentions légales (sous le premier écran) ---------- */
.mentions{border-top:1px solid var(--ar-bordure);padding:3rem var(--marge) 4rem;padding-inline:max(var(--marge),calc((100% - var(--contenu-max)) / 2));font-size:.9375rem;color:var(--ar-texte-2)}
.mentions h2{font-size:clamp(1.25rem,1.1rem + .6vw,1.5rem);color:var(--ar-texte);margin:0 0 1.5rem}
.mentions-grille{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr));gap:1.5rem 2.5rem}
.mentions h3{font-size:.9375rem;font-weight:600;color:var(--ar-texte);margin:0 0 .5rem}
.mentions p{margin:0 0 .75rem;max-width:60ch}
.a-valider{outline:1px dashed currentColor;outline-offset:2px;white-space:nowrap}

/* ---------- Œuvre : le halo d'accueil, rendu en points de LED ----------
   État final = état par défaut (sans animation) : points allumés, vifs près de la source, éteints autour.
   L'allumage ne joue qu'une fois, si le visiteur n'a pas demandé moins d'animations : chaque point part
   de l'état éteint, s'allume vif, puis se pose à sa valeur finale. Dernier point allumé avant 5 s. */
.oeuvre circle{fill:var(--ar-lumiere)}
.oeuvre .faibles{opacity:var(--ar-lumiere-faible)}
.oeuvre .eteints{opacity:var(--ar-lumiere-eteinte)}
.oeuvre .allumes circle{opacity:.9}
.oeuvre .vifs circle{fill:var(--ar-lumiere-vive)}
.oeuvre .vifs{filter:var(--ar-lueur)}
@keyframes allume{
  0%{opacity:var(--ar-lumiere-eteinte);fill:var(--ar-lumiere)}
  30%{opacity:1;fill:var(--ar-lumiere-vive)}
}
@media (prefers-reduced-motion:no-preference){
  .oeuvre .allumes circle,.oeuvre .vifs circle{animation-name:allume;animation-duration:var(--ar-anim-allumage);animation-timing-function:var(--ar-anim-courbe);animation-fill-mode:both}
  /* Onglet ouvert en arrière-plan (js/teaser.js) : état final, puis l'allumage joue au premier affichage */
  .en-attente .oeuvre circle{animation-name:none}
}
/* Moins d'animations (charte §1) : ni animation ni transition, tout reste fixe à l'état final */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none !important;transition:none !important}
}
/* DELAIS:DEBUT (bloc généré : moment d'allumage de chaque point, par pas de 0,05 s) */
.oeuvre .t5{animation-delay:0.25s}
.oeuvre .t8{animation-delay:0.4s}
.oeuvre .t9{animation-delay:0.45s}
.oeuvre .t11{animation-delay:0.55s}
.oeuvre .t12{animation-delay:0.6s}
.oeuvre .t13{animation-delay:0.65s}
.oeuvre .t14{animation-delay:0.7s}
.oeuvre .t15{animation-delay:0.75s}
.oeuvre .t16{animation-delay:0.8s}
.oeuvre .t17{animation-delay:0.85s}
.oeuvre .t18{animation-delay:0.9s}
.oeuvre .t19{animation-delay:0.95s}
.oeuvre .t20{animation-delay:1s}
.oeuvre .t21{animation-delay:1.05s}
.oeuvre .t22{animation-delay:1.1s}
.oeuvre .t23{animation-delay:1.15s}
.oeuvre .t24{animation-delay:1.2s}
.oeuvre .t25{animation-delay:1.25s}
.oeuvre .t26{animation-delay:1.3s}
.oeuvre .t27{animation-delay:1.35s}
.oeuvre .t28{animation-delay:1.4s}
.oeuvre .t29{animation-delay:1.45s}
.oeuvre .t30{animation-delay:1.5s}
.oeuvre .t31{animation-delay:1.55s}
.oeuvre .t32{animation-delay:1.6s}
.oeuvre .t33{animation-delay:1.65s}
.oeuvre .t34{animation-delay:1.7s}
.oeuvre .t35{animation-delay:1.75s}
.oeuvre .t36{animation-delay:1.8s}
.oeuvre .t37{animation-delay:1.85s}
.oeuvre .t38{animation-delay:1.9s}
.oeuvre .t39{animation-delay:1.95s}
.oeuvre .t40{animation-delay:2s}
.oeuvre .t41{animation-delay:2.05s}
.oeuvre .t42{animation-delay:2.1s}
.oeuvre .t43{animation-delay:2.15s}
.oeuvre .t44{animation-delay:2.2s}
.oeuvre .t45{animation-delay:2.25s}
.oeuvre .t46{animation-delay:2.3s}
.oeuvre .t47{animation-delay:2.35s}
.oeuvre .t48{animation-delay:2.4s}
.oeuvre .t49{animation-delay:2.45s}
.oeuvre .t50{animation-delay:2.5s}
.oeuvre .t51{animation-delay:2.55s}
.oeuvre .t52{animation-delay:2.6s}
.oeuvre .t53{animation-delay:2.65s}
.oeuvre .t54{animation-delay:2.7s}
.oeuvre .t55{animation-delay:2.75s}
.oeuvre .t56{animation-delay:2.8s}
.oeuvre .t57{animation-delay:2.85s}
.oeuvre .t58{animation-delay:2.9s}
.oeuvre .t59{animation-delay:2.95s}
.oeuvre .t60{animation-delay:3s}
.oeuvre .t61{animation-delay:3.05s}
.oeuvre .t62{animation-delay:3.1s}
.oeuvre .t63{animation-delay:3.15s}
.oeuvre .t64{animation-delay:3.2s}
.oeuvre .t65{animation-delay:3.25s}
.oeuvre .t66{animation-delay:3.3s}
.oeuvre .t67{animation-delay:3.35s}
.oeuvre .t68{animation-delay:3.4s}
.oeuvre .t69{animation-delay:3.45s}
.oeuvre .t70{animation-delay:3.5s}
.oeuvre .t71{animation-delay:3.55s}
.oeuvre .t72{animation-delay:3.6s}
/* DELAIS:FIN */
