:root {
    --urca-dark: #0b0e1e;
    --urca-cyan: #00d9ff;
    --urca-white: #ffffff;
    --text-dark: #1a1a1a;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--urca-dark);
    color: var(--urca-white);
    margin: 0;
    line-height: 1.6;
}

header {
    text-align: center;
    padding: 50px 20px;
    background: radial-gradient(circle at top, #1a234a, var(--urca-dark));
}

.bu-label { color: var(--urca-cyan); font-weight: 700; font-size: 1.2rem; }

/* NAVIGATION */
.tabs-container {
    position: sticky;
    top: 0;
    background: var(--urca-dark);
    padding: 15px 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-pills { display: flex; gap: 10px; }

.tab-btn {
    background: transparent;
    border: 2px solid var(--urca-cyan);
    color: var(--urca-cyan);
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.tab-btn.active, .tab-btn:hover {
    background: var(--urca-cyan);
    color: var(--urca-dark);
}

/* MISE EN PAGE */
main { max-width: 900px; margin: 30px auto; padding: 0 20px; }

article {
    background: var(--urca-white);
    color: var(--text-dark);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.quiz-card {
    background: var(--urca-white);
    color: var(--text-dark);
    padding: 30px;
    border-radius: 15px;
}

/* CENTRAGE DU BOUTON */
.centered-btn-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.urca-pill-link {
    background: var(--urca-cyan);
    color: var(--urca-dark);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.urca-pill-link:hover { transform: scale(1.05); }

/* SYSTÈME DE FLÈCHES SUR IMAGE */
.image-annotated-container {
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
}

.tutorial-img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.pointer {
    position: absolute;
    background: #e74c3c;
    color: white;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    pointer-events: none;
    animation: bounce 1s infinite alternate;
}

.pointer::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 10px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid #e74c3c;
}

@keyframes bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-8px); }
}

/* DIVERS */
.warning-box {
    background: #fff3e0;
    border-left: 5px solid #ff9800;
    padding: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.contact-section {
    margin-top: 50px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
}

#quiz-result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    display: none;
}

.submit-quiz {
    background: var(--urca-dark);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 15px;
}

footer { text-align: center; padding: 40px; opacity: 0.5; font-size: 0.8rem; }
