:root {
    --bg: #f0f6ff;
    --surface: #ffffff;
    --border: #cbd5e1;
    --text-main: #0f172a;
    --text-muted: #475569;
    --accent: #0284c7;
    --accent-gold: #d97706;
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg);
    color: var(--text-main);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Fond animé rigoureusement identique à l'accueil */
.glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at 15% 20%, rgba(2, 132, 199, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(217, 119, 6, 0.09) 0%, transparent 45%);
    animation: glowAnimation 12s ease-in-out infinite alternate;
}

@keyframes glowAnimation {
    0% {
        transform: scale(1) translate(0px, 0px);
    }

    50% {
        transform: scale(1.05) translate(-20px, 15px);
    }

    100% {
        transform: scale(1) translate(15px, -15px);
    }
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.site-header {
    padding: 2rem 0;
    width: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    padding: 1.25rem 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.03);
}

.brand-logo {
    height: 120px;
    width: auto;
    display: block;
    transition: opacity 0.2s ease;
}

.brand-logo:hover {
    opacity: 0.85;
}

.badge {
    background: rgba(2, 132, 199, 0.08);
    border: 1px solid rgba(2, 132, 199, 0.2);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Style du bandeau temporaire de notification (Flash) */
.flash-banner {
    padding: 1rem 1.5rem;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    animation: fadeInDown 0.4s ease-out;
}

.flash-success {
    background: rgba(236, 253, 245, 0.9);
    color: #047857;
    border: 1px solid rgba(167, 243, 208, 0.8);
}

.flash-danger {
    background: rgba(254, 242, 242, 0.9);
    color: #b91c1c;
    border: 1px solid rgba(254, 202, 202, 0.8);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero {
    margin: 3rem 0 4rem 0;
    text-align: left;
}

.hero-tag {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 100%;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.creations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.card {
    background-color: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.03);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 12px 25px -5px rgba(2, 132, 199, 0.1);
}

.intro-card {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.92) 0%, rgba(251, 146, 60, 0.92) 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 10px 25px -5px rgba(244, 63, 94, 0.2);
}

.intro-card p {
    color: #fef2f2;
}

.intro-card h3 {
    color: #ffffff !important;
}

.project-card {
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.92) 0%, rgba(254, 243, 199, 0.92) 100%);
    border: 1px solid #fde68a;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04);
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 0;
    font-weight: 700;
    color: var(--text-main);
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.2s ease;
}

.card-link:hover {
    gap: 0.7rem;
    color: #0369a1;
}

.site-footer {
    margin-top: auto;
    padding: 2.5rem 0;
    border-top: none;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width: 640px) {
    .brand-logo {
        height: 60px;
    }

    .nav-container {
        padding: 0.8rem 1rem;
        gap: 0.5rem;
    }

    .badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
    }
}