/* ============================================================
   ADVIZIO CONSULTING — PAGE DE MAINTENANCE
   Orbs · Countdown · Pills · Animations
   ============================================================ */

html {
    height: 100%;
    overflow: hidden;
}

body {
    height: 100%;
    width: 100%;
    background: var(--marine) !important;
    color: var(--white);
    overflow-x: hidden;
    overflow-y: auto;
}

/* Annuler les règles de style.css non pertinentes pour cette page */
section { padding: 0; }

/* ─── Noise texture overlay ──────────────────────────────── */
body::before {
    content: '';
    position: fixed; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none; z-index: 0;
}

/* ─── Gradient orbs ──────────────────────────────────────── */
.orb {
    position: fixed; border-radius: 50%;
    filter: blur(80px); pointer-events: none;
    z-index: 0; opacity: 0.15;
}
.orb-1 {
    width: 500px; height: 500px; background: var(--blue);
    top: -150px; left: -100px;
    animation: drift 18s ease-in-out infinite alternate;
}
.orb-2 {
    width: 400px; height: 400px; background: var(--gold);
    bottom: -100px; right: -80px;
    animation: drift 22s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
    from { transform: translate(0, 0); }
    to   { transform: translate(40px, 30px); }
}

/* ─── Layout wrapper ─────────────────────────────────────── */
.wrapper {
    position: relative; z-index: 1;
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: clamp(2rem, 5vh, 5rem) clamp(1rem, 4vw, 3rem);
    gap: clamp(2rem, 3.5vh, 3.5rem);
    box-sizing: border-box;
}

/* ─── Logo (override taille pour maintenance) ────────────── */
.logo-block {
    display: flex; flex-direction: column;
    align-items: center; gap: 0.5rem;
    animation: fadeUp 0.8s ease both;
}
.logo-av {
    /* Override charte.css : taille plus grande sur la page maintenance */
    width: 72px; height: 72px; border-radius: 18px;
    font-size: 1.8rem;
    box-shadow: 0 8px 32px rgba(0,120,212,0.35);
    border: 1px solid rgba(255,255,255,0.08);
}
.logo-name {
    font-family: var(--font-display);
    font-weight: 700; font-size: 1.6rem;
    color: var(--white); letter-spacing: 0.04em;
}
.logo-underline {
    height: 2px; width: 100%;
    background: var(--gold); border-radius: 2px; margin-top: -2px;
}
.logo-consulting {
    font-size: 0.6rem; font-weight: 400;
    letter-spacing: 0.35em;
    color: rgba(255,255,255,0.45); text-transform: uppercase;
}

/* ─── Headline ───────────────────────────────────────────── */
.headline {
    text-align: center; max-width: 640px;
    animation: fadeUp 0.9s 0.15s ease both;
}
.headline h1 {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    line-height: 1.2; color: var(--white); margin-bottom: 1rem;
}
.headline p {
    font-size: 1.05rem; font-weight: 300;
    color: rgba(255,255,255,0.65); line-height: 1.7;
}

/* ─── Compte à rebours ───────────────────────────────────── */
.countdown-wrap { animation: fadeUp 1s 0.3s ease both; }
.countdown-label {
    text-align: center; font-size: 0.7rem;
    letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 1.2rem; font-weight: 500;
}
.countdown { display: flex; gap: 1rem; align-items: flex-end; }
.cd-item {
    display: flex; flex-direction: column;
    align-items: center; gap: 0.4rem; min-width: 72px;
}
.cd-number {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 700;
    line-height: 1; color: var(--white);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px; width: 80px; height: 80px;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(4px); transition: transform 0.15s ease;
}
.cd-number.tick { transform: scale(1.08); }
.cd-unit {
    font-size: 0.6rem; letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4); font-weight: 400;
}
.cd-sep {
    font-family: var(--font-display); font-size: 2rem;
    color: var(--gold); opacity: 0.5;
    margin-bottom: 28px; line-height: 1;
}

/* ─── Séparateur gold ────────────────────────────────────── */
.divider {
    width: 48px; height: 2px; background: var(--gold);
    border-radius: 2px; animation: fadeUp 1s 0.35s ease both;
}

/* ─── Pills ──────────────────────────────────────────────── */
.expertise {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 0.6rem; max-width: 600px;
    animation: fadeUp 1.1s 0.45s ease both;
}
.pill {
    font-size: 0.72rem; font-weight: 500;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px; padding: 0.35rem 1rem;
    letter-spacing: 0.02em;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.pill:hover {
    background: rgba(0,120,212,0.2); color: var(--white);
    border-color: rgba(0,120,212,0.4);
}

/* ─── Barre de contact ───────────────────────────────────── */
.contact-bar {
    display: flex; flex-wrap: wrap;
    justify-content: center; gap: 0.8rem 2rem;
    animation: fadeUp 1.3s 0.7s ease both;
}
.contact-link {
    font-size: 0.85rem; color: rgba(255,255,255,0.5);
    text-decoration: none; display: flex; align-items: center;
    gap: 0.5rem; transition: color 0.2s;
}
.contact-link:hover { color: var(--gold); }
.contact-link svg { width: 14px; height: 14px; fill: currentColor; }

/* ─── Note footer ────────────────────────────────────────── */
.footer-note {
    font-size: 0.65rem; color: rgba(255,255,255,0.18);
    text-align: center; animation: fadeUp 1.4s 0.8s ease both;
}

/* ─── Animations ─────────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── Mobile ─────────────────────────────────────────────── */
@media (max-width: 480px) {
    .wrapper { gap: 2rem; padding: 2rem 1.2rem; }
    .countdown { gap: 0.5rem; }
    .cd-item { min-width: 58px; }
    .cd-number { width: 64px; height: 64px; font-size: 1.8rem; }
    .cd-sep { font-size: 1.5rem; margin-bottom: 22px; }
    .headline h1 { font-size: 1.5rem; }
}
