:root {
    --black  : #1c1b1a;
    --surface-1  : #252423;
    --surface-2  : #2e2d2b;
    --border  : #42413f;
    --white  : #fdfaf7;
    --muted  : #a8a39c;
    --orange : #ff6702;
    --font-primary : 'ztNature', Arial, Helvetica, sans-serif;
    --font-secondary : 'jubble', Arial, Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
  font-family: ztNature;
  font-weight: 400;
  src: url(./fonts/ZTNature-Regular.woff2);
}

@font-face {
  font-family: ztNature;
  font-weight: 700;
  src: url(./fonts/ZTNature-Bold.woff2);
}

@font-face {
  font-family: jubble;
  font-weight: 400;
  src: url(./fonts/jubble.otf);
}

html {
    background-color: var(--black);
    color: var(--white);
    font-family: var(--font-primary);
}

body {
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

h1 {
    font-family: var(--font-secondary);
}

.global-wrapper {
    position: relative;
    z-index: 1;
    max-width: 650px;
    padding: 6rem 1.5rem;
    margin: 0 auto;
}

.container {
    margin-bottom: 2rem;
}

.container h2 {
    margin-bottom: .75rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--muted);
}


/* -------------------------------------------------- */
/* ---------- Fond animé (blobs) ---------- */
.bg-blobs {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    background: var(--orange);
    filter: blur(90px);
    opacity: .25;
    will-change: transform;
    display: block;
}

.blob-1 {
    width: 420px;
    height: 420px;
    top: -10%;
    left: -10%;
    animation: float-1 22s ease-in-out infinite;
}

.blob-2 {
    width: 360px;
    height: 360px;
    top: 40%;
    right: -12%;
    animation: float-2 26s ease-in-out infinite;
}

@keyframes float-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(60px, 40px) scale(1.15); }
    66%      { transform: translate(-30px, 70px) scale(.9); }
}

@keyframes float-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(-50px, 60px) scale(.85); }
    66%      { transform: translate(40px, -40px) scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
    .blob {
        animation: none;
    }
}


/* -------------------------------------------------- */
/* ---------- Header ---------- */
.header-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 3rem;
}

.header-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
    margin-bottom: 1.25rem;
}

.header-name {
    font-size: 1.25rem;
    color: var(--muted);
    font-weight: 700;
}

.header-title {
    font-size: 1.75rem;
    color: var(--orange);
    margin-top: .25rem;
    font-weight: 400;
}

/* -------------------------------------------------- */
/* ---------- Calitrack ---------- */
.calitrack .card-list {
    margin-top: 1rem;
}


/* -------------------------------------------------- */
/* ---------- Card ---------- */
.card-list {
    display: flex;
    align-items: stretch;
    gap: 1rem;
}

.container > .card {
    margin-bottom: 0;
}

.card {
    position: relative;
    z-index: 0;
    width: 100%;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background-color: var(--surface-1);
    color: var(--white);
    text-decoration: none;
    transition: border-color .3s ease-in-out, background-color .3s ease-in-out, transform .2s ease-in-out;
}

.card::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(.85);
    z-index: -1;
    border-radius: 50%;
    background: var(--orange);
    opacity: 0;
    filter: blur(24px);
    transition: opacity .35s ease-in-out, transform .35s ease-in-out;
    pointer-events: none;
    width: 70%;
    height: 40%;
}

.card:hover {
    border-color: var(--orange);
    background-color: var(--surface-2);
    transform: translateY(-2px);
}

.card:hover::before {
    opacity: .45;
    transform: translate(-50%, -50%) scale(1.05);
}

.card-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.card-title {
    font-weight: 700;
    font-size: .95rem;
}

.card-subtitle {
    font-size: .8rem;
    color: var(--muted);
    margin-top: 2px;
}

/* -------------------------------------------------- */
/* ---------- Social icons (bas de page) ---------- */
.social-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border);
    background-color: var(--surface-1);
    color: var(--white);
    text-decoration: none;
    transition: border-color .3s ease-in-out, color .3s ease-in-out, transform .2s ease-in-out;
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

.social-icon:hover {
    border-color: var(--orange);
    color: var(--orange);
    transform: translateY(-2px);
}

/* -------------------------------------------------- */
/* ---------- Responsive ---------- */
@media (max-width: 480px) {
    .global-wrapper {
        padding: 4rem 1.25rem;
    }

    .card-list {
        flex-direction: column;
    }

    .blob {
        filter: blur(60px);
        opacity: .2;
    }
}

@media (max-width: 1100px) {
    .blob {
        display: none;
    }
}