/* === VARIABLES & RESET === */
:root {
    /* Couleurs extraites du logo fourni */
    --color-navy: #152A43;       /* Bleu nuit du texte KINESIS et tour Eiffel */
    --color-copper: #C26E38;     /* Cuivre/Orange de la feuille d'érable */
    --color-grey: #5A6268;       /* Gris du texte RH / base Tour Eiffel */
    
    /* Couleurs du thème clair */
    --color-bg: #FAFBFC;         /* Fond blanc/gris très pur */
    --color-text: #152A43;       /* Navy pour le texte principal */
    --color-text-mut: #5A6268;   /* Gris pour le texte secondaire */
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

body, html {
    width: 100%;
    height: 100%;
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    overflow: hidden; /* Empêche le scrolling sur cette page d'attente */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* === SEO : Texte caché pour les lecteurs d'écran & Moteurs de recherche === */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* === BACKGROUND ANIMATION === */
.background-animation {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    overflow: hidden;
}

/* Formes floues et flottantes (Version Claire) */
.shape {
    position: absolute;
    filter: blur(120px);
    border-radius: 50%;
    animation: float 25s infinite ease-in-out alternate;
}

.shape-1 {
    width: 60vw; height: 60vh;
    background: var(--color-navy);
    top: -20%; left: -20%;
    opacity: 0.05; /* Très subtil sur fond blanc */
    animation-delay: 0s;
}

.shape-2 {
    width: 40vw; height: 40vh;
    background: var(--color-copper);
    bottom: -10%; right: -10%;
    opacity: 0.08; /* Légèrement plus visible pour la chaleur */
    animation-delay: -5s;
    animation-duration: 30s;
}

.shape-3 {
    width: 30vw; height: 30vh;
    background: var(--color-navy);
    top: 50%; left: 40%;
    opacity: 0.04;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 30px) scale(1.1); }
    100% { transform: translate(-30px, 80px) scale(0.9); }
}

/* === SVG ILLUSTRATION (LIGNES) === */
.illustration-container {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    opacity: 0.15;
    pointer-events: none;
}

.moving-line {
    width: 100%;
    height: 100%;
}

.path-navy, .path-copper {
    fill: none;
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawLine 5s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

.path-navy {
    stroke: var(--color-navy);
    stroke-width: 1px;
}

.path-copper {
    stroke: var(--color-copper);
    stroke-width: 2px;
    animation-delay: 1s;
}

@keyframes drawLine {
    0% { stroke-dashoffset: 100; }
    100% { stroke-dashoffset: 0; }
}

/* === MINIMIZED LAYOUT === */
.minimal-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
    width: 100%;
    padding: 2rem;
}

/* === IMAGE DU LOGO === */
.logo-wrapper {
    margin-bottom: 2.5rem;
}

.brand-logo {
    width: 100%;
    max-width: 380px; /* Grande taille pour bien voir le logo */
    height: auto;
    filter: drop-shadow(0 15px 25px rgba(21, 42, 67, 0.08));
    animation: floatLogo 6s ease-in-out infinite alternate;
}

@keyframes floatLogo {
    0% { transform: translateY(0); }
    100% { transform: translateY(-12px); }
}

/* Fallback si l'image n'est pas présente */
.logo-fallback {
    font-family: var(--font-body);
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 2px;
}
.logo-fallback .navy { color: var(--color-navy); }
.logo-fallback .grey { color: var(--color-grey); }


/* === TEXTE === */
.text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.8rem;
    background: rgba(194, 110, 56, 0.05); /* Cuivre très léger */
    color: var(--color-copper);
    border: 1px solid rgba(194, 110, 56, 0.15);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 2.5rem;
}

.title {
    font-family: var(--font-heading);
    font-size: 3.6rem;
    line-height: 1.15;
    color: var(--color-navy);
    margin-bottom: 2rem;
}

.highlight {
    color: var(--color-copper);
    font-style: italic;
}

/* === LIEN DE CONTACT === */
.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-navy);
    border-bottom: 2px solid rgba(194, 110, 56, 0.3);
    text-decoration: none;
    transition: all 0.4s ease;
}

.contact-link:hover {
    color: var(--color-copper);
    gap: 20px;
    border-bottom-color: var(--color-copper);
}

/* === ANIMATIONS (Scroll Reveal) === */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* === RESPONSIVE & MOBILE SPECIFIC === */
@media (max-width: 768px) {
    .minimal-container {
        padding: 2rem 1.5rem;
        height: 100dvh; /* S'adapte parfaitement à la barre Safari/Chrome sur mobile */
        justify-content: center;
    }

    /* Formes d'arrière-plan redimensionnées pour envelopper l'écran vertical */
    .shape-1 { width: 120vw; height: 120vw; top: -10%; left: -30%; opacity: 0.08; }
    .shape-2 { width: 100vw; height: 100vw; bottom: -5%; right: -20%; opacity: 0.12; }

    /* Lignes SVG un peu plus prononcées pour se voir à travers les reflets mobiles */
    .illustration-container { opacity: 0.25; }
    .path-navy { stroke-width: 1.5px; }
    .path-copper { stroke-width: 2px; }

    .logo-wrapper {
        margin-bottom: 2rem;
    }

    .brand-logo { 
        max-width: 320px; /* Taille augmentée pour plus d'impact sur mobile */
        filter: drop-shadow(0 15px 30px rgba(21, 42, 67, 0.1));
    }

    /* Badge repensé avec plus d'espace de respiration (Padding) */
    .badge { 
        font-size: 0.7rem; 
        padding: 0.7rem 1.6rem;
        margin-bottom: 2.5rem;
        background: rgba(194, 110, 56, 0.08);
        border-color: rgba(194, 110, 56, 0.25);
    }

    .title { 
        font-size: 2.4rem; 
        line-height: 1.25;
        margin-bottom: 3.5rem;
    }

    /* Transformation du "lien" discret en un magnifique Bouton Pilule (Pill Button) : Plus ergonomique au pouce */
    .contact-link {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        background: linear-gradient(135deg, var(--color-navy), #1e3a5f);
        color: #FFFFFF;
        padding: 1.2rem;
        border-radius: 50px;
        border: none;
        box-shadow: 0 15px 30px rgba(21, 42, 67, 0.15);
        margin-top: 0.5rem;
    }

    .contact-link .arrow {
        color: var(--color-copper); /* Flèche cuivrée pour un contraste luxueux */
        font-size: 1.2rem;
    }

    .contact-link:hover {
        color: #FFFFFF;
        border-bottom: none;
        gap: 20px;
    }
}