﻿/* CSS Critique - Above the fold */
/* OptimisÃ© pour le chargement initial */

/* Variables essentielles */
:root {
    --brand: #7da3a4;
    --accent: #c4815b;
    --ink: #2f3a3a;
    --white: #fff;
    --font-family: 'Aptos', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

body {
    font-family: var(--font-family);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    line-height: 1.6;
    color: var(--ink);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header critique */
.div-block {
    background: var(--brand);
    padding: 15px 20px;
    text-align: center;
}

.image-3 {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Navigation critique */
#wv-nav {
    background: var(--brand);
    position: relative;
    z-index: 1000;
}

.strip {
    display: flex;
    justify-content: center;
    padding: 14px 20px;
    gap: 30px;
    flex-wrap: wrap;
}

.link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    padding: 6px 0;
    transition: opacity 0.2s;
}

/* Burger menu critique */
.burger {
    display: none;
    width: 44px;
    height: 38px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid var(--white);
    border-radius: 10px;
    background: transparent;
    padding: 6px 7px;
    z-index: 1002;
}

.burger span {
    height: 2px;
    width: 100%;
    background: var(--white);
    margin: 4.5px 0;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.2s;
}

/* Responsive critique */
@media (max-width: 991px) {
    .links-desktop {
        display: none;
    }
    
    .burger {
        display: flex;
    }
    
    .strip {
        justify-content: flex-end;
        padding: 10px 16px;
    }
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Skeleton loading pour les images */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
