/* ============================================================
   Log'Track, page d'attente de logtrack.fr
   ------------------------------------------------------------
   Page autonome, à déposer à la racine du domaine. Trois fichiers
   et rien d'autre : index.html, style.css, logo-logtrack.png.

   Couleurs et polices reprises du site vitrine pour que le
   visiteur retrouve la même maison : bleu de marque #1b4ef5,
   encre #1d1d1f, surface #f5f7fe, Sora en titrage et
   Hind Siliguri en texte.
   ============================================================ */

:root {
    --brand: #1b4ef5;
    --brand-profond: #0b3d82;
    --encre: #1d1d1f;
    --texte-doux: #5b5b66;
    --surface: #f5f7fe;
    --filet: #e4e4ea;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    min-height: 100vh;
    /* Repli en vh pour les navigateurs sans dvh : la page ne dépasse jamais d'un écran. */
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;

    background: var(--surface);
    color: var(--encre);
    font-family: 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Le voile de couleur. Très faible sur fond clair : il doit donner de la
   profondeur sans qu'on le remarque. */
.voile {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(46% 44% at 20% 14%, rgba(27, 78, 245, 0.10), transparent 72%),
        radial-gradient(40% 40% at 84% 84%, rgba(11, 61, 130, 0.07), transparent 70%);
}

.scene {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 560px;
    text-align: center;
}

.logo {
    width: 232px;
    height: auto;
    margin: 0 auto 34px;
    display: block;
}

.surtitre {
    margin: 0 0 14px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand);
}

h1 {
    margin: 0 0 36px;
    font-family: 'Sora', system-ui, sans-serif;
    font-size: clamp(1.9rem, 5.4vw, 2.7rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.015em;
}

.actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.bouton {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-family: 'Sora', system-ui, sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 14px 28px -14px rgba(27, 78, 245, 0.7);
    transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.bouton svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bouton:hover,
.bouton:focus-visible {
    background: var(--brand-profond);
    transform: translateY(-2px);
    box-shadow: 0 18px 32px -14px rgba(27, 78, 245, 0.8);
}

.lien {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--texte-doux);
    font-size: 14.5px;
    text-decoration: none;
    transition: color 160ms ease;
}

.lien svg {
    width: 11px;
    height: 11px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lien:hover,
.lien:focus-visible { color: var(--brand); }

.bouton:focus-visible,
.lien:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
}

.pied {
    margin: 46px auto 0;
    padding-top: 22px;
    max-width: 420px;
    border-top: 1px solid var(--filet);
    color: var(--texte-doux);
    font-size: 13px;
    line-height: 1.55;
}

/* Arrivée en cascade au chargement. Un seul mouvement, joué une fois :
   sur une page d'attente, tout ce qui bouge en boucle finit par agacer. */
@keyframes apparition {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
}

.apparait {
    opacity: 0;
    animation: apparition 700ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.apparait-1 { animation-delay: 90ms; }
.apparait-2 { animation-delay: 180ms; }
.apparait-3 { animation-delay: 270ms; }
.apparait-4 { animation-delay: 360ms; }

@media (max-width: 480px) {
    .logo { width: 188px; margin-bottom: 28px; }
    h1 { margin-bottom: 30px; }
    .pied { margin-top: 38px; }
}

@media (prefers-reduced-motion: reduce) {
    .apparait {
        opacity: 1;
        animation: none;
    }
    .bouton,
    .lien { transition: none; }
    .bouton:hover { transform: none; }
}
